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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov esi, ecx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], ebx
movzx eax, byte [0x416a64]
movsd xmm0, qword [esp + 0x68]
movsd qword [esp + 4], xmm0
xor eax, 1
mov dword [esp + 0xc], eax
lea eax, [esp + 0x78]
mov dword [esp], eax
call fcn.00410bfc
xor eax, eax
test byte [esp + 0xa0], 1
je 0x40a0dd
mov eax, dword [esp + 0x78]
mov dword [esp + 0x78], 0
mov dword [esp + 0x3c], eax
mov word [esp + 0xb8], 0x105
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], edi
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0xa8]
movups xmmword [esp], xmm0
lea ecx, [esp + 0x3c]
call fcn.00404df0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40a126
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x38], 0x416e9c
cmp byte [0x416e98], 0
je 0x40a1d6
mov word [esp + 0x24], 0x105
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
lea eax, [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00410c62
test al, al
je 0x40a211
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], edi
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00410c6e
movzx eax, byte [esp + 0x14]
mov ecx, eax
shr ecx, 1
test al, 1
lea eax, [esp + 0x15]
cmovne eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
cmovne ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
movsd xmm0, qword [esp + 0x28]
movsd qword [esp], xmm0
lea ecx, [esp + 0x38]
call fcn.00410b7e
sub esp, 8
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], eax
jmp 0x40a32b
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], eax
movsd xmm0, qword [esp + 0x60]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.00410c80
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], eax
jmp 0x40a355
movzx eax, byte [0x416a58]
mov ecx, eax
shr ecx, 1
test al, 1
mov eax, 0x416a59
cmovne eax, dword [0x416a60]
cmovne ecx, dword [0x416a5c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edi
movsd xmm0, qword [esp + 0x48]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x14]
mov dword [esp], eax
call fcn.00410c20
test byte [esp + 0x20], 1
jne 0x40a289
test byte [esp + 0x14], 1
jne 0x40a2b3
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
movsd xmm0, qword [esp + 0x14]
movsd qword [esp + 0x28], xmm0
jmp 0x40a2ce
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00410c6e
jmp 0x40a2ce
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], ecx
lea ecx, [esp + 0x28]
call fcn.00406f50
sub esp, 8
movzx eax, byte [esp + 0x28]
mov ecx, eax
shr ecx, 1
test al, 1
lea eax, [esp + 0x29]
cmovne eax, dword [esp + 0x30]
mov dword [esp + 0x70], eax
cmovne ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [esp], xmm0
lea ecx, [esp + 0x38]
call fcn.00410b7e
sub esp, 8
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], eax
test byte [esp + 0x28], 1
je 0x40a324
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
test byte [esp + 0x20], 1
jne 0x40a340
test byte [esp + 0x14], 1
je 0x40a355
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
jmp 0x40a355
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x40a355
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x78]
mov dword [esi], eax
movups xmm0, xmmword [esp + 0x7c]
movups xmm1, xmmword [esp + 0x8c]
movups xmmword [esi + 4], xmm0
movups xmmword [esi + 0x14], xmm1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret