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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xa4
mov dword [esp + 0x28], edx
mov esi, ecx
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 1
lea edi, [esp + 0x34]
mov ecx, edi
call fcn.0054aa4a
sub esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp], esi
lea ecx, [esp + 0x4c]
call fcn.0054aa5c
sub esp, 4
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
movzx ecx, word [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x3c], edx
mov ebp, dword [esp + 0x54]
mov word [esp + 0x44], cx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], eax
test esi, esi
je 0x52ea6c
mov eax, dword [esi]
mov dword [esp], esi
lea ecx, [esp + 0x4c]
call dword [eax]
sub esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
test ebx, ebx
mov dword [esp + 0x64], ebx
je 0x52ea98
mov eax, dword [ebx]
mov dword [esp], ebx
lea ecx, [esp + 0x4c]
call dword [eax]
sub esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], eax
jmp 0x52eaa0
mov dword [esp + 0x24], 0
lea esi, [esp + 0x18]
jmp 0x52eab7
mov ecx, edi
call fcn.0052fb50
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x48], 3
ja 0x52eacd
cmp dword [esp + 0x6c], 4
jb 0x52ec85
cmp eax, ebp
je 0x52ec85
mov dword [esp], edi
mov dword [esp + 4], 0
mov ecx, esi
call fcn.0054aa50
sub esp, 8
test byte [esp + 0x1c], 1
jne 0x52eb20
mov ebx, ebp
mov ebp, edi
mov edi, esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
test esi, esi
je 0x52eb60
lea ecx, [eax - 0x17]
cmp ecx, 0xfffffff3
jb 0x52eb60
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov ecx, esi
mov edx, dword [esp + 0x28]
call fcn.0052ed60
jmp 0x52eb79
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.0054a5fa
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x52eb51
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x52eb7f
jmp 0x52ecd6
test esi, esi
je 0x52eba2
cmp eax, 2
jne 0x52eba2
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00425990
mov esi, edi
mov edi, ebp
mov ebp, ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], 0
test byte [esp + 0x1c], 1
test ecx, ecx
je 0x52eab0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x52eab0
call fcn.0054ab70
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.0054aa3e
mov word [esp + 0x5c], 0x305
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], str._has_an_unsupported_file_type
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], 0x16
lea eax, [esp + 0x4c]
mov dword [esp], eax
lea ecx, [esp + 0x78]
call fcn.0054a73e
sub esp, 4
test byte [esp + 0x78], 1
lea eax, [esp + 0x79]
je 0x52ec04
mov eax, dword [esp + 0x80]
movsd xmm0, qword [esp + 0x9c]
movsd qword [esp + 4], xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x2c]
mov dword [esp], eax
call fcn.0054a48c
test byte [esp + 0x78], 1
mov esi, edi
je 0x52ec3b
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ecx, dword [esp + 0x10]
call fcn.0054aa3e
mov dword [esp + 0x90], edx
mov dword [esp + 0x8c], eax
movsd xmm0, qword [esp + 0x8c]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x2c]
mov dword [esp], eax
call fcn.0052c730
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov edi, ebp
je 0x52eb7d
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x52eb7d
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x52ec92
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], 0
test ecx, ecx
mov esi, dword [esp + 0x68]
je 0x52ecab
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x52ecb8
mov eax, dword [ecx]
call dword [eax + 8]
test esi, esi
je 0x52ecc3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x52ed14
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x74], eax
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x10]
call fcn.0054aa3e
mov dword [esp + 0x98], edx
mov dword [esp + 0x94], eax
movsd xmm0, qword [esp + 0x94]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x74]
mov dword [esp], eax
call fcn.0052c4c0
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
call fcn.0054aa3e
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], eax
movsd xmm0, qword [esp + 0x84]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x70]
mov dword [esp], eax
call fcn.0052c4c0
int3