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

Disassembly:
sub esp, 0x420
push ebx
mov ebx, eax
cmp ebx, 0x16
push edi
mov dword [0x6b836c], esi
mov dword [0x6b8370], ebx
jl 0x52a210
mov ebx, 0x16
xor edx, edx
cmp ebx, 4
jl 0x52a3bc
lea edi, [ebx - 3]
lea eax, [esp + 0x10]
push ebp
movzx ecx, byte [esi + edx]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, 0x75b6e0
mov ebp, dword [ecx]
mov dword [eax - 8], ebp
mov ebp, dword [ecx + 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx + 8]
mov dword [eax], ebp
mov ebp, dword [ecx + 0xc]
mov dword [eax + 4], ebp
mov ebp, dword [ecx + 0x10]
mov dword [eax + 8], ebp
mov ebp, dword [ecx + 0x14]
mov dword [eax + 0xc], ebp
mov ebp, dword [ecx + 0x18]
mov dword [eax + 0x10], ebp
mov ebp, dword [ecx + 0x1c]
mov dword [eax + 0x14], ebp
mov ebp, dword [ecx + 0x20]
mov dword [eax + 0x18], ebp
mov ebp, dword [ecx + 0x24]
mov dword [eax + 0x1c], ebp
mov ebp, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov dword [eax + 0x20], ebp
mov dword [eax + 0x24], ecx
movzx ecx, byte [esi + edx + 1]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, 0x75b6e0
mov ebp, dword [ecx]
mov dword [eax + 0x28], ebp
mov ebp, dword [ecx + 4]
mov dword [eax + 0x2c], ebp
mov ebp, dword [ecx + 8]
mov dword [eax + 0x30], ebp
mov ebp, dword [ecx + 0xc]
mov dword [eax + 0x34], ebp
mov ebp, dword [ecx + 0x10]
mov dword [eax + 0x38], ebp
mov ebp, dword [ecx + 0x14]
mov dword [eax + 0x3c], ebp
mov ebp, dword [ecx + 0x18]
mov dword [eax + 0x40], ebp
mov ebp, dword [ecx + 0x1c]
mov dword [eax + 0x44], ebp
mov ebp, dword [ecx + 0x20]
mov dword [eax + 0x48], ebp
mov ebp, dword [ecx + 0x24]
mov dword [eax + 0x4c], ebp
mov ebp, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov dword [eax + 0x54], ecx
movzx ecx, byte [esi + edx + 2]
mov dword [eax + 0x50], ebp
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, 0x75b6e0
mov ebp, dword [ecx]
mov dword [eax + 0x58], ebp
mov ebp, dword [ecx + 4]
mov dword [eax + 0x5c], ebp
mov ebp, dword [ecx + 8]
mov dword [eax + 0x60], ebp
mov ebp, dword [ecx + 0xc]
mov dword [eax + 0x64], ebp
mov ebp, dword [ecx + 0x10]
mov dword [eax + 0x68], ebp
mov ebp, dword [ecx + 0x14]
mov dword [eax + 0x6c], ebp
mov ebp, dword [ecx + 0x18]
mov dword [eax + 0x70], ebp
mov ebp, dword [ecx + 0x1c]
mov dword [eax + 0x74], ebp
mov ebp, dword [ecx + 0x20]
mov dword [eax + 0x78], ebp
mov ebp, dword [ecx + 0x24]
mov dword [eax + 0x7c], ebp
mov ebp, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov dword [eax + 0x84], ecx
movzx ecx, byte [esi + edx + 3]
mov dword [eax + 0x80], ebp
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ecx, 0x75b6e0
mov ebp, dword [ecx]
mov dword [eax + 0x88], ebp
mov ebp, dword [ecx + 4]
mov dword [eax + 0x8c], ebp
mov ebp, dword [ecx + 8]
mov dword [eax + 0x90], ebp
mov ebp, dword [ecx + 0xc]
mov dword [eax + 0x94], ebp
mov ebp, dword [ecx + 0x10]
mov dword [eax + 0x98], ebp
mov ebp, dword [ecx + 0x14]
mov dword [eax + 0x9c], ebp
mov ebp, dword [ecx + 0x18]
mov dword [eax + 0xa0], ebp
mov ebp, dword [ecx + 0x1c]
mov dword [eax + 0xa4], ebp
mov ebp, dword [ecx + 0x20]
mov dword [eax + 0xa8], ebp
mov ebp, dword [ecx + 0x24]
mov dword [eax + 0xac], ebp
mov ebp, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
mov dword [eax + 0xb0], ebp
mov dword [eax + 0xb4], ecx
add edx, 4
add eax, 0xc0
cmp edx, edi
jl 0x52a223
pop ebp
cmp edx, ebx
jge 0x52a42d
lea ecx, [edx + edx*2]
shl ecx, 4
lea ecx, [esp + ecx + 0x10]
lea ebx, [ebx]
movzx eax, byte [edx + esi]
lea eax, [eax + eax*2]
shl eax, 4
add eax, 0x75b6e0
mov edi, dword [eax]
mov dword [ecx - 8], edi
mov edi, dword [eax + 4]
mov dword [ecx - 4], edi
mov edi, dword [eax + 8]
mov dword [ecx], edi
mov edi, dword [eax + 0xc]
mov dword [ecx + 4], edi
mov edi, dword [eax + 0x10]
mov dword [ecx + 8], edi
mov edi, dword [eax + 0x14]
mov dword [ecx + 0xc], edi
mov edi, dword [eax + 0x18]
mov dword [ecx + 0x10], edi
mov edi, dword [eax + 0x1c]
mov dword [ecx + 0x14], edi
mov edi, dword [eax + 0x20]
mov dword [ecx + 0x18], edi
mov edi, dword [eax + 0x24]
mov dword [ecx + 0x1c], edi
mov edi, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x24], eax
inc edx
add ecx, 0x30
cmp edx, ebx
jl 0x52a3d0
mov eax, dword [0x6b8344]
mov ecx, dword [eax]
lea edx, [ebx + ebx*2]
push edx
lea edx, [esp + 0xc]
push edx
push 0x1d
push eax
call dword [ecx + 0x178]
pop edi
pop ebx
add esp, 0x420
ret