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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x77714b
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
xor ebp, ebp
cmp esi, ebp
mov ebx, ecx
jne 0x52a629
cmp dword [ebx + 0x60], ebp
je 0x52a60e
mov eax, dword [ebx + 0x78]
push eax
call fcn.005752c0
add esp, 4
mov dword [ebx + 0x78], ebp
mov dword [ebx + 0x60], ebp
mov ecx, ebx
call fcn.00503ee0
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
lea ecx, [esi + esi*2]
shl ecx, 2
push edi
push ecx
call fcn.005752a0
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x60]
add esp, 4
cmp eax, ebp
je 0x52a678
cmp esi, eax
mov ebp, eax
ja 0x52a64c
mov ebp, esi
mov esi, dword [ebx + 0x78]
mov edi, dword [esp + 0x1c]
lea ecx, [ebp + ebp*2]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x78]
push eax
call fcn.005752c0
mov esi, dword [esp + 0x40]
add esp, 4
mov edi, dword [esp + 0x1c]
mov eax, esi
sub eax, ebp
lea ecx, [eax + eax*2]
shl ecx, 2
lea edx, [ebp + ebp*2]
lea edi, [edi + edx*4]
mov edx, ecx
shr ecx, 2
mov dword [esp + 0x24], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [ebx + 0x64]
imul edi, esi
test edi, edi
mov dword [esp + 0x20], 0
je 0x52a7bf
lea eax, [edi + edi*2]
shl eax, 4
push eax
call fcn.005752a0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x34], 0
je 0x52a6ea
push 0x503d50
push edi
push 0x30
push eax
call fcn.00401690
mov eax, dword [esp + 0x20]
jmp 0x52a6ec
xor eax, eax
mov ecx, dword [ebx + 0x90]
test ecx, ecx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x20], eax
je 0x52a7b5
mov ecx, dword [ebx + 0x64]
test ecx, ecx
mov dword [esp + 0x10], 0
jbe 0x52a7a4
lea edx, [ebp + ebp*2]
lea ecx, [esi + esi*2]
shl ecx, 4
shl edx, 4
add edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jmp 0x52a740
mov edx, dword [esp + 0x18]
lea ebx, [ebx]
mov eax, dword [ebx + 0x60]
imul eax, dword [esp + 0x10]
mov edi, dword [ebx + 0x90]
lea esi, [eax + eax*2]
shl esi, 4
mov ecx, ebp
mov eax, ecx
shr ecx, 2
add esi, edi
mov edi, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
push ecx
push edx
call fcn.00503e90
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add esi, ecx
add edx, ecx
mov ecx, dword [ebx + 0x64]
add esp, 8
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
jb 0x52a736
mov esi, dword [esp + 0x3c]
mov edx, dword [ebx + 0x90]
push edx
call fcn.005752c0
add esp, 4
jmp 0x52a7bf
push edi
push eax
call fcn.00503e90
add esp, 8
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
pop edi
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x90], ecx
mov ecx, dword [esp + 0x28]
pop esi
mov dword [ebx + 0x78], eax
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4