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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x290
lea ebx, [esp + 0x190]
mov dword [esp + 0x184], ebx
mov dword [esp + 0x188], 0
mov dword [esp + 0x18c], 0x80
lea ebp, [esp + 0x84]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0x80
cmp byte [0x416e88], 1
jne 0x408472
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00410c6e
jmp 0x4084fc
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
movsd xmm0, qword [esp + 0x28]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.00410c80
cmp edx, 0xfffffff0
jae 0x408731
mov esi, eax
cmp edx, 0xb
jae 0x4084b4
mov eax, edx
add al, dl
mov byte [esp + 0x1c], al
lea edi, [esp + 0x1d]
test edx, edx
jne 0x4084e4
jmp 0x4084f8
mov ebp, ebx
mov ebx, edx
or ebx, 0xf
lea eax, [ebx + 1]
mov dword [esp], eax
mov edi, edx
call sub.libc.dll_operator_new_unsigned_int_
mov edx, edi
mov edi, eax
mov dword [esp + 0x24], eax
add ebx, 2
mov dword [esp + 0x1c], ebx
mov ebx, ebp
lea ebp, [esp + 0x84]
mov dword [esp + 0x20], edx
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], edi
mov esi, edx
call sub.msvcrt.dll_memmove
mov edx, esi
mov byte [edi + edx], 0
movzx eax, byte [esp + 0x1c]
mov ecx, eax
shr ecx, 1
test al, 1
lea esi, [esp + 0x1d]
mov eax, dword [esp + 0x24]
cmove eax, esi
mov dword [esp + 0x40], eax
cmovne ecx, dword [esp + 0x20]
mov dword [esp + 0x44], ecx
movsd xmm0, qword [esp + 0x40]
movsd qword [esp], xmm0
lea eax, [esp + 0x184]
mov dword [esp + 8], eax
call fcn.00410c86
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov word [esp + 0x74], 0x101
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0x64]
movups xmmword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esp], xmm0
call fcn.00406420
test byte [esp + 0x1c], 1
je 0x40857e
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov eax, dword [esp + 0x2a8]
mov ecx, dword [esp + 0x2a4]
cmp byte [0x416e88], 1
jne 0x4085c2
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [esp + 4], xmm0
lea eax, [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 0xc], 0
call fcn.00410c6e
jmp 0x408648
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [esp], xmm0
mov dword [esp + 8], 0
call fcn.00410c80
cmp edx, 0xfffffff0
jae 0x408731
mov edi, eax
cmp edx, 0xb
jae 0x408600
mov eax, edx
add al, dl
mov byte [esp + 0x1c], al
test edx, edx
jne 0x408630
jmp 0x408644
mov ebp, ebx
mov ebx, edx
or ebx, 0xf
lea eax, [ebx + 1]
mov dword [esp], eax
mov esi, edx
call sub.libc.dll_operator_new_unsigned_int_
mov edx, esi
mov esi, eax
mov dword [esp + 0x24], eax
add ebx, 2
mov dword [esp + 0x1c], ebx
mov ebx, ebp
lea ebp, [esp + 0x84]
mov dword [esp + 0x20], edx
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp], esi
mov edi, edx
call sub.msvcrt.dll_memmove
mov edx, edi
mov byte [esi + edx], 0
movzx eax, byte [esp + 0x1c]
mov ecx, eax
shr ecx, 1
test al, 1
lea eax, [esp + 0x1d]
cmovne eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
cmovne ecx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
movsd xmm0, qword [esp + 0x30]
movsd qword [esp], xmm0
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.00410c86
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov word [esp + 0x60], 0x101
mov eax, dword [esp + 0x60]
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0x50]
movups xmmword [esp + 8], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [esp], xmm0
call fcn.00406420
test byte [esp + 0x1c], 1
je 0x4086c5
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.libc.dll_operator_delete_void_
mov eax, dword [esp + 0x184]
mov ecx, dword [esp + 0x188]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0xc], esi
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.dll_CompareStringOrdinal]
sub esp, 0x14
mov esi, eax
mov eax, dword [esp + 0x78]
cmp eax, ebp
je 0x40870d
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, dword [esp + 0x184]
cmp eax, ebx
je 0x408720
mov dword [esp], eax
call sub.msvcrt.dll_free
cmp esi, 2
sete al
add esp, 0x290
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x1c]
call fcn.00404d50
int3