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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x537904
sub esp, 0x60
mov eax, dword [esp + 0x80]
test eax, eax
jne 0x5376b7
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x5375ab
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x78]
test edx, edx
je 0x537574
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x64]
mov ebx, dword [ecx + 0x140]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x537562
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.00525510
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
jne 0x537550
mov eax, dword [esp + 0x64]
mov byte [eax + 0x148], 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00457a40
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x537430
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.005371d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call fcn.005371d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00525460
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.00457b20
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x5374de
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.005371d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x64]
mov dword [esp], edx
call fcn.005371d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00525460
jmp 0x537416
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.005371d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x40], ecx
lea edx, [0x787be0]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
call fcn.00407910
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.00525460
jmp 0x537416
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], edx
add esp, 0x60
ret
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call fcn.00525350
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x537599
mov eax, dword [esp + 0x64]
xor ebx, ebx
xor edx, edx
jmp 0x537365
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x140]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x5376a5
test ebx, ebx
jne 0x5375ea
mov eax, ebx
mov ecx, edx
jmp 0x5372c8
mov dword [esp + 0x48], edx
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00457960
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x53761f
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
jmp 0x5375e1
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], ecx
lea eax, [0x790600]
mov dword [esp], eax
call fcn.00409cb0
mov edi, dword [esp + 4]
mov dword [edi + 4], 4
mov eax, dword [0xadb480]
test eax, eax
jne 0x537698
lea ecx, [0x7d4716]
mov dword [edi], ecx
mov ecx, dword [esp + 0x34]
mov dword [edi + 8], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x537682
mov eax, dword [esp + 0x4c]
mov dword [edi + 0xc], eax
lea eax, [0x843f30]
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], edi
add esp, 0x60
ret
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x4c]
call fcn.0044c870
mov edi, edx
jmp 0x53766a
lea eax, [0x7d4716]
call fcn.0044c870
jmp 0x537652
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
lea eax, [0x7860a0]
mov dword [esp], eax
call fcn.00409cb0
mov edi, dword [esp + 4]
mov eax, dword [0xadb480]
test eax, eax
jne 0x5378ef
mov eax, dword [esp + 0x64]
mov dword [edi], eax
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x5378c6
mov ebx, dword [esp + 0x70]
test ebx, ebx
jne 0x53789d
xor edx, edx
xor ebp, ebp
mov esi, dword [eax + 0x14c]
mov ecx, dword [eax + 0x150]
cmp ecx, 4
jne 0x53776e
mov ebx, dword [esi]
cmp ebx, 0x78696e75
jne 0x53776e
mov ecx, dword [eax + 0x150]
mov ebx, dword [eax + 0x14c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
lea eax, [0x845cf0]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x80]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5372b8
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x60
ret
cmp ecx, 8
jne 0x537788
mov ebx, dword [esi]
cmp ebx, 0x78696e75
jne 0x537788
mov ebx, dword [esi + 4]
cmp ebx, 0x6d617267
je 0x537718
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], ebp
cmp ecx, 0xa
je 0x537854
mov ecx, dword [eax + 0x150]
mov ebx, dword [eax + 0x14c]
lea esi, [ecx - 1]
cmp esi, ecx
jae 0x5378fd
movzx esi, byte [ecx + ebx - 1]
xchg esi, eax
cmp al, 0x34
xchg esi, eax
je 0x537724
xchg esi, eax
cmp al, 0x36
xchg esi, eax
je 0x537724
mov esi, dword [eax + 0x140]
cmp esi, 2
jne 0x537815
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp], 0
lea eax, [0x7d415c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043bcb0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x537724
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp], 0
lea eax, [0x7d415e]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0043bcb0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x537724
mov dword [esp], esi
lea eax, [0x7d6821]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.004021f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x537888
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x537718
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x537799
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
call eax
mov edx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x58]
jmp 0x5376fd
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call eax
mov edx, dword [esp + 8]
mov ebp, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x58]
jmp 0x5376fd
mov eax, dword [esp + 0x64]
call fcn.0044c870
jmp 0x5376dd
call fcn.00426430
ud2
call fcn.0044b110
jmp fcn.00537290