Function at 0x40b420
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e7f6
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x414008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0x44
push 0x13
push str.AmazingLauncher.exe
lea ecx, [ebp - 0xb0]
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x64], xmm0
mov dword [ebp - 0xa0], 0
movups xmmword [ebp - 0xb0], xmm0
mov dword [ebp - 0x9c], 0
call fcn.00402690
lea eax, [ebp - 0xb0]
mov dword [ebp - 4], 0
push eax
call fcn.004077c0
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0x10
jb 0x40b508
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b4fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b4fe
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040cbca
add esp, 8
test esi, esi
jne 0x40b722
lea eax, [ebp - 0xc8]
push eax
call fcn.0040b300
push ecx
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.00408e20
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x80]
mov eax, ecx
mov edi, dword [ebp - 0x84]
sub eax, edi
push 0x13
push str.AmazingUpdater.exe
cmp eax, 0x13
jb 0x40b581
cmp ecx, 0x10
lea esi, [ebp - 0x94]
lea eax, [edi + 0x13]
cmovae esi, dword [ebp - 0x94]
mov dword [ebp - 0x84], eax
lea eax, [esi + edi]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi + 0x13], 0
lea eax, [ebp - 0x94]
jmp 0x40b594
push dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
push 0x13
call fcn.00409ab0
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 0x68], 0
lea ecx, [ebp - 0x54]
push ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x7c], xmm0
push 0
movups xmm0, xmmword [eax]
push 0
push 0
movups xmmword [ebp - 0x7c], xmm0
push 0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x6c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0x10
push 0
cmovae eax, dword [ebp - 0x7c]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 0x68]
mov esi, eax
cmp ecx, 0x10
jb 0x40b629
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b61f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6c3
push ecx
push edx
call fcn.0040cbca
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0x10
jb 0x40b672
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b668
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6c3
push ecx
push edx
call fcn.0040cbca
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0xf
mov byte [ebp - 0x94], 0
cmp ecx, 8
jb 0x40b6d3
mov edx, dword [ebp - 0xc8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b6c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b6c9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0040cbca
add esp, 8
xor eax, eax
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 7
mov word [ebp - 0xc8], ax
test esi, esi
jne 0x40b726
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Failed_to_create_process:
call fcn.00401d80
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
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___unsigned_long_int_]
push 0x401fc0
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_____]
xor al, al
jmp 0x40b738
push dword [ebp - 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x60]
call esi
mov al, 1
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.0040cb87
mov esp, ebp
pop ebp
ret