Function at 0x52ea00
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.0054f8ae
sub esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp], esi
lea ecx, [esp + 0x4c]
call fcn.0054f8c0
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 0x52eaac
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 0x52ead8
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 0x52eae0
mov dword [esp + 0x24], 0
lea esi, [esp + 0x18]
jmp 0x52eaf7
mov ecx, edi
call fcn.0052fb90
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x48], 3
ja 0x52eb0d
cmp dword [esp + 0x6c], 4
jb 0x52ecc5
cmp eax, ebp
je 0x52ecc5
mov dword [esp], edi
mov dword [esp + 4], 0
mov ecx, esi
call fcn.0054f8b4
sub esp, 8
test byte [esp + 0x1c], 1
jne 0x52eb60
mov ebx, ebp
mov ebp, edi
mov edi, esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
test esi, esi
je 0x52eba0
lea ecx, [eax - 0x17]
cmp ecx, 0xfffffff3
jb 0x52eba0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov ecx, esi
mov edx, dword [esp + 0x28]
call fcn.0052eda0
jmp 0x52ebb9
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.0054f45e
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x52eb91
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x52ebbf
jmp 0x52ed16
test esi, esi
je 0x52ebe2
cmp eax, 2
jne 0x52ebe2
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.004259a0
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 0x52eaf0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x52eaf0
call fcn.0054f9d4
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.0054f8a2
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.0054f5a2
sub esp, 4
test byte [esp + 0x78], 1
lea eax, [esp + 0x79]
je 0x52ec44
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.0054f2f0
test byte [esp + 0x78], 1
mov esi, edi
je 0x52ec7b
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ecx, dword [esp + 0x10]
call fcn.0054f8a2
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.0052c770
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov edi, ebp
je 0x52ebbd
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x52ebbd
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x52ecd2
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 0x52eceb
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x52ecf8
mov eax, dword [ecx]
call dword [eax + 8]
test esi, esi
je 0x52ed03
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x52ed54
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.0054f8a2
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.0052c500
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
call fcn.0054f8a2
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.0052c500
int3