Function at 0x52b430
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 + 0x30], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x40], edi
call fcn.0053bf30
test eax, eax
jne 0x52b479
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1aec
ret 0x10
cmp esi, edi
jle 0x52bbe4
mov ecx, dword [esp + 0x1b08]
mov dword [esp + 0x30], ecx
jmp 0x52b490
xor edi, edi
push 1
push ebp
mov ecx, ebx
call fcn.0052bc60
mov ecx, eax
cmp ecx, 0xffffffff
je 0x52bbd7
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 + 0x1c], edx
mov ecx, 0xa
cdq
idiv ecx
mov ecx, 0x4c
mov dword [esp + 0x310], ebp
lea eax, [esp + 0x310]
push eax
mov dword [esp + 0x18], 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 + 0x54], ecx
mov ecx, dword [eax + 0x78]
test ecx, ecx
jle 0x52bbab
mov eax, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea eax, [eax + edx*2]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], 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 + 0x20], 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 0x52bb2f
mov eax, dword [esp + 0x4c]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea edx, [ebx + ecx*8 + 0xe0]
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x50]
cmp dword [eax], ebp
jne 0x52b8bc
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 + 0x28]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x18]
add eax, edx
mov esi, dword [ecx + 0x108]
mov edx, eax
mov dword [esp + 0x44], 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 0x52b805
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 eax, dword [eax + 0x108]
mov ecx, dword [ebx + 0xe4]
mov dword [esp + 0x40], edx
sub eax, ecx
mov ecx, 0x4c
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0xf72], eax
lea edx, [esp + 0xa0]
mov dword [esp + 0xf76], eax
mov dword [esp + 0xf7a], eax
mov byte [esp + 0xf7e], al
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x13c4]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.00474ae0
mov ecx, eax
lea esi, [esp + 0xb68]
lea edi, [esp + 0x1898]
mov dword [esp + 0x1894], ebp
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0xe4], eax
xor eax, eax
mov dword [ebx + 0xe0], ebp
mov dword [esp + 0xbe2], eax
mov dword [ebx + 0xe8], ecx
mov dword [esp + 0xbe6], eax
mov ecx, 0x4c
mov dword [esp + 0xbea], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x14]
mov byte [esp + 0xbee], al
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
mov dword [ebx + 0xec], edx
lea ecx, [esp + 0x1894]
lea edx, [esp + 0x98]
push ecx
push edx
mov ecx, edi
call fcn.00474ae0
mov esi, dword [esp + 0x1b0c]
mov ecx, eax
test esi, esi
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0xf0]
mov dword [esp + 0x38], edx
mov dword [ebx + 0xf4], eax
je 0x52b8a4
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add ebx, 0x108
mov ecx, 0x12
mov edi, ebx
add eax, edx
mov edx, dword [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + eax*4]
movsb byte es:[edi], byte [esi]
lea eax, [edx + ecx*2]
mov ecx, dword [esp + 0x14]
add eax, ecx
mov word [ebx], ax
jmp 0x52babc
mov ecx, dword [esp + 0x1c]
mov dword [ebx + 0xe4], eax
xor eax, eax
mov dword [ebx + 0xe0], ebp
mov dword [esp + 0x5f2], eax
mov dword [ebx + 0xe8], ecx
mov dword [esp + 0x5f6], eax
mov ecx, 0x4c
mov dword [esp + 0x5fa], eax
lea esi, [esp + 0x578]
lea edi, [esp + 0x1160]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x14]
mov byte [esp + 0x5fe], al
mov dword [esp + 0x115c], ebp
mov dword [ebx + 0xec], edx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x115c]
lea edx, [esp + 0x90]
push ecx
push edx
mov ecx, edi
call fcn.00474ae0
mov esi, dword [esp + 0x1b0c]
mov ecx, eax
test esi, esi
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0xf0]
mov dword [esp + 0x38], edx
mov dword [ebx + 0xf4], eax
jne 0x52b7d3
mov ecx, dword [esp + 0x44]
push 0
add ebx, 0x108
push 0
push ebx
push ecx
push ebp
mov ecx, edi
jmp 0x52bab7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
lea esi, [esp + 0xdc8]
lea edi, [esp + 0x1294]
lea eax, [ecx + edx]
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov dword [esp + 0x44], eax
shl ecx, 4
add ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1290], ebp
lea ebx, [ebx + ecx*8]
xor ecx, ecx
mov dword [esp + 0xe42], ecx
mov dword [esp + 0xe46], ecx
mov dword [ebx + 0xe0], ebp
mov dword [esp + 0xe4a], ecx
mov dword [ebx + 0xe8], edx
mov byte [esp + 0xe4e], cl
mov ecx, 0x4c
mov dword [ebx + 0xec], eax
lea edx, [esp + 0x1290]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xa8]
push edx
push eax
call fcn.00474ae0
mov ecx, eax
lea esi, [esp + 0x6a8]
lea edi, [esp + 0x14fc]
mov dword [esp + 0x14f8], ebp
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0xf0]
xor ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x722], ecx
mov dword [ebx + 0xf4], eax
mov dword [esp + 0x726], ecx
lea edx, [esp + 0x14f8]
mov dword [esp + 0x72a], ecx
lea eax, [esp + 0x70]
mov byte [esp + 0x72e], cl
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
push edx
push eax
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x108]
cmp ecx, edx
jle 0x52ba2b
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 + 0x38], edx
mov dword [ebx + 0xe4], eax
jmp 0x52ba31
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 esi, dword [esp + 0x10]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, esi
call fcn.00474ae0
mov edx, eax
push 0
add ebx, 0x108
push 0
mov eax, dword [edx]
push ebx
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0xf0]
mov eax, dword [esp + 0x50]
mov dword [ebx - 0x14], edx
mov dword [esp + 0x44], ecx
push eax
push ebp
mov ecx, esi
call fcn.00543bf0
xor ecx, ecx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x12a], ecx
lea esi, [esp + 0xb0]
mov dword [esp + 0x12e], ecx
lea edi, [esp + 0x448]
mov dword [esp + 0x132], ecx
mov dword [esp + 0x444], ebp
mov byte [esp + 0x136], cl
mov ecx, 0x4c
lea edx, [esp + 0x444]
lea eax, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
inc ebx
push edx
push eax
mov dword [esp + 0x20], ebx
call fcn.00474ae0
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 0x74]
cmp ebx, ecx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x48], edx
jl 0x52b5ce
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add eax, 0xa
inc ecx
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x25a], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x25e], eax
mov ecx, 0x4c
mov dword [esp + 0x262], eax
lea esi, [esp + 0x1e0]
lea edi, [esp + 0x314]
mov byte [esp + 0x266], al
mov dword [esp + 0x310], ebp
lea edx, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x310]
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 + 0x54], edx
mov edx, dword [eax + 0x78]
cmp ecx, edx
jl 0x52b54c
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
sub eax, edx
inc edi
add esi, 4
mov dword [esp + 0x2c], edi
test eax, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], eax
jg 0x52b48e
jmp 0x52bbe4
mov eax, dword [esp + 0x1b04]
mov edx, dword [esp + 0x24]
sub dword [eax], edx
mov ecx, ebx
call fcn.0052d360
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1aec
ret 0x10