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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x144]
cmp eax, dword [ecx + 8]
jbe 0x53ef4d
sub esp, 0x1c4
mov eax, 0
mov dword [esp + 0x1c0], eax
mov byte [esp + 0x43], 0
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax + 0x1ac]
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 0x1a8]
mov dword [esp + 0x160], edx
mov ebx, dword [eax + 0x1b0]
mov dword [esp + 0x58], ebx
mov dword [eax + 0x330], 0
mov ebp, edx
xor esi, esi
jmp 0x53e506
mov dword [ecx + 0x330], ebx
lea edx, [ebx - 6]
shl edx, 4
mov ebx, dword [esp + 0xa0]
mov dword [ebp + edx], ebx
mov dword [ebp + edx + 4], edi
mov ebx, dword [esp + 0xa8]
mov dword [ebp + edx + 8], ebx
mov ebx, dword [esp + 0xa4]
mov dword [ebp + edx + 0xc], ebx
mov dword [ebp + edx + 0x10], eax
mov ebx, dword [esp + 0x94]
mov dword [ebp + edx + 0x14], ebx
mov edi, dword [esp + 0x90]
mov dword [ebp + edx + 0x18], edi
mov ecx, dword [esp + 0x8c]
mov dword [ebp + edx + 0x1c], ecx
mov ecx, dword [esp + 0x88]
mov dword [ebp + edx + 0x20], ecx
mov edi, dword [esp + 0x84]
mov dword [ebp + edx + 0x24], edi
mov ebx, dword [esp + 0x80]
mov dword [ebp + edx + 0x28], ebx
mov dword [ebp + edx + 0x2c], esi
mov dword [ebp + edx + 0x30], ecx
mov dword [ebp + edx + 0x34], edi
mov dword [ebp + edx + 0x38], ebx
mov dword [ebp + edx + 0x3c], esi
mov ecx, dword [esp + 0x7c]
mov dword [ebp + edx + 0x40], ecx
mov ecx, dword [esp + 0x78]
mov dword [ebp + edx + 0x44], ecx
mov ecx, dword [esp + 0x74]
mov dword [ebp + edx + 0x48], ecx
mov ecx, dword [esp + 0x70]
mov dword [ebp + edx + 0x4c], ecx
mov dword [ebp + edx + 0x50], eax
mov eax, dword [esp + 0x94]
mov dword [ebp + edx + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [ebp + edx + 0x58], eax
mov eax, dword [esp + 0x8c]
mov dword [ebp + edx + 0x5c], eax
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax]
mov edx, dword [esp + 0x1ac]
mov edx, dword [edx]
mov ebx, dword [eax + 4]
mov ecx, dword [ecx + 0x80]
mov ebp, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call ecx
mov eax, dword [esp + 0x168]
lea edx, [eax + 0x24]
mov eax, dword [esp + 0xb0]
lea esi, [eax + 1]
mov eax, dword [esp + 0x1c8]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x160]
cmp esi, ecx
jge 0x53e8e5
mov dword [esp + 0xb0], esi
mov dword [esp + 0x168], edx
lea edi, [esp + 0x19c]
mov esi, edx
call fcn.004664a6
mov eax, dword [esp + 0x1ac]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0xac], eax
mov dword [esp], ecx
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
call fcn.0044e7d0
mov eax, dword [esp + 0x1a4]
mov ecx, dword [esp + 0x1a8]
mov edx, dword [esp + 4]
mov dword [esp + 0xa4], edx
sub eax, dword [esp + 0x19c]
sub ecx, dword [esp + 0x1a0]
mov dword [esp + 0x44], ecx
mov dword [esp], eax
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
call fcn.0044e7d0
mov eax, dword [esp + 0x19c]
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x9c], edx
mov ebx, dword [esp + 0x1a8]
mov dword [esp + 0x98], ebx
mov ebp, dword [esp + 4]
mov dword [esp + 0x94], ebp
nop
mov dword [esp], eax
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0xac]
mov dword [esp], ecx
call fcn.0044e7d0
nop
mov eax, dword [esp + 4]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x9c]
mov dword [esp], ecx
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
call fcn.0044e7d0
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
lea edi, [esp + 0x11c]
xor eax, eax
call fcn.00465fe0
mov eax, dword [esp + 0x90]
mov dword [esp + 0x11c], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x120], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x124], edx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x128], ebx
mov ebp, dword [esp + 0x88]
mov dword [esp + 0x12c], ebp
mov dword [esp + 0x130], ecx
mov dword [esp], edx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0x134], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x138], eax
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x13c], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x140], ecx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 4], ebx
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0x144], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 4], ecx
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0x158], eax
mov ecx, dword [esp + 0x1c8]
mov edx, dword [ecx + 0x334]
mov ebx, dword [ecx + 0x330]
add ebx, 6
mov ebp, dword [ecx + 0x32c]
mov esi, eax
mov eax, dword [esp + 0x120]
mov edi, eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x128]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x11c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x138]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x14c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x150]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x144]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x148]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x12c]
cmp edx, ebx
jae 0x53e3df
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], edi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 6
lea eax, [0x6c2e80]
mov dword [esp + 0x10], eax
call fcn.0044be60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c8]
mov dword [ebx + 0x334], edx
mov edx, dword [0x1eaa9f0]
test edx, edx
jne 0x53e8be
mov dword [ebx + 0x32c], eax
jmp 0x53e8c9
lea edi, [ebx + 0x32c]
call fcn.00465d80
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov ebp, eax
mov ebx, ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c8]
jmp 0x53e3df
mov edx, dword [eax + 0x330]
mov ebx, dword [eax + 0x32c]
mov ebp, dword [eax + 0x334]
test edx, edx
je 0x53e9ad
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.004098b0
mov eax, dword [esp + 0xc]
lea ecx, [0x68f100]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004cc170
mov eax, dword [esp + 8]
mov dword [esp + 0x15c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x1c8]
lea ebx, [edx + 0x310]
mov ebp, dword [edx]
mov esi, dword [edx + 4]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x48], edi
mov dword [esp], ebx
mov byte [esp + 4], 0
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov byte [esp + 0x10], 2
mov dword [esp + 0x14], edi
call fcn.005437c0
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax + 0x314]
mov edx, dword [eax + 0x318]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
mov edx, dword [esp + 0x15c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xc], edx
call ecx
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x60], ecx
mov dword [esp], edx
mov edx, dword [esp + 0x1e0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x1e4]
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0x1cc]
call fcn.004664ce
mov ecx, dword [esp + 0x60]
call ecx
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax]
test byte [ecx], al
mov edx, dword [eax + 4]
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0
mov dword [esp + 0x174], 0
lea ebx, [0x53ef60]
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], edx
lea ecx, [esp + 0x16c]
mov dword [esp + 0x1c0], ecx
mov byte [esp + 0x43], 1
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x53eaf5
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x88]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov edx, dword [esp + 0x1e8]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x1ec]
mov dword [esp + 0x10], ebx
call ecx
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x24]
mov ebx, dword [eax + 0x308]
mov ebp, dword [eax + 0x30c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call ecx
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x38]
mov ebx, dword [eax + 0x314]
mov ebp, dword [eax + 0x318]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x160]
mov edx, dword [esp + 0x54]
xor ebx, ebx
jmp 0x53eeb6
mov byte [esp + 0x43], 0
mov edx, dword [esp + 0x1c0]
mov eax, dword [edx]
call eax
add esp, 0x1c4
ret
mov edx, dword [0x1e6e3e8]
mov eax, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], 0
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa4], ecx
mov ebx, dword [esp + 0x1e8]
mov dword [esp], ebx
call fcn.0044e7d0
mov dword [esp], 0x40000000
call fcn.0044e470
mov eax, dword [esp + 8]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x1ec]
mov dword [esp], ecx
call fcn.0044e7d0
mov dword [esp], 0x40000000
call fcn.0044e470
mov edx, dword [0x1e6e3e8]
mov eax, dword [edx]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xa0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa0], ecx
lea edi, [esp]
mov edx, eax
xor eax, eax
call fcn.00465fea
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x24], ecx
call fcn.004ca540
lea edi, [esp + 0x104]
lea esi, [esp + 0x28]
call fcn.004664c4
mov edx, dword [0x1e6e3e8]
mov eax, dword [edx]
mov dword [esp], 0xbf800000
mov dword [esp + 4], 0xbf800000
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa4], ecx
lea edi, [esp + 0xec]
lea esi, [esp + 0x104]
call fcn.004664c4
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.00465fea
mov eax, dword [esp + 0xec]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 4], eax
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x100]
mov dword [esp], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0xd0], eax
lea edi, [esp + 0xd4]
lea esi, [esp + 0xbc]
call fcn.004664c4
mov eax, dword [esp + 0xd4]
mov dword [esp], eax
mov dword [esp + 4], 0x3f800000
call fcn.0044e350
mov eax, dword [esp + 8]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xa4], ecx
mov ebx, dword [esp + 0xe4]
mov dword [esp], ebx
mov dword [esp + 4], 0x3f800000
call fcn.0044e350
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax + 0x320]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xe8]
mov esi, dword [esp + 0xa8]
mov dword [ecx], esi
mov dword [ecx + 4], ebx
mov ecx, dword [eax + 0x320]
mov ebx, dword [esp + 0xa4]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebp
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov ecx, dword [esp + 0x164]
mov ebx, dword [ecx + 0xc]
mov dword [esp], ebx
call fcn.0044e7d0
mov dword [esp], 0x3f800000
call fcn.0044e470
mov eax, dword [esp + 8]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x164]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0044e7d0
mov dword [esp], 0x3f800000
call fcn.0044e470
mov eax, dword [esp + 8]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x1c8]
mov ebx, dword [ecx + 0x320]
mov ebp, dword [esp + 0xb4]
mov dword [ebx + 0x10], ebp
mov dword [ebx + 0x14], eax
mov eax, dword [ecx + 0x320]
lea ebx, [0x686040]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004cc010
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax + 0x324]
mov ebx, dword [eax + 0x328]
mov ecx, dword [ecx + 0x18]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
call ecx
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [eax + 0x324]
mov esi, dword [eax + 0x328]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call ecx
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [ecx + 0x30]
mov ebp, dword [esp + 0x164]
mov esi, dword [ebp]
mov ebp, dword [ebp + 4]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x1c8]
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
mov ecx, dword [ecx + 0x48]
mov dword [esp], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x5c]
mov dword [esp + 8], ebp
call ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
lea ebx, [ecx + eax]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x160]
mov ebp, dword [esp + 0x54]
mov edx, ebp
test edx, edx
je 0x53eecf
mov dword [esp + 0x50], ebx
mov ebp, dword [ecx + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x164], ebp
xor esi, esi
jmp 0x53ef08
mov byte [esp + 0x43], 0
mov edx, dword [esp + 0x1c0]
mov eax, dword [edx]
call eax
add esp, 0x1c4
ret
dec eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 0x24
mov esi, dword [esp + 0x160]
add eax, esi
dec edx
mov esi, dword [esp + 0x5c]
add esi, 6
mov edi, ecx
mov ecx, eax
mov eax, edi
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x160], ecx
mov dword [esp + 0x5c], esi
test edx, edx
je 0x53eb0c
lea edi, [esp + 0x178]
mov esi, ecx
call fcn.004664a6
mov ecx, dword [esp + 0x188]
cmp dword [ecx], ebp
je 0x53eee6
jmp 0x53eb0c
call fcn.004649b0
jmp fcn.0053e370