Function at 0x408f10
Capabilities:
Create thread
Execute command
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x4c
push esi
push 0x484abc
push 0
call dword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
xorps xmm0, xmm0
mov dword [esp + 0x48], 0
movaps xmmword [esp + 0x38], xmm0
push 0xc0
mov dword [esp + 0x50], 0xf
mov byte [esp + 0x3c], 0
call fcn.00474132
mov esi, eax
xorps xmm0, xmm0
add esp, 0xc
mov ecx, esi
movq qword [esi + 0x28], xmm0
movq qword [esi + 0x40], xmm0
movq qword [esi + 0x58], xmm0
movq qword [esi + 0x70], xmm0
movq qword [esi + 0x88], xmm0
movq qword [esi + 0xa0], xmm0
movq qword [esi + 0xb8], xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [esi + 0x18], xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0xf
mov byte [esi + 0x18], 0
movups xmmword [esi + 0x30], xmm0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0xf
mov byte [esi + 0x30], 0
movups xmmword [esi + 0x48], xmm0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xf
mov byte [esi + 0x48], 0
movups xmmword [esi + 0x60], xmm0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0xf
mov byte [esi + 0x60], 0
movups xmmword [esi + 0x78], xmm0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0xf
mov byte [esi + 0x78], 0
movups xmmword [esi + 0x90], xmm0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xf
mov byte [esi + 0x90], 0
movups xmmword [esi + 0xa8], xmm0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0xf
mov byte [esi + 0xa8], 0
call fcn.00413070
test al, al
jne 0x4090c9
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x484ac0
call fcn.004094f0
mov ecx, esi
call fcn.004091d0
push 0xc0
push esi
call fcn.004743b3
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [esp + 0x50]
add esp, 0xc
cmp ecx, 0xf
jbe 0x4090c1
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4090b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4090b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004743b3
add esp, 8
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.0041a800
mov ecx, esi
call fcn.00415250
push 8
call fcn.00474132
add esp, 4
lea ecx, [esp + 0x14]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x40f920
push 0
push 0
mov dword [eax + 4], 0x419e10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
je 0x4091bb
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4091b3
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x4091b3
xorps xmm0, xmm0
movlpd qword [esp + 0x10], xmm0
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00414330
test al, al
je 0x409198
sub esp, 0x28
lea edx, [esp + 0x58]
mov eax, esp
lea ecx, [esp + 0x48]
sub esp, 8
mov dword [eax + 0x24], 0
call fcn.00409700
add esp, 0x30
lea ecx, [esp + 0x20]
mov edx, esi
call fcn.004049d0
cmp dword [esp + 0x44], 0xf
lea eax, [esp + 0x30]
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x28]
cmova eax, dword [esp + 0x30]
mov byte [eax], 0
push dword [esp + 0x20]
call fcn.00405e00
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x1e
mov dword [esp + 0x1c], 0
call fcn.00409990
jmp 0x409138
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [esp + 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3