Function at 0x52ff60
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.00550e40
sub esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp], esi
lea ecx, [esp + 0x4c]
call fcn.00550e52
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 0x53000c
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 0x530038
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 0x530040
mov dword [esp + 0x24], 0
lea esi, [esp + 0x18]
jmp 0x530057
mov ecx, edi
call fcn.005310e0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x48], 3
ja 0x53006d
cmp dword [esp + 0x6c], 4
jb 0x530225
cmp eax, ebp
je 0x530225
mov dword [esp], edi
mov dword [esp + 4], 0
mov ecx, esi
call fcn.00550e46
sub esp, 8
test byte [esp + 0x1c], 1
jne 0x5300c0
mov ebx, ebp
mov ebp, edi
mov edi, esi
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 4]
test esi, esi
je 0x530100
lea ecx, [eax - 0x17]
cmp ecx, 0xfffffff3
jb 0x530100
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov ecx, esi
mov edx, dword [esp + 0x28]
call fcn.00530300
jmp 0x530119
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.00550a02
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x5300f1
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x53011f
jmp 0x530276
test esi, esi
je 0x530142
cmp eax, 2
jne 0x530142
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00426030
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 0x530050
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x530050
call fcn.00550f66
mov dword [esp + 0x14], eax
mov ecx, esi
call fcn.00550e34
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.00550b46
sub esp, 4
test byte [esp + 0x78], 1
lea eax, [esp + 0x79]
je 0x5301a4
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.005508a0
test byte [esp + 0x78], 1
mov esi, edi
je 0x5301db
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov ecx, dword [esp + 0x10]
call fcn.00550e34
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.0052dc80
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov edi, ebp
je 0x53011d
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x53011d
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x530232
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 0x53024b
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x530258
mov eax, dword [ecx]
call dword [eax + 8]
test esi, esi
je 0x530263
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x5302b4
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.00550e34
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.0052da00
mov dword [esp + 0x70], eax
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x10]
call fcn.00550e34
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.0052da00
int3