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

Disassembly:
sub esp, 0xedc
mov eax, dword [esp + 0xee4]
push ebx
mov ebx, ecx
push ebp
mov ecx, dword [eax]
mov ebp, dword [esp + 0xee8]
push esi
push edi
mov dword [esp + 0x20], ecx
push ebp
mov ecx, ebx
mov dword [esp + 0x38], 0
call fcn.0053bf30
test eax, eax
jne 0x53e3b1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xedc
ret 0xc
xor edx, edx
mov ecx, 0x4c
mov dword [esp + 0x23e], edx
lea esi, [esp + 0x1c4]
mov dword [esp + 0x242], edx
lea edi, [esp + 0x42c]
mov dword [esp + 0x246], edx
mov dword [esp + 0x428], ebp
mov byte [esp + 0x24a], dl
lea eax, [esp + 0x428]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x44]
push eax
push ecx
mov ecx, ebx
call fcn.00474ae0
mov edx, dword [eax]
xor ecx, ecx
mov dword [esp + 0x10e], ecx
mov dword [esp + 0x54], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x112], ecx
mov dword [esp + 0x116], ecx
lea esi, [esp + 0x94]
mov byte [esp + 0x11a], cl
mov ecx, 0x4c
lea edi, [esp + 0x2f8]
mov dword [esp + 0x58], eax
mov dword [esp + 0x2f4], ebp
lea edx, [esp + 0x2f4]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, ebx
call fcn.00474ae0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x108]
mov eax, dword [esp + 0xef4]
mov eax, dword [eax]
lea eax, [edx + eax - 1]
cdq
idiv dword [ecx + 0x108]
test eax, eax
jle 0x53eeda
mov ecx, dword [esp + 0xef8]
mov dword [esp + 0x10], ecx
push 0
push ebp
mov ecx, ebx
call fcn.0052bc60
mov ecx, eax
cmp ecx, 0xffffffff
je 0x53ea80
mov edx, dword [esp + 0x10]
mov eax, 0x66666667
lea esi, [esp + 0x55c]
lea edi, [esp + 0x8f4]
mov dword [edx], ecx
imul ecx
sar edx, 2
mov eax, edx
mov dword [esp + 0x8f0], ebp
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0x2c], edx
mov ecx, 0xa
cdq
idiv ecx
mov ecx, 0x4c
lea eax, [esp + 0x8f0]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], edx
xor edx, edx
mov dword [esp + 0x5da], edx
mov dword [esp + 0x5de], edx
mov dword [esp + 0x5e2], edx
mov byte [esp + 0x5e6], dl
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x78]
test ecx, ecx
jle 0x53e807
mov eax, dword [esp + 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x30]
lea eax, [eax + edx*2]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea edx, [ebx + ecx*8 + 0xe4]
mov dword [esp + 0x24], edx
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x706], eax
lea esi, [esp + 0x68c]
mov dword [esp + 0x70a], eax
lea edi, [esp + 0x7c0]
mov dword [esp + 0x70e], eax
mov dword [esp + 0x7bc], ebp
mov byte [esp + 0x712], al
lea edx, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x7bc]
mov dword [esp + 0x28], 0
push ecx
push edx
mov ecx, ebx
call fcn.00474ae0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x24], edx
call fcn.0045bbb0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x53e788
mov edx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0xbce], ecx
lea esi, [esp + 0xb54]
mov dword [esp + 0xbd2], ecx
lea edi, [esp + 0xc88]
mov dword [esp + 0xbd6], ecx
mov dword [eax - 4], ebp
mov byte [esp + 0xbda], cl
mov ecx, 0x4c
mov dword [esp + 0xc84], ebp
lea edx, [esp + 0xc84]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x7c]
push edx
push eax
mov ecx, ebx
call fcn.00474ae0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 0x108]
cmp eax, edx
jle 0x53e6e7
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0xa9e], eax
lea esi, [esp + 0xa24]
mov dword [esp + 0xaa2], eax
lea edi, [esp + 0xdbc]
mov dword [esp + 0xaa6], eax
mov dword [esp + 0xdb8], ebp
mov byte [esp + 0xaaa], al
lea edx, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xdb8]
push ecx
push edx
mov ecx, ebx
call fcn.00474ae0
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x64]
mov edx, dword [eax + 4]
lea eax, [esp + 0x68]
push eax
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x70], edx
call fcn.0045bbb0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov eax, dword [eax + 0x108]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
xor edx, edx
inc esi
mov dword [esp + 0x706], edx
mov dword [ecx], eax
add ecx, 0x88
mov dword [esp + 0x70a], edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x70e], edx
mov ecx, 0x4c
lea esi, [esp + 0x68c]
lea edi, [esp + 0x7c0]
mov byte [esp + 0x712], dl
mov dword [esp + 0x7bc], ebp
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x7bc]
lea ecx, [esp + 0x74]
push eax
push ecx
mov ecx, ebx
call fcn.00474ae0
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x18]
mov eax, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x24], eax
call fcn.0045bbb0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
mov edx, dword [eax + 0x74]
cmp ecx, edx
jl 0x53e5f2
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
xor edx, edx
add edi, 0x550
mov dword [esp + 0x5d6], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x5da], edx
inc eax
mov dword [esp + 0x5de], edx
mov ecx, 0x4c
lea esi, [esp + 0x55c]
lea edi, [esp + 0x8f4]
mov byte [esp + 0x5e2], dl
mov dword [esp + 0x8f0], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x8f0]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, ebx
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 0x78]
cmp edx, ecx
jl 0x53e55e
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
inc eax
mov edi, dword [esp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
add edi, 4
lea esi, [esp + 0x1c4]
lea eax, [eax + eax*4]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x428], ebp
lea eax, [ecx + eax*2]
xor ecx, ecx
mov edx, eax
mov dword [esp + 0x23e], ecx
shl edx, 4
add edx, eax
mov dword [esp + 0x242], ecx
mov dword [esp + 0x246], ecx
mov eax, dword [ebx + edx*8 + 0xe4]
mov byte [esp + 0x24a], cl
sub edi, eax
mov ecx, 0x4c
mov dword [esp + 0x20], edi
lea edi, [esp + 0x42c]
lea edx, [esp + 0x428]
lea eax, [esp + 0x44]
rep movsd dword es:[edi], dword [esi]
push edx
push eax
mov ecx, ebx
call fcn.00474ae0
mov ecx, dword [eax]
lea esi, [esp + 0x94]
mov dword [esp + 0x54], ecx
mov ecx, 0x4c
mov edx, dword [eax + 4]
xor eax, eax
mov dword [esp + 0x10e], eax
lea edi, [esp + 0x2f8]
mov dword [esp + 0x112], eax
mov dword [esp + 0x2f4], ebp
mov dword [esp + 0x116], eax
mov dword [esp + 0x58], edx
mov byte [esp + 0x11a], al
lea edx, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2f4]
push ecx
push edx
mov ecx, ebx
call fcn.00474ae0
mov ecx, dword [eax]
mov edx, dword [esp + 0x54]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x108]
mov edx, dword [esp + 0xef4]
mov edx, dword [edx]
lea eax, [eax + edx - 1]
cdq
idiv dword [ecx + 0x108]
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jl 0x53e494
mov eax, ecx
test eax, eax
jle 0x53eede
mov edx, dword [esp + 0xef8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
lea esi, [esp + 0x1c4]
lea edi, [esp + 0x42c]
mov dword [esp + 0x428], ebp
mov ecx, dword [eax]
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
mov dword [esp + 0x14], 0
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0x30], edx
mov ecx, 0xa
cdq
idiv ecx
mov ecx, 0x4c
lea eax, [esp + 0x428]
push eax
mov dword [esp + 0x30], edx
xor edx, edx
mov dword [esp + 0x242], edx
mov dword [esp + 0x246], edx
mov dword [esp + 0x24a], edx
mov byte [esp + 0x24e], dl
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebx
call fcn.00474ae0
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x18]
mov eax, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], eax
call fcn.0045bbb0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x78]
test ecx, ecx
mov dword [esp + 0x48], edx
jle 0x53ee97
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
mov edx, eax
shl edx, 4
add edx, eax
lea eax, [ebx + edx*8 + 0xe4]
mov dword [esp + 0x10], eax
xor ecx, ecx
lea esi, [esp + 0x94]
mov dword [esp + 0x10e], ecx
lea edi, [esp + 0x2f8]
mov dword [esp + 0x112], ecx
mov dword [esp + 0x2f4], ebp
mov dword [esp + 0x116], ecx
lea edx, [esp + 0x2f4]
mov byte [esp + 0x11a], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x5c]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x28], 0
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
test ecx, ecx
mov dword [esp + 0x48], edx
jle 0x53edf8
mov eax, dword [esp + 0x10]
jmp 0x53ed71
mov eax, dword [esp + 0xef4]
mov dword [eax], 0
mov eax, dword [esp + 0x34]
test eax, eax
jle 0x53eede
mov ecx, dword [esp + 0xef8]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
mov eax, 0x66666667
lea esi, [esp + 0x1c4]
lea edi, [esp + 0x42c]
mov ecx, dword [edx]
mov dword [esp + 0x428], ebp
imul ecx
sar edx, 2
mov eax, edx
mov dword [esp + 0x14], 0
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0x30], edx
mov ecx, 0xa
cdq
idiv ecx
mov ecx, 0x4c
lea eax, [esp + 0x428]
push eax
mov dword [esp + 0x30], edx
xor edx, edx
mov dword [esp + 0x242], edx
mov dword [esp + 0x246], edx
mov dword [esp + 0x24a], edx
mov byte [esp + 0x24e], dl
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, ebx
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x78]
test ecx, ecx
jle 0x53ed19
mov eax, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
lea eax, [eax + edx*2]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea edx, [ebx + ecx*8 + 0xe4]
mov dword [esp + 0x10], edx
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x10e], eax
lea esi, [esp + 0x94]
mov dword [esp + 0x112], eax
lea edi, [esp + 0x2f8]
mov dword [esp + 0x116], eax
mov dword [esp + 0x2f4], ebp
mov byte [esp + 0x11a], al
lea edx, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2f4]
mov dword [esp + 0x20], 0
push ecx
push edx
mov ecx, ebx
call fcn.00474ae0
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], edx
call fcn.0045bbb0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x53ec9a
mov eax, dword [esp + 0x10]
jmp 0x53ebf3
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
xor edx, edx
mov dword [esp + 0x10e], edx
inc esi
mov dword [esp + 0x112], edx
mov dword [eax - 4], 0
mov dword [eax], 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x116], edx
add eax, 0x88
mov ecx, 0x4c
lea esi, [esp + 0x94]
lea edi, [esp + 0x2f8]
mov byte [esp + 0x11a], dl
mov dword [esp + 0x2f4], ebp
mov dword [esp + 0x38], eax
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x2f4]
lea ecx, [esp + 0x5c]
push eax
push ecx
mov ecx, ebx
call fcn.00474ae0
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x18]
mov eax, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], eax
call fcn.0045bbb0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x74]
cmp ecx, edx
jl 0x53ebef
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
xor edx, edx
add edi, 0x550
mov dword [esp + 0x23e], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x242], edx
inc eax
mov dword [esp + 0x246], edx
mov ecx, 0x4c
lea esi, [esp + 0x1c4]
lea edi, [esp + 0x42c]
mov byte [esp + 0x24a], dl
mov dword [esp + 0x428], ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x428]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov ecx, ebx
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x78]
cmp edx, ecx
jl 0x53eb5d
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esp + 0xef4]
mov ecx, dword [ebx + edx*8 + 0xe4]
mov edx, dword [eax]
add edx, ecx
mov ecx, dword [esp + 0x24]
mov dword [eax], edx
mov eax, dword [esp + 0x28]
add ecx, 4
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jne 0x53eaa8
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xedc
ret 0xc
mov eax, dword [esp + 0x38]
mov dword [eax - 4], 0
mov dword [eax], 0
add eax, 0x88
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x10e], eax
mov ecx, 0x4c
mov dword [esp + 0x112], eax
lea esi, [esp + 0x94]
mov dword [esp + 0x116], eax
lea edi, [esp + 0x2f8]
mov byte [esp + 0x11a], al
mov dword [esp + 0x2f4], ebp
inc edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x2f4]
lea edx, [esp + 0x5c]
push ecx
push edx
mov ecx, ebx
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x74]
cmp ecx, edx
jl 0x53ed6d
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add edx, 0x550
inc esi
mov dword [esp + 0x10], edx
xor edx, edx
mov dword [esp + 0x23e], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x242], edx
mov ecx, 0x4c
mov dword [esp + 0x246], edx
lea esi, [esp + 0x1c4]
lea edi, [esp + 0x42c]
mov byte [esp + 0x24a], dl
mov dword [esp + 0x428], ebp
lea eax, [esp + 0x428]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov ecx, ebx
call fcn.00474ae0
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
lea edx, [esp + 0x18]
mov eax, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], eax
call fcn.0045bbb0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x78]
cmp ecx, edx
jl 0x53ea0b
mov eax, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x2c]
lea eax, [eax + edx*2]
mov ecx, eax
shl ecx, 4
add ecx, eax
mov eax, dword [esp + 0xef4]
mov edx, dword [ebx + ecx*8 + 0xe4]
mov esi, dword [eax]
mov ecx, dword [esp + 0x24]
add esi, edx
mov dword [eax], esi
mov eax, dword [esp + 0x28]
add ecx, 4
dec eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jne 0x53e936
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xedc
ret 0xc