Function at 0x40b680
Capabilities:
Create process on windows
Hide graphical window
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446f65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x500
push ebx
push esi
push edi
mov edi, dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x10], esp
push 0
call edi
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov esi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
call esi
push 0
call edi
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 0x10
call esi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov esi, eax
push 4
push esi
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Please_use_only_ALT_Accounts_
call fcn.00403ef0
push 0x404100
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 [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Only_Win_10__Win_11__all_launchers
call fcn.00403ef0
push 0x404100
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 [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.You_need_Steam_open_to_see_the_menu._Ill_change_this_later__for_now_it_works_and_I_wont_change_it._hhhhhhh_
call fcn.00403ef0
push 0x404100
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_____]
push 2
push esi
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Press_Enter_to_continue_or_x_to_exit...
call fcn.00403ef0
push 0x404100
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 [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea eax, [ebp - 0x15]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::get_char__]
mov al, byte [ebp - 0x15]
cmp al, 0x78
je 0x40bf5b
cmp al, 0x58
je 0x40bf5b
push 4
push esi
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Updating_Offsets...
call fcn.00403ef0
push 0x404100
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_____]
push 2
push esi
call edi
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Update_offsets_success
call fcn.00403ef0
push 0x404100
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_____]
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 8
lea eax, [ebp - 0x200]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x30]
call fcn.0040b2f0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.0040b2f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
cmova eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
add esp, 8
test eax, eax
je 0x40b840
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x4486ce
call fcn.00403ef0
push 0x404100
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_____]
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
cmova eax, dword [ebp - 0x30]
mov ecx, 0x88917c
push eax
call fcn.00403b90
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Rename:
call fcn.00403ef0
cmp dword [ebp - 0x1c], 0xf
lea edx, [ebp - 0x30]
push dword [ebp - 0x20]
cmova edx, dword [ebp - 0x30]
mov ecx, eax
call fcn.00404520
add esp, 4
mov ecx, eax
push 0x404100
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 byte [ebp - 4], 0
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x40b8c2
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b8b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b8ef
push ecx
push edx
call fcn.0044588f
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x40b8ff
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b8f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b8f5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0044588f
add esp, 8
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Install_location_for_AlbionLauncher.exe
call fcn.00403ef0
push 0x404100
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_____]
push 0x208
lea eax, [ebp - 0x50c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x208
lea eax, [ebp - 0x304]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x58
lea eax, [ebp - 0xfc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x24
mov dword [ebp - 0xfc], 0x58
lea eax, [ebp - 0x50c]
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xf0], str.AlbionLauncher__.exe_
push eax
mov dword [ebp - 0xdc], 0x104
mov dword [ebp - 0xc8], 0x81004
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
test eax, eax
je 0x40bf8d
movzx ecx, word [ebp - 0xc4]
mov eax, dword [ebp - 0xe0]
lea eax, [eax + ecx*2]
push eax
lea eax, [ebp - 0x304]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
add esp, 0xc
mov edx, str.File_selected:
call fcn.0040c050
lea edx, [ebp - 0x304]
mov ecx, eax
call fcn.0040c050
push 0x40c280
mov ecx, eax
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_____]
lea eax, [ebp - 0x60]
mov dword [ebp - 0xa4], 0x44
push eax
lea eax, [ebp - 0xa4]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x50c]
movlpd qword [ebp - 0xa0], xmm0
push eax
push 0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x60], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test eax, eax
je 0x40bf6e
mov edx, str.Process_successfully_started.
call fcn.00403ef0
push 0x404100
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_____]
push 0xffffffffffffffff
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
movups xmmword [ebp - 0x4c], xmm0
mov word [ebp - 0x4c], ax
push 1
push 0x8006b0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 2
call fcn.00408fa0
mov ecx, dword [ebp - 0x3c]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x12
jb 0x40bfb2
cmp dword [ebp - 0x38], 7
lea edx, [ebp - 0x4c]
mov edi, 7
mov dword [ebp - 0x20], 0
cmova edx, dword [ebp - 0x4c]
lea esi, [ebp - 0x30]
add ecx, 0x12
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], ecx
movups xmmword [ebp - 0x30], xmm0
cmp ecx, edi
jbe 0x40bb9e
mov edi, ecx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x40bb34
mov eax, 0x7fffffff
mov edi, 0x7ffffffe
add eax, eax
jmp 0x40bb55
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x7fffffff
ja 0x40bfb7
add eax, eax
cmp eax, 0x1000
jb 0x40bb82
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x40bfb7
push ecx
call fcn.00445609
add esp, 4
test eax, eax
je 0x40befa
mov ecx, dword [ebp - 0x34]
lea esi, [eax + 0x23]
mov edx, dword [ebp - 0x14]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x40bb9b
test eax, eax
je 0x40bb99
push eax
call fcn.00445609
mov ecx, dword [ebp - 0x34]
add esp, 4
mov edx, dword [ebp - 0x14]
mov esi, eax
jmp 0x40bb9b
xor esi, esi
mov dword [ebp - 0x30], esi
movups xmm0, xmmword [0x8006b4]
mov dword [ebp - 0x20], ecx
lea ecx, [esi + 0x24]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 0x3c]
movups xmmword [esi], xmm0
movups xmm0, xmmword [0x8006c4]
movups xmmword [esi + 0x10], xmm0
mov eax, dword [0x8006d4]
mov dword [esi + 0x20], eax
lea eax, [edi + edi]
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
add esp, 0xc
mov word [esi + edi*2 + 0x24], ax
push 0x8006dc
push eax
mov byte [ebp - 4], 3
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Waiting_for_Alb_Online_to_open...
mov esi, eax
call fcn.00403ef0
push 0x404100
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 edi, edi
test esi, esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jne 0x40bc7f
cmp edi, 0x78
jge 0x40bc7f
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Waiting_for_Alb_Online_to_open...
call fcn.00403ef0
push 0x404100
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_____]
push 0x3e8
call esi
push 0x8006dc
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
inc edi
test eax, eax
jne 0x40bc7f
cmp edi, 2
jne 0x40bc17
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 1
cmova eax, dword [ebp - 0x30]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x2710
call esi
jmp 0x40bc17
call fcn.0040b250
test al, al
jne 0x40bccb
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Alb_Online_is_not_running._Trying_to_start_it...
call fcn.00403ef0
push 0x404100
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_____]
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 1
cmova eax, dword [ebp - 0x30]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1388
call esi
call fcn.0040b250
test al, al
jne 0x40bd0d
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Waiting_for_Alb_Online_to_start...
call fcn.00403ef0
push 0x404100
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_____]
push 0x3e8
call esi
call fcn.0040b250
test al, al
je 0x40bce0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Alb_Online_is_now_running.
call fcn.00403ef0
push 0x404100
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 [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Alb_Online_is_running.
call fcn.00403ef0
push 0x404100
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_____]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 9
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.steam.exe]
movq qword [ecx], xmm0
mov al, byte [0x8007ac]
mov byte [ecx + 8], al
mov byte [ecx + 9], 0
mov ecx, 0x889308
call fcn.0040aeb0
push 0x8006dc
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40bdc2
push 3
push eax
call edi
push 0x64
call esi
push 3
push dword [ebp - 0x14]
call edi
push 0x64
call esi
push 0
push dword [ebp - 0x14]
call edi
push 0xc8
call esi
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x14], esp
mov dword [eax], vtable.std::_Func_impl_no_alloc_void____cdecl___void___void___.0
mov dword [eax + 4], 0x403690
mov dword [eax + 0x24], eax
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0x14], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 7
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.SDL_app]
mov dword [ecx], eax
mov ax, word [0x8007b4]
mov word [ecx + 4], ax
mov al, byte [0x8007b6]
mov byte [ecx + 6], al
mov byte [ecx + 7], 0
mov byte [ebp - 4], 6
sub esp, 0x18
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.Steam]
mov dword [ecx], eax
mov al, byte [0x8007bc]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
mov byte [ebp - 4], 4
call fcn.004440e0
jmp 0x40be84
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x4c]
cmp ecx, 7
jbe 0x40bebd
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40beb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40befa
push ecx
push edx
call fcn.0044588f
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 7
cmp eax, 7
jbe 0x40bf0a
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x40bf00
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bf00
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0044588f
add esp, 8
push dword [0x889310]
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x40bf57
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x14], 0
jne 0x40bf50
push 0
push 0
push 0x10
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call esi
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, str.Error_starting_the_process.
call fcn.00403ef0
push 0x404100
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_____]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.Has_been_cancelled.
call fcn.00403ef0
push 0x404100
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_____]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
call fcn.00401950
call fcn.004018b0
int3