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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x658393
mov eax, dword fs:[0]
push eax
sub esp, 0x138
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp byte [esi + 0x6c], 0
je 0x52c0a5
xor al, al
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
lea eax, [esp + 0x70]
push eax
call fcn.00528520
mov dword [esp + 0x150], 0
mov ebx, dword [esi + 0x8c]
mov ecx, dword [ebx + 4]
add esi, 0x88
push eax
push ecx
push ebx
call fcn.0053ceb0
mov ecx, esi
mov edi, eax
call fcn.0053cf50
mov dword [ebx + 4], edi
mov eax, dword [edi + 4]
lea edx, [esp + 0x6c]
push edx
mov dword [eax], edi
mov dword [esp + 0x154], 0xffffffff
call fcn.0052be10
mov eax, dword [esi + 4]
mov ebx, dword [eax + 4]
cmp ebx, eax
jne 0x52c107
call fcn.0062492b
cmp ebx, dword [esi + 4]
jne 0x52c111
call fcn.0062492b
push 4
lea esi, [ebx + 8]
mov ebx, 0xf
xor edi, edi
push str.MAIN
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], edi
mov byte [esp + 0x3c], 0
call fcn.00402300
push 0xffffffffffffffff
mov dword [esp + 0x154], 1
push edi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], edi
mov byte [esp + 0x5c], 0
call fcn.00401d10
mov dword [esp + 0x68], esi
mov edi, dword [ebp + 8]
lea ecx, [esp + 0x4c]
push ecx
add edi, 0x94
push edi
lea ebx, [esp + 0x2c]
mov byte [esp + 0x158], 2
call fcn.0053ab20
cmp dword [esp + 0x64], 0x10
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x20], edx
jb 0x52c1a2
mov eax, dword [esp + 0x50]
push eax
call fcn.0062493b
add esp, 4
mov dword [esp + 0x150], 0xffffffff
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
jb 0x52c1d6
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0062493b
add esp, 4
test ebx, ebx
mov edx, dword [edi + 4]
mov dword [esp + 0x28], edx
je 0x52c1e5
cmp ebx, edi
je 0x52c1ea
call fcn.0062492b
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x20], eax
je 0x52c08b
mov ecx, dword [ebp + 0xc]
lea edi, [esi + 0x78]
push ecx
mov eax, edi
call fcn.00539ed0
mov ecx, edi
call fcn.00539ef0
mov ecx, eax
call fcn.00527e50
mov ecx, edi
mov dword [esi + 0xc8], eax
call fcn.00539ef0
mov ecx, eax
call fcn.00527e50
mov dword [esi + 0xbc], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
cmp dword [eax + 0x18], 0x10
jb 0x52c23e
mov eax, dword [eax + 4]
jmp 0x52c241
add eax, 4
push 0x672c04
push eax
call fcn.006262fc
add esp, 8
test eax, eax
mov dword [esp + 0x1c], eax
je 0x52c08b
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push 0
push edx
add ecx, 0xa0
call fcn.00401d10
lea eax, [esi + 0xbc]
push eax
push ecx
push 0x20
mov ecx, esi
call fcn.00528860
add esp, 4
add eax, 0x24
push eax
mov eax, dword [esp + 0x24]
push str._d_d
push eax
call fcn.00628da4
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0062602e
add esp, 0x14
test eax, eax
jne 0x52c351
lea ecx, [ecx]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push str._1s_d
push ecx
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x28], 0
call fcn.00628da4
mov al, byte [esp + 0x24]
add esp, 0x10
test al, al
mov byte [esp + 0x24], al
je 0x52c351
mov edx, dword [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x38], edx
call fcn.00539ef0
mov ecx, eax
call fcn.00527e50
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00528860
mov edx, dword [esp + 0x3c]
mov dword [eax], ebx
xor ecx, ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.00528860
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x24], ecx
add ebx, dword [esp + 0x18]
push edx
call fcn.0062602e
add esp, 4
test eax, eax
je 0x52c2b0
mov bl, 0x41
mov byte [esp + 0x14], bl
mov eax, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00528860
cmp dword [eax + 0x24], 0
jne 0x52c39b
add bl, 0x20
mov ecx, esi
push ebx
call fcn.00528860
cmp dword [eax + 0x24], 0
je 0x52c39b
mov cl, byte [esp + 0x14]
mov byte [esp + 0x19], bl
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
add ebx, 0x7c
mov byte [esp + 0x20], cl
call fcn.0053a960
mov bl, byte [esp + 0x14]
add bl, 1
cmp bl, 0x5a
mov byte [esp + 0x14], bl
jle 0x52c357
mov bl, 0x61
mov byte [esp + 0x14], bl
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call fcn.00528860
cmp dword [eax + 0x24], 0
jne 0x52c3f5
sub bl, 0x20
mov ecx, esi
push ebx
call fcn.00528860
cmp dword [eax + 0x24], 0
je 0x52c3f5
mov dl, byte [esp + 0x14]
mov byte [esp + 0x19], bl
mov ebx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
add ebx, 0x7c
mov byte [esp + 0x20], dl
call fcn.0053a960
mov bl, byte [esp + 0x14]
add bl, 1
cmp bl, 0x7a
mov byte [esp + 0x14], bl
jle 0x52c3b1
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
push eax
mov byte [edx + 0x6c], 1
call fcn.006261bc
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc