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

Disassembly:
push 0xffffffffffffffff
push 0x613840
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
xor ebx, ebx
push 0xffffffffffffffff
mov esi, ecx
push ebx
call fcn.00598dd0
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x18]
push eax
call fcn.00480200
mov ecx, dword [0x62910c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x1c]
lea eax, [esp + 0x6c]
push edx
push 0x699498
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 1
mov dword [esp + 0x28], ebx
call fcn.004853a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 2
call fcn.00480c20
lea ecx, [esp + 0x6c]
mov byte [esp + 0x64], 1
call fcn.00480a70
push 0x69f6d0
lea ecx, [esp + 0x18]
call fcn.004800f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
call fcn.0046638c
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x14]
setne byte [esp + 0x6c]
call fcn.00480a70
cmp byte [esp + 0x6c], bl
je 0x54706d
push ebp
push edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
call fcn.0047fff0
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
push 0x699498
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 3
call fcn.004853a0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 4
call fcn.00480c20
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 3
call fcn.00480a70
lea ecx, [esp + 0x10]
call fcn.00484940
lea ecx, [esp + 0x10]
call fcn.00484640
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x547023
push 0x2f
lea ecx, [esp + 0x14]
call fcn.00481bd0
cmp eax, 0xffffffff
je 0x546dd6
mov ecx, dword [0x62910c]
mov dword [esp + 0x3c], ecx
push 0x69dc58
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 5
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00480d50
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
mov byte [esp + 0x70], 6
call fcn.005ece05
mov eax, dword [eax]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
push edx
push eax
mov byte [esp + 0x78], 7
call fcn.004d79d0
add esp, 0xc
lea ecx, [esp + 0x2c]
mov edi, eax
mov byte [esp + 0x6c], 6
call fcn.005ecd91
cmp edi, ebx
je 0x546dc8
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
ja 0x546dc8
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x40]
call fcn.00480c20
mov edi, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea edx, [edi + 1]
push edx
call fcn.00598dd0
mov edx, dword [esi + 4]
lea ecx, [edi + edi*2]
lea eax, [esp + 0x34]
push eax
lea ecx, [edx + ecx*4]
call fcn.0059c700
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x3c]
jmp 0x54701e
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 3
call fcn.00480a70
push 0x2d
lea ecx, [esp + 0x14]
call fcn.00481bd0
mov ebp, eax
cmp ebp, ebx
jl 0x546f17
lea eax, [esp + 0x14]
push ebp
push eax
lea ecx, [esp + 0x18]
call fcn.00483240
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 8
call fcn.00484940
lea ecx, [esp + 0x14]
call fcn.00484640
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004d7810
mov edx, dword [esp + 0x14]
mov edi, eax
add esp, 4
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, ebp
dec eax
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00483030
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 9
call fcn.00480c20
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 8
call fcn.00480a70
lea ecx, [esp + 0x14]
call fcn.00484940
lea ecx, [esp + 0x14]
call fcn.00484640
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004d7810
mov ebp, eax
add esp, 4
cmp edi, ebp
ja 0x546f09
mov edx, dword [0x62910c]
mov dword [esp + 0x48], edx
push 0x69dc58
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 0xa
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
call fcn.00480d50
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0xb
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebp
call fcn.00480790
mov edi, dword [esi + 8]
push 0xffffffffffffffff
mov ecx, esi
lea eax, [edi + 1]
push eax
call fcn.00598dd0
mov edx, dword [esi + 4]
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x48]
mov dword [eax + 4], edx
push ecx
lea ecx, [eax + 8]
call fcn.00480c20
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 8
call fcn.00480a70
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x14]
jmp 0x54701e
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 3
call fcn.00480a70
mov edx, dword [esp + 0x10]
push edx
call fcn.004d7810
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x546fa2
mov eax, dword [0x62910c]
mov dword [esp + 0x54], eax
push 0x69dc58
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 0xc
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call fcn.00480d50
lea ecx, [esp + 0x54]
mov byte [esp + 0x6c], 0xd
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call fcn.00480790
mov edi, dword [esi + 8]
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.00598dd0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x4c]
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [eax], ecx
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x54]
mov dword [eax + 4], edx
push ecx
lea ecx, [eax + 8]
call fcn.00480c20
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x54]
jmp 0x54701e
mov edx, dword [0x62910c]
mov dword [esp + 0x60], edx
push 0x69dc58
lea ecx, [esp + 0x64]
mov byte [esp + 0x70], 0xe
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00480d50
lea eax, [esp + 0x10]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0x70], 0xf
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.00480c20
mov edi, dword [esi + 8]
push 0xffffffffffffffff
lea ecx, [edi + 1]
push ecx
mov ecx, esi
call fcn.00598dd0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x58]
lea edx, [edi + edi*2]
lea eax, [eax + edx*4]
mov dword [eax], ecx
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x60]
mov dword [eax + 4], edx
push ecx
lea ecx, [eax + 8]
call fcn.00480c20
mov byte [esp + 0x6c], 3
lea ecx, [esp + 0x60]
call fcn.00480a70
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 1
call fcn.00480a70
push 0x69f6d0
lea ecx, [esp + 0x20]
call fcn.004800f0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.0046638c
add esp, 8
cmp eax, ebx
lea ecx, [esp + 0x1c]
setne byte [esp + 0x74]
call fcn.00480a70
cmp byte [esp + 0x74], bl
jne 0x546c9c
pop edi
pop ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], bl
call fcn.00480a70
lea ecx, [esp + 0x18]
mov dword [esp + 0x64], 0xffffffff
call fcn.00480a70
mov ecx, dword [esp + 0x5c]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 4