Function at 0x4036e0
Capabilities:
Create process on windows
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x408a28
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push str.__BloodStrike_Logs__
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x64], xmm0
call fcn.00405ef0
lea ecx, [ebp - 0x64]
mov dword [ebp - 4], 0
call fcn.00402810
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x40378a
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403780
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fa5
push ecx
push edx
call fcn.00407654
add esp, 8
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x9c], 0
push str.d3dref9.dll
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x98], 0
movups xmmword [ebp - 0xac], xmm0
call fcn.00405ef0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x94]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x84], 0
push str.vcomp.dll
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x80], 0
call fcn.00405ef0
mov edx, 0xbc800
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.00403080
mov edx, 0xa6c00
mov byte [ebp - 0x101], al
lea ecx, [ebp - 0x94]
call fcn.00403080
cmp byte [ebp - 0x101], 0
je 0x403f11
test al, al
je 0x403f11
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
push str.minia.exe
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x4c], xmm0
call fcn.00405cd0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
push str._app_run_use_english
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0x50], 0
call fcn.00405cd0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x4c]
mov byte [ebp - 0x108], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x108]
call fcn.00406730
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.004025c0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0x101], al
cmp ecx, 7
jbe 0x4038f0
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4038e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4038e0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00407654
mov al, byte [ebp - 0x101]
add esp, 8
test al, al
jne 0x40392c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.00405800
cmp dword [ebp - 0x38], 7
lea edx, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmova edx, dword [ebp - 0x4c]
mov ecx, eax
call fcn.00406b30
add esp, 4
mov ecx, eax
push 0x405a20
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
mov eax, dword [ebp - 0x50]
jmp 0x403e8a
mov ecx, dword [ebp - 0x3c]
xorps xmm0, xmm0
mov eax, 0x7ffffffe
movlpd qword [ebp - 0xec], xmm0
sub eax, ecx
movlpd qword [ebp - 0xe4], xmm0
movlpd qword [ebp - 0xdc], xmm0
movlpd qword [ebp - 0xd4], xmm0
movlpd qword [ebp - 0xcc], xmm0
movlpd qword [ebp - 0xc4], xmm0
movlpd qword [ebp - 0xbc], xmm0
movlpd qword [ebp - 0xb4], xmm0
mov dword [ebp - 0xf0], 0x44
mov dword [ebp - 0x108], ecx
movups xmmword [ebp - 0x100], xmm0
cmp eax, 1
jb 0x403fd2
cmp dword [ebp - 0x38], 7
lea edx, [ebp - 0x4c]
mov esi, 7
mov dword [ebp - 0x18], 0
cmova edx, dword [ebp - 0x4c]
lea edi, [ebp - 0x28]
inc ecx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x110], ecx
movups xmmword [ebp - 0x28], xmm0
cmp ecx, esi
jbe 0x403a54
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x403a1a
mov eax, 0x7fffffff
mov esi, 0x7ffffffe
add eax, eax
cmp eax, 0x1000
jb 0x403a3a
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x403fdc
push ecx
call fcn.0040750a
add esp, 4
test eax, eax
je 0x403b67
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x403a45
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
cmp eax, 0x7fffffff
ja 0x403fdc
add eax, eax
jne 0x4039ec
xor edi, edi
jmp 0x403a51
push eax
call fcn.0040750a
add esp, 4
mov edi, eax
mov edx, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x108]
add esi, esi
mov dword [ebp - 0x18], ecx
push esi
push edx
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, 0x20
xor ecx, ecx
mov word [edi + esi], ax
add esp, 0xc
mov eax, dword [ebp - 0x108]
mov word [edi + eax*2 + 2], cx
mov byte [ebp - 4], 6
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x50]
cmp eax, 7
mov ecx, dword [ebp - 0x18]
cmova edx, dword [ebp - 0x64]
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x14]
sub eax, ecx
mov dword [ebp - 0x10c], ecx
cmp edi, eax
ja 0x403ae4
cmp dword [ebp - 0x14], 7
lea eax, [edi + ecx]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x18], eax
cmova esi, dword [ebp - 0x28]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x10c]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x28]
jmp 0x403afe
push edi
push edx
push dword [ebp - 0x108]
lea ecx, [ebp - 0x28]
push edi
call fcn.00405b50
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x108], ecx
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x7c], xmm0
mov dword [ebp - 0x68], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x7c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x403b77
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403b6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403b6d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00407654
add esp, 8
lea ecx, [ebp - 0x100]
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0x14], 7
push ecx
push 0
push 0
push 0
xor eax, eax
cmp dword [ebp - 0x68], 7
push 0
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x7c]
cmova eax, dword [ebp - 0x7c]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x403bdf
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Process_creation_failed.
call fcn.00405370
push 0x405590
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x403e36
push 0xffffffffffffffff
push dword [ebp - 0x100]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x100]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xfc]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
push 9
push str.mscms.dll
lea ecx, [ebp - 0x188]
movq qword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x188], xmm0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
call fcn.00405ef0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x170]
push 9
xorps xmm0, xmm0
mov dword [ebp - 0x160], 0
push str.umpdc.dll
movups xmmword [ebp - 0x170], xmm0
mov dword [ebp - 0x15c], 0
call fcn.00405ef0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x158]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x148], 0
push str.dinput8.dll
movups xmmword [ebp - 0x158], xmm0
mov dword [ebp - 0x144], 0
call fcn.00405ef0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x140]
push 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x130], 0
push str.audioses.dll
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x12c], 0
call fcn.00405ef0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x128]
push 0xb
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
push str.profapi.dll
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], 0
call fcn.00405ef0
lea edi, [ebp - 0x188]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x34], 0
sub ecx, edi
mov dword [ebp - 0x30], 0
mov eax, 0x2aaaaaab
mov dword [ebp - 0x2c], 0
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x403e0d
cmp eax, 0xaaaaaaa
ja 0x403fd7
lea esi, [eax + eax*2]
shl esi, 3
mov dword [ebp - 0x10c], esi
test esi, esi
je 0x403da2
cmp esi, 0x1000
jb 0x403d97
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x403fdc
push eax
call fcn.0040750a
add esp, 4
test eax, eax
je 0x4038da
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x403da2
push esi
call fcn.0040750a
add esp, 4
mov esi, eax
mov ecx, dword [ebp - 0x10c]
lea eax, [ebp - 0x34]
add ecx, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x10c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x110]
mov byte [ebp - 4], 0xf
cmp edi, eax
je 0x403dfd
push edi
mov ecx, esi
call fcn.00404b80
add esi, 0x18
lea eax, [ebp - 0x110]
add edi, 0x18
mov dword [ebp - 0x18], esi
cmp edi, eax
jne 0x403de2
push ecx
mov edx, esi
mov ecx, esi
call fcn.00405fd0
add esp, 4
mov dword [ebp - 0x30], esi
push 0x404af0
push 5
push 0x18
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0x11
push eax
call fcn.0040753a
lea ecx, [ebp - 0x34]
call fcn.004031c0
lea ecx, [ebp - 0x34]
call fcn.00404d40
mov ecx, dword [ebp - 0x68]
cmp ecx, 7
jbe 0x403e70
mov edx, dword [ebp - 0x7c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403e66
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fa5
push ecx
push edx
call fcn.00407654
add esp, 8
xor eax, eax
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x68], 7
cmp eax, 7
jbe 0x403ec1
mov edx, dword [ebp - 0x64]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403eb7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fa5
push ecx
push edx
call fcn.00407654
add esp, 8
mov ecx, dword [ebp - 0x38]
cmp ecx, 7
jbe 0x403efb
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x403ef1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fa5
push ecx
push edx
call fcn.00407654
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
jmp 0x403f2e
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.DLL_size_check_failed._Exiting...
call fcn.00405370
push 0x405590
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, dword [ebp - 0x80]
cmp ecx, 0xf
jbe 0x403f61
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403f57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fa5
push ecx
push edx
call fcn.00407654
add esp, 8
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 0xf
jbe 0x403fb5
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403fab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403fab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00407654
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004074fc
mov esp, ebp
pop ebp
ret
call fcn.00401170
call fcn.00406720
call fcn.004010d0
int3