Function at 0x415d30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x549b81
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5a5084]
xor eax, esp
push eax
lea eax, [esp + 0x204]
mov dword fs:[0], eax
mov eax, dword [esp + 0x218]
push eax
mov ebx, 0x58c55c
lea eax, [esp + 0x54]
call fcn.004401a0
mov eax, dword [eax + 8]
test eax, eax
je 0x415d91
mov ecx, dword [eax + 0xc]
cmp ecx, 9
jne 0x415d87
mov eax, dword [eax + 0x18]
jmp 0x415d93
cmp ecx, 2
jne 0x415d91
mov eax, dword [eax + 0x18]
jmp 0x415d93
xor eax, eax
xor ebp, ebp
test eax, eax
mov dword [esp + 0x1c], eax
jle 0x4165bb
mov edi, vtable.BkJsonEx::Handle.0
lea esi, [esp + 0x20]
call fcn.00413ef0
mov ecx, dword [esp + 0x218]
push ecx
mov ebx, 0x58c55c
lea eax, [esp + 0x1f8]
mov dword [esp + 0x210], 0
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0x198]
mov byte [esp + 0x210], 1
call fcn.00440290
push eax
mov ebx, str.itemid
lea eax, [esp + 0x18c]
mov byte [esp + 0x210], 2
call fcn.004401a0
mov ecx, dword [eax + 8]
xor ebx, ebx
cmp ecx, ebx
je 0x415e33
cmp dword [ecx + 0xc], 6
jne 0x415e1f
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x18], edx
jmp 0x415e39
cmp ecx, ebx
je 0x415e33
cmp dword [ecx + 0xc], 5
jne 0x415e33
mov eax, dword [ecx + 0x14]
cdq
mov dword [esp + 0x18], edx
jmp 0x415e39
xor eax, eax
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x218]
mov byte [esp + 0x20c], bl
mov dword [esp + 0x20], eax
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0x144]
mov dword [esp + 0x18c], edi
mov dword [esp + 0x198], edi
mov dword [esp + 0x1f8], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0x84]
mov byte [esp + 0x210], 3
call fcn.00440290
push eax
mov ebx, str.softid
lea eax, [esp + 0x1ec]
mov byte [esp + 0x210], 4
call fcn.004401a0
mov ecx, dword [eax + 8]
xor ebx, ebx
cmp ecx, ebx
je 0x415ed2
cmp dword [ecx + 0xc], 6
jne 0x415ebe
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x18], ecx
jmp 0x415ed8
cmp ecx, ebx
je 0x415ed2
cmp dword [ecx + 0xc], 5
jne 0x415ed2
mov eax, dword [ecx + 0x14]
cdq
mov dword [esp + 0x18], edx
jmp 0x415ed8
xor eax, eax
mov dword [esp + 0x18], ebx
mov byte [esp + 0x20c], bl
mov dword [esp + 0x24], eax
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0xb4]
mov dword [esp + 0x1ec], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x144], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0x1a4]
mov byte [esp + 0x210], 5
call fcn.00440290
push eax
mov ebx, str.name
lea eax, [esp + 0x9c]
mov byte [esp + 0x210], 6
call fcn.004401a0
mov byte [esp + 0x20c], 7
mov eax, dword [eax + 8]
test eax, eax
je 0x415f5b
cmp dword [eax + 0xc], 4
jne 0x415f5b
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x415f61
xor eax, eax
jmp 0x415f75
xor ecx, ecx
xor eax, eax
jmp 0x415f75
mov eax, ecx
lea ebx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x415f66
sub eax, ebx
sar eax, 1
mov ebx, eax
push ecx
lea eax, [esp + 0x30]
call fcn.00412c00
mov byte [esp + 0x20c], 0
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0x1d4]
mov dword [esp + 0x9c], edi
mov dword [esp + 0x1a4], edi
mov dword [esp + 0xb4], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0xcc]
mov byte [esp + 0x210], 8
call fcn.00440290
push eax
mov ebx, str.details
lea eax, [esp + 0x15c]
mov byte [esp + 0x210], 9
call fcn.004401a0
mov byte [esp + 0x20c], 0xa
mov eax, dword [eax + 8]
test eax, eax
je 0x416001
cmp dword [eax + 0xc], 4
jne 0x416001
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x416007
xor ecx, ecx
jmp 0x41601f
xor eax, eax
xor ecx, ecx
jmp 0x41601f
mov ecx, eax
lea ebx, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x416010
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x34]
call fcn.00412c00
mov byte [esp + 0x20c], 0
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0xfc]
mov dword [esp + 0x15c], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0x1d4], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0x174]
mov byte [esp + 0x210], 0xb
call fcn.00440290
push eax
mov ebx, 0x58c714
lea eax, [esp + 0xe4]
mov byte [esp + 0x210], 0xc
call fcn.004401a0
mov byte [esp + 0x20c], 0xd
mov eax, dword [eax + 8]
test eax, eax
je 0x4160ab
cmp dword [eax + 0xc], 4
jne 0x4160ab
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4160b1
xor ecx, ecx
jmp 0x4160c5
xor eax, eax
xor ecx, ecx
jmp 0x4160c5
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4160b6
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x38]
call fcn.00412c00
mov byte [esp + 0x20c], 0
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0x60]
mov dword [esp + 0xe4], edi
mov dword [esp + 0x174], edi
mov dword [esp + 0xfc], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0x114]
mov byte [esp + 0x210], 0xe
call fcn.00440290
push eax
mov ebx, str.icon_md5
lea eax, [esp + 0x1bc]
mov byte [esp + 0x210], 0xf
call fcn.004401a0
mov byte [esp + 0x20c], 0x10
mov eax, dword [eax + 8]
test eax, eax
je 0x41614e
cmp dword [eax + 0xc], 4
jne 0x41614e
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x416154
xor ecx, ecx
jmp 0x41616f
xor eax, eax
xor ecx, ecx
jmp 0x41616f
mov ecx, eax
lea ebx, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x416160
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x3c]
call fcn.00412c00
mov byte [esp + 0x20c], 0
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0x78]
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x114], edi
mov dword [esp + 0x60], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0x6c]
mov byte [esp + 0x210], 0x11
call fcn.00440290
push eax
mov ebx, str.installcmd
lea eax, [esp + 0x12c]
mov byte [esp + 0x210], 0x12
call fcn.004401a0
mov byte [esp + 0x20c], 0x13
mov eax, dword [eax + 8]
test eax, eax
je 0x4161f2
cmp dword [eax + 0xc], 4
jne 0x4161f2
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4161f8
xor ecx, ecx
jmp 0x41620f
xor eax, eax
xor ecx, ecx
jmp 0x41620f
mov ecx, eax
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x416200
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x44]
call fcn.00412c00
mov byte [esp + 0x20c], 0
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0xc0]
mov dword [esp + 0x12c], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0xa8]
mov byte [esp + 0x210], 0x14
call fcn.00440290
push eax
mov ebx, str.runfilename
lea eax, [esp + 0x90]
mov byte [esp + 0x210], 0x15
call fcn.004401a0
mov byte [esp + 0x20c], 0x16
mov eax, dword [eax + 8]
test eax, eax
je 0x416295
cmp dword [eax + 0xc], 4
jne 0x416295
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x41629b
xor ecx, ecx
jmp 0x4162af
xor eax, eax
xor ecx, ecx
jmp 0x4162af
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4162a0
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x48]
call fcn.00412c00
mov byte [esp + 0x20c], 0
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0x108]
mov dword [esp + 0x90], edi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xc0], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0xf0]
mov byte [esp + 0x210], 0x17
call fcn.00440290
push eax
mov ebx, str.runcmd
lea eax, [esp + 0xd8]
mov byte [esp + 0x210], 0x18
call fcn.004401a0
mov byte [esp + 0x20c], 0x19
mov eax, dword [eax + 8]
test eax, eax
je 0x41633b
cmp dword [eax + 0xc], 4
jne 0x41633b
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x416341
xor ecx, ecx
jmp 0x416355
xor eax, eax
xor ecx, ecx
jmp 0x416355
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x416346
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x4c]
call fcn.00412c00
mov byte [esp + 0x20c], 0
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0x150]
mov dword [esp + 0xd8], edi
mov dword [esp + 0xf0], edi
mov dword [esp + 0x108], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0x138]
mov byte [esp + 0x210], 0x1a
call fcn.00440290
push eax
mov ebx, str.downloadfilename
lea eax, [esp + 0x120]
mov byte [esp + 0x210], 0x1b
call fcn.004401a0
mov byte [esp + 0x20c], 0x1c
mov eax, dword [eax + 8]
test eax, eax
je 0x4163e1
cmp dword [eax + 0xc], 4
jne 0x4163e1
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4163e7
xor ecx, ecx
jmp 0x4163ff
xor eax, eax
xor ecx, ecx
jmp 0x4163ff
mov ecx, eax
lea ebx, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4163f0
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x40]
call fcn.00412c00
mov byte [esp + 0x20c], 0
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0x54]
mov dword [esp + 0x120], edi
mov dword [esp + 0x138], edi
mov dword [esp + 0x150], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0x180]
mov byte [esp + 0x210], 0x1d
call fcn.00440290
push eax
mov ebx, 0x58c734
lea eax, [esp + 0x168]
mov byte [esp + 0x210], 0x1e
call fcn.004401a0
mov byte [esp + 0x20c], 0x1f
mov eax, dword [eax + 8]
test eax, eax
je 0x416488
cmp dword [eax + 0xc], 4
jne 0x416488
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x41648e
xor ecx, ecx
jmp 0x4164a2
xor eax, eax
xor ecx, ecx
jmp 0x4164a2
mov ecx, eax
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x416493
sub ecx, ebx
sar ecx, 1
push eax
mov ebx, ecx
lea eax, [esp + 0x2c]
call fcn.00412c00
mov byte [esp + 0x20c], 0
push esi
mov ebx, 0x58c55c
lea eax, [esp + 0x1e0]
mov dword [esp + 0x168], edi
mov dword [esp + 0x180], edi
mov dword [esp + 0x54], edi
call fcn.004401a0
mov ebx, eax
push ebp
lea eax, [esp + 0x1c8]
mov byte [esp + 0x210], 0x20
call fcn.00440290
push eax
mov ebx, 0x58c73c
lea eax, [esp + 0x1b0]
mov byte [esp + 0x210], 0x21
call fcn.004401a0
mov ecx, dword [eax + 8]
xor ebx, ebx
cmp ecx, ebx
je 0x41653a
cmp dword [ecx + 0xc], 6
jne 0x416526
mov edx, dword [ecx + 0x1c]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x18], edx
jmp 0x416540
cmp ecx, ebx
je 0x41653a
cmp dword [ecx + 0xc], 5
jne 0x41653a
mov eax, dword [ecx + 0x14]
cdq
mov dword [esp + 0x18], edx
jmp 0x416540
xor eax, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x4c], eax
mov byte [esp + 0x20c], bl
mov eax, dword [esp + 0x28]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x1c8], edi
mov dword [esp + 0x1e0], edi
mov dword [esp + 0x18], esp
mov esi, esp
call fcn.00412ca0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x218]
push eax
call fcn.00416a50
cmp eax, ebx
je 0x41659a
mov esi, dword [esp + 0x21c]
lea ecx, [esp + 0x20]
push ecx
call fcn.00416ce0
lea eax, [esp + 0x20]
mov dword [esp + 0x20c], 0xffffffff
call fcn.00413fd0
add ebp, 1
cmp ebp, dword [esp + 0x1c]
jl 0x415da6
mov eax, 1
mov ecx, dword [esp + 0x204]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1fc
ret 0xc