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

Disassembly:
mov eax, 0x1aec
call fcn.006143b0
mov eax, dword [esp + 0x1af4]
push ebx
push ebp
mov ebp, dword [esp + 0x1af8]
push esi
mov esi, dword [eax]
push edi
mov ebx, ecx
xor edi, edi
push ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], edi
call fcn.0053bf30
test eax, eax
jne 0x52c249
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1aec
ret 0x14
cmp esi, edi
jle 0x52c9c1
mov ecx, dword [esp + 0x1b08]
mov dword [esp + 0x30], ecx
jmp 0x52c260
xor edi, edi
push 1
push ebp
mov ecx, ebx
call fcn.0052bec0
mov ecx, eax
cmp ecx, 0xffffffff
je 0x52c9b4
mov edx, dword [esp + 0x30]
mov eax, 0x66666667
mov dword [esp + 0x20], edi
lea esi, [esp + 0x1e0]
mov dword [edx], ecx
imul ecx
sar edx, 2
mov eax, edx
lea edi, [esp + 0x314]
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov dword [esp + 0x18], edx
mov ecx, 0xa
cdq
idiv ecx
mov ecx, 0x4c
mov dword [esp + 0x310], ebp
lea eax, [esp + 0x310]
push eax
mov dword [esp + 0x20], edx
xor edx, edx
mov dword [esp + 0x25e], edx
mov dword [esp + 0x262], edx
mov dword [esp + 0x266], edx
mov byte [esp + 0x26a], dl
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x5c]
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 0x52c961
mov eax, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
lea eax, [eax + edx*2]
mov dword [esp + 0x54], eax
mov dword [esp + 0x2c], eax
xor ecx, ecx
lea esi, [esp + 0xb0]
mov dword [esp + 0x12a], ecx
lea edi, [esp + 0x448]
mov dword [esp + 0x12e], ecx
mov dword [esp + 0x444], ebp
mov dword [esp + 0x132], ecx
lea edx, [esp + 0x444]
mov byte [esp + 0x136], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x60]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x1c], 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 + 0x38], edx
jle 0x52c8e5
mov eax, dword [esp + 0x54]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea edx, [ebx + ecx*8]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0xe0], ebp
jne 0x52c635
xor ecx, ecx
lea esi, [esp + 0x908]
mov dword [esp + 0x982], ecx
lea edi, [esp + 0x102c]
mov dword [esp + 0x986], ecx
mov dword [esp + 0x1028], ebp
mov dword [esp + 0x98a], ecx
lea edx, [esp + 0x1028]
mov byte [esp + 0x98e], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x80]
push edx
push eax
mov ecx, ebx
call fcn.00474ae0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14]
add eax, edx
mov esi, dword [ecx + 0x108]
mov edx, eax
mov dword [esp + 0x34], eax
shl edx, 4
add edx, eax
mov eax, dword [ebx + edx*8 + 0xe4]
lea ebx, [ebx + edx*8]
mov edx, dword [esp + 0x24]
add eax, edx
cmp eax, esi
jle 0x52c591
xor ecx, ecx
lea esi, [esp + 0xc98]
mov dword [esp + 0xd12], ecx
lea edi, [esp + 0x1630]
mov dword [esp + 0xd16], ecx
mov dword [esp + 0x162c], ebp
mov dword [esp + 0xd1a], ecx
lea edx, [esp + 0x162c]
mov byte [esp + 0xd1e], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push edx
push eax
call fcn.00474ae0
mov ecx, eax
lea esi, [esp + 0xef8]
lea edi, [esp + 0x13c8]
mov dword [esp + 0x13c4], ebp
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + 0x108]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 0xe4]
mov ecx, 0x4c
sub eax, edx
xor edx, edx
mov dword [esp + 0xf72], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xf76], edx
lea eax, [esp + 0x13c4]
mov dword [esp + 0xf7a], edx
push eax
mov byte [esp + 0xf82], dl
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00474ae0
mov edx, eax
lea esi, [esp + 0xb68]
lea edi, [esp + 0x1898]
mov dword [esp + 0x1894], ebp
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0x108]
mov eax, dword [esp + 0x18]
mov dword [ebx + 0xe4], edx
xor edx, edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xbe2], edx
mov dword [ebx + 0xe0], ebp
mov dword [esp + 0xbe6], edx
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], ecx
mov dword [esp + 0xbea], edx
mov ecx, 0x4c
mov byte [esp + 0xbee], dl
lea eax, [esp + 0x1894]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x98]
push eax
push ecx
mov ecx, edi
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
jmp 0x52c615
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
xor edx, edx
mov dword [ebx + 0xe4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5f2], edx
mov dword [ebx + 0xe0], ebp
mov dword [esp + 0x5f6], edx
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], ecx
mov dword [esp + 0x5fa], edx
mov ecx, 0x4c
lea esi, [esp + 0x578]
lea edi, [esp + 0x1160]
mov byte [esp + 0x5fe], dl
mov dword [esp + 0x115c], ebp
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x115c]
lea ecx, [esp + 0x90]
push eax
push ecx
mov ecx, edi
call fcn.00474ae0
mov edx, eax
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x48], ecx
mov esi, dword [esp + 0x1b0c]
mov edx, dword [eax + 0xf0]
test esi, esi
mov dword [ebx + 0xf4], edx
jne 0x52c844
jmp 0x52c82a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
add eax, ecx
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov dword [esp + 0x34], eax
shl edx, 4
add edx, eax
mov eax, dword [esp + 0x18]
lea esi, [esp + 0xdc8]
lea edi, [esp + 0x1294]
lea ebx, [ebx + edx*8]
xor edx, edx
mov dword [esp + 0xe42], edx
mov dword [esp + 0x1290], ebp
mov dword [ebx + 0xe0], ebp
mov dword [esp + 0xe46], edx
mov dword [ebx + 0xe8], eax
mov dword [ebx + 0xec], ecx
mov dword [esp + 0xe4a], edx
mov ecx, 0x4c
mov byte [esp + 0xe4e], dl
lea eax, [esp + 0x1290]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xa8]
push eax
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00474ae0
mov edx, eax
lea esi, [esp + 0x6a8]
lea edi, [esp + 0x14fc]
mov dword [esp + 0x14f8], ebp
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0xf0]
xor eax, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x722], eax
mov ecx, 0x4c
mov dword [esp + 0x726], eax
mov dword [ebx + 0xf4], edx
mov dword [esp + 0x72a], eax
lea edx, [esp + 0x70]
mov byte [esp + 0x72e], al
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14f8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x108]
cmp ecx, edx
jle 0x52c7a3
xor eax, eax
mov ecx, 0x4c
mov dword [esp + 0x852], eax
lea esi, [esp + 0x7d8]
mov dword [esp + 0x856], eax
lea edi, [esp + 0x1764]
mov dword [esp + 0x85a], eax
mov dword [esp + 0x1760], ebp
mov byte [esp + 0x85e], al
lea edx, [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1760]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x108]
mov dword [esp + 0x48], edx
mov dword [ebx + 0xe4], eax
jmp 0x52c7a9
mov dword [ebx + 0xe4], ecx
mov ecx, dword [ebx + 0xe4]
xor edx, edx
mov dword [esp + 0xab2], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xab6], edx
mov ecx, 0x4c
mov dword [esp + 0xaba], edx
lea esi, [esp + 0xa38]
lea edi, [esp + 0x19cc]
mov byte [esp + 0xabe], dl
mov dword [esp + 0x19c8], ebp
lea eax, [esp + 0x19c8]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, edi
call fcn.00474ae0
mov esi, dword [esp + 0x1b0c]
mov edx, eax
test esi, esi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0xf0]
mov dword [esp + 0x48], ecx
mov dword [ebx + 0xf4], edx
jne 0x52c844
mov eax, dword [esp + 0x34]
push 0
add ebx, 0x108
push 0
push ebx
push eax
push ebp
mov ecx, edi
call fcn.00543bf0
jmp 0x52c872
mov edx, dword [esp + 0x18]
add ebx, 0x108
mov ecx, 0x12
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
movsb byte es:[edi], byte [esi]
lea eax, [ecx + edx]
mov ecx, dword [esp + 0x14]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2]
mov eax, dword [esp + 0x1c]
add edx, eax
mov word [ebx], dx
xor eax, eax
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x12a], eax
mov ecx, 0x4c
mov dword [esp + 0x12e], eax
lea esi, [esp + 0xb0]
mov dword [esp + 0x132], eax
lea edi, [esp + 0x448]
mov byte [esp + 0x136], al
mov dword [esp + 0x444], ebp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x444]
lea edx, [esp + 0x60]
inc ebx
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov dword [esp + 0x1c], ebx
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x38], edx
cmp ecx, dword [eax + 0x74]
jl 0x52c39a
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
xor edx, edx
add edi, 0xa
mov dword [esp + 0x25a], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x25e], edx
inc eax
mov dword [esp + 0x262], edx
mov ecx, 0x4c
lea esi, [esp + 0x1e0]
lea edi, [esp + 0x314]
mov byte [esp + 0x266], dl
mov dword [esp + 0x310], ebp
mov dword [esp + 0x20], eax
lea eax, [esp + 0x310]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x58]
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 + 0x20]
mov dword [esp + 0x50], ecx
mov ecx, dword [eax + 0x78]
cmp edx, ecx
jl 0x52c31c
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1b10]
inc edi
add esi, 4
sub edx, eax
test ecx, ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], edx
jne 0x52c99a
mov eax, edx
test eax, eax
jg 0x52c25e
jmp 0x52c9c1
mov ecx, dword [esp + 0x1b04]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
pop ebx
add esp, 0x1aec
ret 0x14
mov eax, dword [esp + 0x1b04]
mov edx, dword [esp + 0x24]
sub dword [eax], edx
mov ecx, ebx
call fcn.0052d360
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1aec
ret 0x14