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

Disassembly:
push 0xffffffffffffffff
push 0x497a2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0xbc]
call 0x594594
lea eax, [esp + 0x1b0]
xor ebp, ebp
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x284], ebp
call 0x594145
mov ecx, esi
call fcn.0053cd00
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x4c], edi
je 0x53e72d
mov ecx, edi
call fcn.00539f70
test eax, eax
je 0x53e72d
mov ecx, edi
call fcn.00539fb0
test eax, eax
je 0x53e72d
cmp dword [esi + 0x44c], ebp
je 0x53d1ac
mov ecx, esi
call fcn.0053e860
push ebx
mov ecx, esi
call fcn.0053cc90
push ebp
mov ecx, esi
mov dword [esp + 0x190], eax
call fcn.0053cca0
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0xc0]
push edx
push eax
call fcn.0054de20
add esp, 0xc
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x1ac]
call fcn.0053c760
mov eax, dword [esp + 0x1b8]
mov ecx, dword [esp + 0x1bc]
mov edx, dword [esp + 0x1b4]
mov edi, dword [fcn.0049b06c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x74]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x1c0]
push 2
push eax
push ecx
mov byte [esp + 0x290], 2
mov dword [esp + 0x8c], edx
call edi
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x98]
push edx
push eax
call dword [fcn.0049b524]
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x98]
push 2
push ecx
push edx
call edi
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x118], eax
mov dword [esp + 0x128], eax
lea eax, [esp + 0xb4]
mov dword [esp + 0x11c], ecx
mov dword [esp + 0x12c], ecx
push eax
mov ecx, esi
mov dword [esp + 0x124], edx
mov dword [esp + 0x128], edi
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], edi
call fcn.0053e7b0
mov edi, dword [eax]
mov ecx, dword [esp + 0x98]
add ecx, edi
lea edx, [esp + 0x98]
mov ebx, dword [eax + 4]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x98], ecx
add eax, ebx
lea ecx, [esp + 0x74]
mov dword [esp + 0x9c], eax
push ecx
lea eax, [esp + 0x9c]
push edx
push eax
call dword [fcn.0049b4b8]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x14]
push 2
push edx
push eax
mov dword [esp + 0x2c], ecx
call dword [fcn.0049b068]
mov dword [esp + 0x14c], ebp
mov dword [esp + 0x148], 0x4aa514
lea ecx, [esp + 0x14]
mov byte [esp + 0x284], 3
push ecx
call dword [0x49b090]
push eax
lea ecx, [esp + 0x14c]
call 0x5946d4
mov eax, dword [esp + 0x118]
lea edx, [esp + 0x74]
add eax, edi
push edx
mov dword [esp + 0x11c], eax
lea eax, [esp + 0x11c]
lea ecx, [esp + 0x11c]
push eax
push ecx
call dword [fcn.0049b4b8]
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x118]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0xc4]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x124]
push 2
push eax
push ecx
mov dword [esp + 0x2c], edx
call dword [fcn.0049b068]
mov dword [esp + 0x154], ebp
mov dword [esp + 0x150], 0x4aa514
mov edi, dword [0x49b090]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x288], 4
call edi
push eax
lea ecx, [esp + 0x154]
call 0x5946d4
mov edx, dword [esp + 0x12c]
lea eax, [esp + 0x74]
add edx, ebx
lea ecx, [esp + 0x128]
mov dword [esp + 0x12c], edx
push eax
lea edx, [esp + 0x12c]
push ecx
push edx
call dword [fcn.0049b4b8]
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x130]
mov eax, dword [esp + 0x128]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x134]
push 2
push ecx
push edx
mov dword [esp + 0x2c], eax
call dword [fcn.0049b068]
mov dword [esp + 0x160], ebp
mov ebx, 0x4aa514
mov dword [esp + 0x15c], ebx
lea eax, [esp + 0x14]
mov byte [esp + 0x284], 5
push eax
call edi
push eax
lea ecx, [esp + 0x160]
call 0x5946d4
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebx
lea ecx, [esp + 0x1b4]
mov byte [esp + 0x284], 7
push ecx
call edi
push eax
lea ecx, [esp + 0x6c]
call 0x5946d4
mov edx, dword [esp + 0xc4]
mov edi, dword [0x49b070]
push 6
push edx
call edi
push eax
call 0x5946bf
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0xc4]
push 1
push eax
call edi
push eax
call 0x5946bf
mov ecx, dword [esp + 0xc4]
push 2
push ecx
mov dword [esp + 0x19c], eax
call edi
push eax
call 0x5946bf
push 1
lea ecx, [esp + 0xc0]
mov dword [esp + 0x1b4], eax
call 0x593e04
mov eax, dword [esi + 0x44]
mov edi, dword [esp + 0x50]
shr eax, 1
and eax, 1
mov ecx, edi
mov dword [esp + 0x144], eax
call fcn.00539f70
mov ecx, edi
mov dword [esp + 0x64], eax
call fcn.0053a030
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x58], ebx
call fcn.00539fb0
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.0053a040
mov edi, eax
push 1
mov ecx, esi
mov dword [esp + 0x3c], edi
call 0x590bf3
add eax, ebx
push ebp
mov ecx, esi
mov dword [esp + 0x2c], eax
call 0x590bf3
lea edx, [esp + 0xb4]
add eax, edi
push edx
mov ecx, esi
mov dword [esp + 0x14], eax
call fcn.0053c950
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x94], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x90], 0x4a5730
lea eax, [esp + 0x90]
mov ecx, esi
push eax
mov byte [esp + 0x288], 8
call fcn.0053cd50
push 0xf
call dword [fcn.0049b4e0]
push eax
lea ecx, [esp + 0x178]
call 0x594791
push 0xffffff
push ebp
push ebp
lea ecx, [esp + 0x144]
mov byte [esp + 0x290], 9
call 0x594741
push 0x808080
push ebp
push ebp
lea ecx, [esp + 0x11c]
mov byte [esp + 0x290], 0xa
call 0x594741
push ebp
push ebp
push ebp
lea ecx, [esp + 0x1d0]
mov byte [esp + 0x290], 0xb
call 0x594741
mov eax, 5
mov dword [esp + 0x164], ebp
mov dword [esp + 0x16c], ebp
mov dword [esp + 0x168], ebp
mov dword [esp + 0x170], eax
mov dword [esp + 0x17c], ebp
mov dword [esp + 0x184], ebp
mov dword [esp + 0x180], ebp
mov dword [esp + 0x188], eax
lea ecx, [esp + 0x1ec]
mov byte [esp + 0x284], 0xe
call fcn.0053bcd0
mov ecx, dword [0x4c5f80]
mov dword [esp + 0xb0], ecx
mov byte [esp + 0x284], 0x10
mov dword [esp + 0x54], 1
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0xb0]
push eax
call 0x594791
cmp eax, ebp
jne 0x53e745
xor eax, eax
jmp 0x53e748
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xbc]
lea ecx, [esp + 0x1b0]
push eax
push ecx
push edx
call dword [0x49b4f8]
mov dword [esp + 0xb0], 0x4a9720
lea ecx, [esp + 0xb0]
mov byte [esp + 0x280], 1
call 0x59472b