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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov edi, edx
mov esi, ecx
mov ebp, dword [esp + 0x98]
lea ecx, [esp + 8]
push ebp
push edx
call fcn.004ce0e0
test byte [esp + 0x10], 1
jne 0x4d616d
mov edx, dword [esp + 8]
lea ecx, [esp + 0x54]
push dword [esp + 0xc]
call fcn.00454cc0
add esp, 4
movzx ebx, byte [esp + 0x60]
test bl, 1
jne 0x4d6184
and byte [esi + 0xc], 0xfe
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esp], esi
mov dword [esi + 8], 0
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x58]
mov ebp, esi
sub ebp, edi
sub esi, edi
je 0x4d6156
js 0x4d63b7
sar ebp, 3
push esi
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ecx, dword [esp]
mov dword [ecx], eax
lea ebp, [eax + ebp*8]
mov dword [ecx + 8], ebp
push esi
push edi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [esp]
mov dword [eax + 4], ebp
test bl, 1
jne 0x4d6385
test edi, edi
je 0x4d6390
push edi
jmp 0x4d637b
mov eax, dword [esp + 8]
mov dword [esp + 8], 0
or byte [esi + 0xc], 1
mov dword [esi], eax
jmp 0x4d6397
lea ecx, [esp + 0x20]
push edi
call fcn.004c37b0
mov ebx, ebp
sub ebx, dword [esp + 0x20]
sar ebx, 6
mov eax, dword [edi]
movzx eax, word [eax + 0x12]
push dword [ebp + 4]
push eax
call fcn.005509d8
add esp, 8
mov word [esp + 0x3c], 0x305
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], str._section_with_index
lea ebp, [esp + 0x2c]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x6c], ebx
mov word [esp + 0x74], 0x802
lea ebx, [esp + 0x64]
lea edi, [esp + 0x78]
mov ecx, edi
push ebx
call fcn.00550b46
mov ecx, edi
push str.unable_to_decode
push 0
call fcn.00550f48
movsd xmm0, qword [eax]
movsd qword [esp + 0x40], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
lea ecx, [esp + 0x40]
push 0x558038
call fcn.00550f36
movsd xmm0, qword [eax]
movsd qword [esp + 0x20], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x28], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
lea eax, [esp + 4]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00550abc
add esp, 8
movzx eax, byte [esp + 0x14]
test al, 1
je 0x4d6276
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jmp 0x4d627c
shr eax, 1
lea edx, [esp + 0x15]
lea ecx, [esp + 0x20]
push eax
push edx
call fcn.00550f3c
movsd xmm0, qword [eax]
movsd qword [esp + 0x2c], xmm0
mov ecx, dword [eax + 8]
mov dword [esp + 0x34], ecx
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov word [esp + 0x74], 0x104
mov dword [esp + 0x64], ebp
push 0x1c
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov edi, eax
call fcn.00550996
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], 3
sub esp, 0xc
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 4], xmm0
mov dword [esp], ebx
mov ecx, edi
call fcn.005507bc
or byte [esi + 0xc], 1
mov dword [esi], edi
test byte [esp + 0x2c], 1
jne 0x4d6325
test byte [esp + 0x14], 1
jne 0x4d6338
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4d630e
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x20], 1
jne 0x4d634e
test byte [esp + 0x40], 1
jne 0x4d6361
test byte [esp + 0x78], 1
jne 0x4d6374
jmp 0x4d6390
push dword [esp + 0x34]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x14], 1
je 0x4d6301
push dword [esp + 0x1c]
call sub.libc.dll_operator_delete_void_
add esp, 4
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4d6309
jmp 0x4d630e
push dword [esp + 0x28]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x40], 1
je 0x4d631c
push dword [esp + 0x48]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x78], 1
je 0x4d6390
push dword [esp + 0x80]
call sub.libc.dll_operator_delete_void_
add esp, 4
jmp 0x4d6390
test edi, edi
je 0x4d6390
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test byte [esp + 0x10], 1
je 0x4d63ac
mov ecx, dword [esp + 8]
mov dword [esp + 8], 0
test ecx, ecx
je 0x4d63ac
mov eax, dword [ecx]
call dword [eax + 4]
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp]
call fcn.004550d0
int3