Function at 0x4938c0
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 ecx, word [eax + 0xe]
rol cx, 8
movzx ebx, cx
cmp ebx, 0xfff1
jg 0x493906
test ebx, ebx
je 0x49398c
cmp ebx, 0xfff1
jne 0x49395f
mov byte [esi], 6
mov dword [esi + 1], 0x534241
jmp 0x493d9b
cmp ebx, 0xfff2
je 0x49399b
cmp ebx, 0xffff
jne 0x49395f
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.00489c50
add esp, 0x2c
test byte [esp + 0x14], 1
jne 0x4939aa
mov ebx, dword [esp + 0x10]
mov edx, edi
jmp 0x493aaa
mov eax, ebx
and eax, 0xffffffe0
cmp eax, 0xff20
je 0x493a2e
cmp eax, 0xff00
jne 0x493a44
mov byte [esp + 0x3c], 0xc
mov dword [esp + 0x3d], 0x5b435250
jmp 0x493a59
mov byte [esi], 6
mov dword [esi + 1], 0x444e55
jmp 0x493d9b
mov byte [esi], 6
mov dword [esi + 1], 0x4d4f43
jmp 0x493d9b
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.00539410
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4939d3
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 0x493d9b
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], 0
test ecx, ecx
je 0x493d9b
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x493d9b
mov byte [esp + 0x3c], 0xa
mov dword [esp + 0x3d], 0x305b534f
mov word [esp + 0x41], pe_nt_image_headers32
jmp 0x493a65
cmp ebx, 0xff00
jb 0x493aaa
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 [0x550970]
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.0043dde0
add esp, 8
movzx eax, byte [esp]
test al, 1
je 0x493b9c
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
jmp 0x493ba2
movzx eax, byte [ebp + 0x30]
xorps xmm0, xmm0
movsd qword [esp], xmm0
mov dword [esp + 8], 0
test al, al
je 0x493c41
lea ecx, [esp + 0x50]
push ebx
mov edi, edx
push dword [edx + 0x3c]
call fcn.00487420
test byte [esp + 0x54], 1
jne 0x493c58
mov eax, dword [edi + 0x3c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x10], 0x43a590
mov dword [esp + 0x78], 0x43abc0
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.00486dd0
test byte [esp + 0x6c], 1
jne 0x493c7e
mov word [esp + 0x38], 0x503
mov dword [esp + 0x28], 0x551c1d
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], 0x5514e0
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.00439ff0
add esp, 0xc
lea ecx, [esp + 0x80]
push edi
call fcn.0054a73e
mov eax, dword [esp + 0x88]
mov dword [esp + 8], eax
movsd xmm0, qword [esp + 0x80]
movsd qword [esp], xmm0
jmp 0x493ca7
shr eax, 1
lea edx, [esp + 1]
lea ecx, [esp + 0x3c]
push eax
push edx
call fcn.0054ab46
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 0x5517ca
call fcn.0054ab40
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 0x493c0f
test byte [esp], 1
jne 0x493c21
test byte [esp + 0x3c], 1
jne 0x493c38
jmp 0x493d9b
push dword [esp + 0x30]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp], 1
je 0x493c03
push dword [esp + 8]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp + 0x3c], 1
je 0x493d9b
push dword [esp + 0x44]
jmp 0x493d93
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
xor edi, edi
jmp 0x493cf5
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.00539410
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x493cbe
jmp 0x493cc3
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.00539410
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x493ca7
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x6c], 1
je 0x493cc3
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x64], 0
test ecx, ecx
je 0x493cc3
mov eax, dword [ecx]
call dword [eax + 4]
test byte [esp + 0x54], 1
je 0x493cdf
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x50], 0
test ecx, ecx
je 0x493cdf
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.0043dde0
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.0054ab46
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 0x493d89
push dword [esp + 0x30]
call sub.libc.dll_operator_delete_void_
add esp, 4
test byte [esp], 1
je 0x493d9b
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