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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, ecx
mov eax, dword [ebp + 8]
movzx ebx, word [eax + 6]
cmp ebx, 0xfff1
jg 0x4d315f
test ebx, ebx
je 0x4d31e5
cmp ebx, 0xfff1
jne 0x4d31b8
mov byte [esi], 6
mov dword [esi + 1], 0x534241
jmp 0x4d35f4
cmp ebx, 0xfff2
je 0x4d31f4
cmp ebx, 0xffff
jne 0x4d31b8
mov edi, edx
lea ecx, [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x2c
movups xmm0, xmmword [ecx]
movups xmm1, xmmword [ecx + 0x10]
movups xmmword [esp + 0x1c], xmm1
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], edx
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.004c9540
add esp, 0x2c
test byte [esp + 0x14], 1
jne 0x4d3203
mov ebx, dword [esp + 0x10]
mov edx, edi
jmp 0x4d3303
mov eax, ebx
and eax, 0xffffffe0
cmp eax, 0xff20
je 0x4d3287
cmp eax, 0xff00
jne 0x4d329d
mov byte [esp + 0x3c], 0xc
mov dword [esp + 0x3d], 0x5b435250
jmp 0x4d32b2
mov byte [esi], 6
mov dword [esi + 1], 0x444e55
jmp 0x4d35f4
mov byte [esi], 6
mov dword [esi + 1], 0x4d4f43
jmp 0x4d35f4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0x74], eax
lea eax, [esp + 0x74]
mov ecx, edi
push eax
call fcn.00539450
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4d322c
mov eax, dword [ecx]
call dword [eax + 4]
push 0x10
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 8], eax
mov dword [esi], 0x11
mov dword [esi + 4], 0xb
mov dword [eax + 7], 0x5d666666
mov dword [eax + 4], 0x66667830
mov dword [eax], 0x5b565352
mov byte [eax + 0xb], 0
test byte [esp + 0x14], 1
je 0x4d35f4
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x4d35f4
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4d35f4
mov byte [esp + 0x3c], 0xa
mov dword [esp + 0x3d], 0x305b534f
mov word [esp + 0x41], pe_nt_image_headers32
jmp 0x4d32be
cmp ebx, 0xff00
jb 0x4d3303
mov byte [esp + 0x3c], 0xc
mov dword [esp + 0x3d], 0x5b565352
mov word [esp + 0x41], 0x7830
mov byte [esp + 0x43], 0
mov dword [esp + 0x10], ebx
movaps xmm0, xmmword [0x555ce0]
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 1
mov byte [esp + 0x26], 0
lea eax, [esp + 0x10]
mov ecx, esp
push eax
push ecx
call fcn.0043de20
add esp, 8
movzx eax, byte [esp]
test al, 1
je 0x4d33f5
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x4d33fb
movzx eax, byte [ebp + 0x30]
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov dword [esp + 8], 0
test al, al
je 0x4d349a
lea ecx, [esp + 0x50]
push ebx
mov edi, edx
push dword [edx + 0x3c]
call fcn.004c6be0
test byte [esp + 0x54], 1
jne 0x4d34b1
mov eax, dword [edi + 0x3c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], 0x43a5a0
mov dword [esp + 0x78], 0x43abd0
lea edx, [esp + 0x10]
mov dword [esp + 0x7c], edx
sub esp, 0x10
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 8], xmm0
mov dword [esp + 4], ecx
mov dword [esp], eax
lea ecx, [esp + 0x74]
call fcn.004c6440
test byte [esp + 0x6c], 1
jne 0x4d34d7
mov word [esp + 0x38], 0x503
mov dword [esp + 0x28], 0x556c1d
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], 0x5564e0
mov word [esp + 0x4c], 0x103
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x28]
push eax
push ecx
lea edi, [esp + 0x18]
push edi
call fcn.0043a000
add esp, 0xc
lea ecx, [esp + 0x80]
push edi
call fcn.0054f5a2
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x80]
movsd qword [esp], xmm0
jmp 0x4d3500
shr eax, 1
lea edx, [esp + 1]
lea ecx, [esp + 0x3c]
push eax
push edx
call fcn.0054f9aa
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x28], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
lea ecx, [esp + 0x28]
push 0x5567ca
call fcn.0054f9a4
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
test byte [esp + 0x28], 1
jne 0x4d3468
test byte [esp], 1
jne 0x4d347a
test byte [esp + 0x3c], 1
jne 0x4d3491
jmp 0x4d35f4
push dword [esp + 0x30]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp], 1
je 0x4d345c
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x3c], 1
je 0x4d35f4
push dword [esp + 0x44]
jmp 0x4d35ec
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
xor edi, edi
jmp 0x4d354e
mov eax, dword [esp + 0x50]
mov dword [esp + 0x50], 0
mov dword [esp + 0x70], eax
lea eax, [esp + 0x70]
mov ecx, edi
push eax
call fcn.00539450
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x4d3517
jmp 0x4d351c
mov eax, dword [esp + 0x64]
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov ecx, edi
push eax
call fcn.00539450
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4d3500
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x6c], 1
je 0x4d351c
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x64], 0
test ecx, ecx
je 0x4d351c
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x54], 1
je 0x4d3538
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x4d3538
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, byte [esp]
mov edi, eax
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 3
mov word [esp + 0x24], 0
mov byte [esp + 0x26], 0
lea eax, [esp + 0x10]
lea ebx, [esp + 0x28]
push eax
push ebx
call fcn.0043de20
add esp, 8
mov ecx, edi
mov eax, ecx
shr al, 1
test cl, 1
lea edx, [esp + 1]
cmovne edx, dword [esp + 0x58]
movzx eax, al
cmovne eax, dword [esp + 0x5c]
mov ecx, ebx
push eax
push edx
call fcn.0054f9aa
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
movsd xmm0, qword [eax]
movsd qword [esi], xmm0
xorps xmm0, xmm0
movsd qword [eax], xmm0
mov dword [eax + 8], 0
test byte [esp + 0x28], 1
je 0x4d35e2
push dword [esp + 0x30]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp], 1
je 0x4d35f4
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret