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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
mov eax, dword [ebp + 0xc]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov esi, ecx
je 0x52d13f
cmp dword [eax + 0x78], 3
jne 0x52d13f
mov cl, byte [eax + 0x38]
test cl, cl
jns 0x52d13f
mov cl, byte [eax + 0x7e]
cmp cl, 0xa
jne 0x52cee4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
jmp 0x52cefd
cmp cl, 0x30
je 0x52cef2
cmp cl, 0x4b
jne 0x52cfd2
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov edx, 2
cmp ecx, ebx
je 0x52cfd2
push eax
push edx
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], SysStringLen
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov byte [esp + 0x58], bl
call fcn.00491160
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov dl, byte [eax + ecx]
inc eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x88], bl
xor eax, eax
mov ecx, 0x3f
lea edi, [esp + 0x89]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx edi, dl
push edi
lea edx, [esp + 0x8c]
push edx
lea ecx, [esp + 0x34]
call fcn.00492800
mov eax, dword [esi + 8]
mov byte [esp + edi + 0x88], bl
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [esp + 0x14]
call fcn.00490d20
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x14]
call fcn.00591079
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x24]
push eax
push edx
call fcn.005851fd
mov edi, dword [ebp + 8]
push eax
lea ecx, [edi + 0x14]
call fcn.00523c40
lea ecx, [esp + 0x20]
call fcn.00591ae2
jmp 0x52cfd5
mov edi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [esp + 0x54]
call fcn.00490d20
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + 0x38]
and eax, 3
dec eax
je 0x52d014
dec eax
je 0x52d00d
dec eax
lea ecx, [esp + 0x50]
je 0x52d006
push 0x5dbb44
jmp 0x52d01d
push 0x5dbb38
jmp 0x52d01d
push 0x5db3d8
jmp 0x52d019
push 0x5db3e0
lea ecx, [esp + 0x54]
call fcn.00591079
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x68]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x64]
push eax
push edx
call fcn.005851fd
lea edx, [edi + 0x1c]
mov ecx, edx
push eax
and ecx, 0xfffff000
mov ecx, dword [ecx]
push edx
push edx
mov dword [esp + 0x18], ecx
call fcn.00423b60
mov ecx, dword [esp + 0x14]
push eax
call fcn.005bf850
cmp dword [edi + 0x14], ebx
je 0x52d0c7
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [eax + 0x10]
push ecx
lea ecx, [esp + 0x14]
call fcn.00490d20
mov edx, dword [edi + 0x14]
push edx
lea ecx, [esp + 0x14]
call fcn.005913a6
push 0x5dab5c
lea ecx, [esp + 0x14]
call fcn.00591079
mov eax, dword [edi + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.005913a6
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [edx + 0x10]
mov edx, dword [esp + 0x24]
push eax
push edx
call fcn.005851fd
push eax
lea ecx, [edi + 0x10]
call fcn.00523c40
lea ecx, [esp + 0x20]
call fcn.00591ae2
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x10]
push edx
lea ecx, [esp + 0x70]
call fcn.00490d20
push str.embedded
lea ecx, [esp + 0x70]
call fcn.00591079
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov ecx, dword [ecx + 0x10]
push edx
push eax
call fcn.005851fd
lea ecx, [edi + 0x18]
mov edx, ecx
push eax
and edx, 0xfffff000
mov esi, dword [edx]
push ecx
push ecx
mov ecx, esi
call fcn.00423b60
push eax
mov ecx, esi
call fcn.005bf850
lea ecx, [esp + 0x7c]
call fcn.00591ae2
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], 0x5dbaf0
call fcn.00591ae2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8