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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x5379b7
sub esp, 0x84
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
call fcn.00535b90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x537984
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x94]
cmp ebx, 5
jge 0x537946
xor ebp, ebp
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x537883
mov eax, dword [esp + 0x90]
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x88]
mov dword [esp], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], edx
call fcn.004a8f20
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x88]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x6c], ebx
lea ebp, [0x5b36a0]
mov dword [esp], ebp
lea esi, [esp + 0x70]
mov dword [esp + 4], esi
call fcn.00407290
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x34], ecx
lea edx, [0x5b36a0]
mov dword [esp], edx
lea ebx, [esp + 0x68]
mov dword [esp + 4], ebx
call fcn.00407290
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
lea eax, [0x773860]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.00458770
mov eax, dword [esp + 0x40]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x5c], edx
lea edx, [0x5b36a0]
mov dword [esp], edx
lea ebx, [esp + 0x60]
mov dword [esp + 4], ebx
call fcn.00407290
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x5b36a0]
mov dword [esp], edx
lea ebx, [esp + 0x58]
mov dword [esp + 4], ebx
call fcn.00407290
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x773880]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.00458770
lea eax, [0x784d00]
mov dword [esp], eax
call fcn.00459490
lea eax, [0x784d00]
mov dword [esp + 8], eax
mov dword [esp], 4
lea eax, [0x5feae4]
mov dword [esp + 4], eax
call fcn.00425cc0
test eax, eax
jne 0x537876
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
lea edx, [0x773840]
mov dword [esp], edx
lea ebx, [0x5b36a0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x48]
mov dword [esp + 8], ebp
call fcn.00458500
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x537865
lea ebx, [0x5a7300]
cmp ecx, ebx
jne 0x53799f
mov ecx, dword [edx]
mov ebp, dword [edx + 4]
mov edx, dword [edx + 8]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x2c]
xor eax, eax
jmp 0x5376d7
inc eax
mov edx, edi
lea ebx, [0x5a7300]
cmp eax, ebp
jge 0x537743
lea ebx, [ecx + eax*8]
mov edi, edx
mov edx, dword [ebx]
mov ebx, dword [ebx + 4]
cmp ebx, esi
jne 0x5376ce
mov dword [esp + 0x30], eax
mov dword [esp], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00402140
movzx eax, byte [esp + 0xc]
test al, al
jne 0x537720
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
jmp 0x5376ce
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
nop
call fcn.00426480
add esp, 0x84
ret
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x54], ebx
lea ebx, [ebp + 1]
cmp ebx, edx
jg 0x53782b
mov eax, edx
lea edx, [ecx + ebp*8 + 4]
mov dword [edx], esi
mov edx, dword [0x784e70]
lea edi, [ecx + ebp*8]
test edx, edx
jne 0x537819
mov edx, dword [esp + 0x40]
mov dword [edi], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
lea eax, [0x5b36a0]
mov dword [esp], eax
lea eax, [esp + 0x50]
mov dword [esp + 4], eax
call fcn.00407290
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x44], ecx
lea edx, [0x5a7300]
mov dword [esp], edx
lea edx, [esp + 0x78]
mov dword [esp + 4], edx
call fcn.00407310
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
lea eax, [0x773840]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.00458770
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
nop
call fcn.00426480
add esp, 0x84
ret
mov edx, eax
mov eax, dword [esp + 0x40]
call fcn.0044b500
mov eax, edx
jmp 0x53777d
lea eax, [0x5b36a0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebx
call fcn.00437cd0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
jmp 0x53775e
lea ebx, [0x5a7300]
xor ecx, ecx
xor ebp, ebp
xor edx, edx
jmp 0x5376ba
nop
call fcn.00426480
add esp, 0x84
ret
lea ecx, [0x5b4f60]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5ec061]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.0040dc30
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x5378c5
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
jmp 0x5374cb
lea eax, [0x5b4f60]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
lea ecx, [0x5ec061]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.0040e310
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 5
mov eax, dword [0x784e70]
test eax, eax
jne 0x537939
lea eax, [0x5ebc11]
mov dword [edi], eax
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.00534770
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
jmp 0x5374cb
lea eax, [0x5ebc11]
call fcn.0044b500
jmp 0x53790a
mov eax, dword [esp + 0x90]
mov dword [esp], eax
lea ecx, [0x5ebbfd]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.00402140
movzx ebp, byte [esp + 0xc]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x94]
jmp 0x5374ba
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], ebx
nop
call fcn.00426480
add esp, 0x84
ret
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x5b3020]
mov dword [esp + 8], eax
call fcn.00406f30
ud2
call fcn.00449da0
jmp fcn.00537430