Function at 0x401130
Capabilities:
Create process on windows
Create thread
Enumerate processes
Inject thread
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x5e8
mov eax, dword [0x409008]
xor eax, esp
mov dword [esp + 0x5e4], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x4e4]
mov dword [esp + 0x1b0], 0
push eax
push 0
mov dword [esp + 0x1bc], 0xf
mov byte [esp + 0x1a8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x4e0]
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0xf
lea edx, [ecx + 1]
mov byte [esp + 0x184], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4011a7
sub ecx, edx
lea eax, [esp + 0x4e0]
push ecx
push eax
lea ecx, [esp + 0x18c]
call fcn.004032c0
cmp dword [esp + 0x198], 0x10
lea edx, [esp + 0x184]
mov eax, dword [esp + 0x194]
cmovae edx, dword [esp + 0x184]
or esi, 0xffffffff
test eax, eax
je 0x401229
dec eax
mov ecx, esi
cmp eax, esi
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x40120a
nop dword [eax]
cmp ecx, edx
je 0x401229
dec ecx
cmp byte [ecx], 0x5c
jne 0x401200
sub ecx, edx
cmp ecx, 0xffffffff
je 0x401229
push 0xc
push str.c1cx_lib.dll
push ecx
lea eax, [ecx + 1]
push eax
lea ecx, [esp + 0x194]
call fcn.00403150
lea ecx, [esp + 0x4e0]
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0xf
lea edx, [ecx + 1]
mov byte [esp + 0x16c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401251
sub ecx, edx
lea eax, [esp + 0x4e0]
push ecx
push eax
lea ecx, [esp + 0x174]
call fcn.004032c0
mov edi, dword [esp + 0x180]
lea edx, [esp + 0x16c]
mov eax, dword [esp + 0x17c]
cmp edi, 0x10
cmovae edx, dword [esp + 0x16c]
test eax, eax
je 0x4012d3
dec eax
mov ecx, esi
cmp eax, 0xffffffff
cmovb ecx, eax
add ecx, edx
cmp byte [ecx], 0x5c
je 0x4012ad
cmp ecx, edx
je 0x4012d3
dec ecx
cmp byte [ecx], 0x5c
jne 0x4012a3
sub ecx, edx
cmp ecx, 0xffffffff
je 0x4012d3
push 0xa
push str.config.ini
push ecx
lea eax, [ecx + 1]
push eax
lea ecx, [esp + 0x17c]
call fcn.00403150
mov edi, dword [esp + 0x180]
push 0xb4
lea eax, [esp + 0x28]
mov dword [esp + 0x144], 0
push 0
push eax
mov dword [esp + 0x150], 0xf
mov byte [esp + 0x13c], 0
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x20], 0x406484
cmp edi, 0x10
lea esi, [esp + 0x16c]
lea ecx, [esp + 0x90]
cmovae esi, dword [esp + 0x16c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x20], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x1c], eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esp + 0x78], 0
mov byte [esp + 0x6d], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x409600]
push ecx
push 1
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x38]
mov eax, dword [0x409604]
push esi
mov dword [esp + 0x88], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], 0
call fcn.00403560
test eax, eax
jne 0x4013d1
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x20], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x1c], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
cmp dword [esp + eax + 0x2c], 0
jne 0x401637
cmp dword [esp + 0x7c], 0
je 0x40162b
lea ecx, [esp + 0x20]
mov dword [esp + 0x164], 0
push 0xa
add ecx, eax
mov dword [esp + 0x16c], 0xf
mov byte [esp + 0x158], 0
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [esp + 0x154]
push eax
lea ecx, [esp + 0x24]
call fcn.00403f80
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4015c1
nop dword [eax]
nop dword [eax + eax]
push ecx
push str.GamePath
lea ecx, [esp + 0x15c]
call fcn.00402470
cmp eax, 0xffffffff
jne 0x4014c4
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x20]
push 0xa
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_char___thiscall_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const]
movzx eax, al
lea edx, [esp + 0x154]
push eax
lea ecx, [esp + 0x24]
call fcn.00403f80
add esp, 4
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x401470
jmp 0x4015c1
push 0xffffffffffffffff
push ecx
push 0x4062f4
lea ecx, [esp + 0x160]
call fcn.00402470
inc eax
lea ecx, [esp + 0x158]
push eax
lea eax, [esp + 0x1bc]
push eax
call fcn.004022f0
mov esi, eax
lea eax, [esp + 0x130]
cmp eax, esi
je 0x401583
mov edx, dword [esp + 0x144]
cmp edx, 0x10
jb 0x40153b
mov ecx, dword [esp + 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401531
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4015b1
push edx
push ecx
call fcn.0040468f
add esp, 8
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0xf
mov byte [esp + 0x130], 0
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x130], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [esp + 0x140], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [esp + 0x1c8]
cmp edx, 0x10
jb 0x4015c1
mov ecx, dword [esp + 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4015b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4015b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040468f
add esp, 8
lea ecx, [esp + 0x30]
call fcn.004034f0
test eax, eax
jne 0x4015e4
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov edx, dword [esp + 0x168]
cmp edx, 0x10
jb 0x4018e8
mov ecx, dword [esp + 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40161c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40161c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040468f
add esp, 8
jmp 0x4018e8
push 0x14
push str.FAIL_iniFile.is_open
jmp 0x4018dc
push 0x41
push str.c1cx
push str.Point_me_to_your_CoDMP_file
push 0
call edi
cmp eax, 2
jne 0x401653
xor esi, esi
jmp 0x40201d
push 0x58
lea eax, [esp + 0xdc]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xd8], 0x58
lea eax, [esp + 0x2b0]
mov dword [esp + 0xdc], 0
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xd8]
mov byte [esp + 0x2b0], 0
push eax
mov dword [esp + 0xfc], 0x104
mov dword [esp + 0xe8], str.Executable_Files
mov dword [esp + 0xf4], 1
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x110], 0x1800
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameA]
test eax, eax
je 0x4018d5
mov edx, dword [esp + 0xf4]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401702
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x138]
call fcn.004032c0
push 0xac
lea eax, [esp + 0x208]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x200], 0x40647c
cmp dword [esp + 0x180], 0x10
lea esi, [esp + 0x16c]
lea ecx, [esp + 0x268]
cmovae esi, dword [esp + 0x16c]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
push 0
lea eax, [esp + 0x20c]
push eax
lea ecx, [esp + 0x20c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char_____bool_]
mov eax, dword [esp + 0x200]
mov eax, dword [eax + 4]
mov dword [esp + eax + method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x200]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0x1fc], eax
lea ecx, [esp + 0x204]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
lea ecx, [esp + 0x204]
mov dword [esp + method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esp + 0x24c], 0
mov byte [esp + 0x241], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x409600]
push ecx
push 2
mov dword [esp + 0x24c], eax
lea ecx, [esp + 0x20c]
mov eax, dword [0x409604]
push esi
mov dword [esp + 0x25c], 0
mov dword [esp + 0x254], eax
mov dword [esp + 0x248], 0
call fcn.00403560
test eax, eax
jne 0x401834
push eax
mov eax, dword [esp + 0x204]
lea ecx, [esp + 0x204]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov eax, dword [esp + 0x200]
mov eax, dword [eax + 4]
mov dword [esp + eax + method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [esp + 0x200]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [esp + ecx + 0x1fc], eax
cmp dword [esp + 0x250], 0
je 0x4018c7
lea ecx, [esp + 0x200]
call fcn.004036c0
cmp dword [esp + 0x144], 0x10
lea edx, [esp + 0x130]
push dword [esp + 0x140]
cmovae edx, dword [esp + 0x134]
mov ecx, eax
call fcn.00404130
add esp, 4
lea ecx, [esp + 0x204]
call fcn.004034f0
test eax, eax
jne 0x4018c7
push eax
mov eax, dword [esp + 0x204]
lea ecx, [esp + 0x204]
push 2
mov eax, dword [eax + 4]
add ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [esp + 0x200]
call fcn.00402240
jmp 0x4018e8
push 0x15
push str.FAIL_GetOpenFileNameA
lea ecx, [esp + 0x1a4]
call fcn.004032c0
cmp dword [esp + 0x1ac], 0
jne 0x401ff5
push ecx
push 0x406364
lea ecx, [esp + 0x138]
call fcn.00402390
mov edx, eax
cmp edx, 0xffffffff
je 0x4019c1
cmp dword [esp + 0x140], edx
lea eax, [esp + 0x130]
lea ecx, [esp + 0x154]
mov dword [esp + 0x164], 0
cmovb edx, dword [esp + 0x140]
cmp dword [esp + 0x144], 0x10
push edx
cmovae eax, dword [esp + 0x134]
push eax
mov dword [esp + 0x170], 0xf
mov byte [esp + 0x15c], 0
call fcn.004032c0
cmp dword [esp + 0x168], 0x10
lea eax, [esp + 0x154]
cmovae eax, dword [esp + 0x154]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [esp + 0x168]
cmp edx, 0x10
jb 0x4019c1
mov ecx, dword [esp + 0x154]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4019b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4019b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040468f
add esp, 8
push ecx
push 0x406368
lea ecx, [esp + 0x138]
call fcn.00402390
cmp eax, 0xffffffff
je 0x401f91
lea ecx, [eax + 1]
mov dword [esp + 0x1c4], 0
mov eax, dword [esp + 0x140]
mov dword [esp + 0x1c8], 0xf
mov byte [esp + 0x1b4], 0
cmp eax, ecx
jb 0x402186
sub eax, ecx
mov edx, 0xffffffff
cmp eax, 0xffffffff
cmovb edx, eax
cmp dword [esp + 0x144], 0x10
lea eax, [esp + 0x130]
cmovae eax, dword [esp + 0x130]
add eax, ecx
lea ecx, [esp + 0x1b4]
push edx
push eax
call fcn.004032c0
cmp dword [esp + 0x1c8], 0x10
lea edx, [esp + 0x1b4]
mov eax, dword [esp + 0x1c4]
lea edi, [esp + 0x1b4]
cmovae edx, dword [esp + 0x1b4]
add eax, edx
mov dword [esp + 0x164], 0
cmp dword [esp + 0x1c8], 0x10
mov dword [esp + 0xc], eax
cmovae edi, dword [esp + 0x1b4]
xor ecx, ecx
sub eax, edi
mov dword [esp + 0x168], 7
mov word [esp + 0x154], cx
cmp eax, 7
jbe 0x401ac2
mov byte [esp + 8], cl
lea ecx, [esp + 0x154]
push dword [esp + 8]
push eax
call fcn.00404450
mov dword [esp + 0x164], 0
push dword [esp + 0xc]
lea ecx, [esp + 0x158]
push dword [esp + 0x10]
push edi
call fcn.004043a0
cmp dword [esp + 0x168], 8
lea eax, [esp + 0x154]
mov edi, dword [esp + 0x154]
push 0
cmovae eax, edi
push 2
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [esp + 8], esi
cmp esi, 0xffffffff
je 0x401b96
lea eax, [esp + 0x2b0]
mov dword [esp + 0x2b0], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401b96
lea eax, [esp + 0x2b0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x401b96
nop
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x2d4]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401b76
test dx, dx
je 0x401b72
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401b76
add eax, 4
add ecx, 4
test dx, dx
jne 0x401b50
xor eax, eax
jmp 0x401b7b
sbb eax, eax
or eax, 1
test eax, eax
je 0x401c0c
lea eax, [esp + 0x2b0]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401b40
xor esi, esi
push 0x40
lea eax, [esp + 0xe0]
mov dword [esp + 0xdc], 0x44
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [esp + 0x10]
cmp dword [esp + 0x144], 0x10
lea eax, [esp + 0x130]
cmovae eax, dword [esp + 0x130]
push ecx
lea ecx, [esp + 0xdc]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401c26
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
mov esi, dword [esp + 0x18]
jmp 0x401c39
push dword [esp + 8]
mov esi, dword [esp + 0x2bc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x401c39
jmp 0x401b98
push 0x13
push str.FAIL_CreateProcessA
lea ecx, [esp + 0x1a4]
call fcn.004032c0
cmp dword [esp + 0x1ac], 0
jne 0x401f16
push esi
push 0
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401f03
mov ecx, dword [esp + 0x194]
push 4
push 0x3000
inc ecx
push ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edx, eax
mov dword [esp + 8], edx
test edx, edx
je 0x401efa
cmp dword [esp + 0x198], 0x10
lea ecx, [esp + 0x184]
mov eax, dword [esp + 0x194]
cmovae ecx, dword [esp + 0x184]
inc eax
push 0
push eax
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x401ecc
push 0
push 0
push dword [esp + 0x10]
push dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [esp + 0xc], eax
test eax, eax
je 0x401ec3
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x8000
push 0
push dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
mov edi, dword [sym.imp.USER32.dll_FindWindowA]
push str.Call_of_Duty_Multiplayer
push 0
call edi
mov esi, eax
test esi, esi
jne 0x401d37
nop dword [eax]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.Call_of_Duty_Multiplayer
push 0
call edi
mov esi, eax
test esi, esi
je 0x401d20
lea ecx, [esp + 0x4e0]
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0xf
lea edx, [ecx + 1]
mov byte [esp + 0x1cc], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401d60
sub ecx, edx
lea eax, [esp + 0x4e0]
push ecx
push eax
lea ecx, [esp + 0x1d4]
call fcn.004032c0
sub esp, 8
lea ecx, [esp + 0x1d4]
call fcn.00402350
cmp eax, 0xffffffff
je 0x401da8
push 9
push str.imgui.ini
push ecx
inc eax
lea ecx, [esp + 0x1d8]
push eax
call fcn.00403150
mov eax, dword [esp + 0x1dc]
inc eax
mov dword [esp + 0x10], 1
cmp dword [esp + 0x1e0], 0x10
mov dword [esp + 0x14], eax
lea eax, [esp + 0x1cc]
cmovae eax, dword [esp + 0x1cc]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push esi
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x1e0]
cmp edx, 0x10
jb 0x401e22
mov ecx, dword [esp + 0x1cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401e18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401eac
push edx
push ecx
call fcn.0040468f
add esp, 8
mov eax, dword [esp + 0x168]
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0xf
mov byte [esp + 0x1cc], 0
cmp eax, 8
jb 0x401e7e
mov ecx, dword [esp + 0x154]
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401e74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401eac
push edx
push ecx
call fcn.0040468f
add esp, 8
mov edx, dword [esp + 0x1c8]
cmp edx, 0x10
jb 0x401ebc
mov ecx, dword [esp + 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401eb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401eb2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040468f
add esp, 8
xor esi, esi
jmp 0x40201d
push 0x17
push str.FAIL_CreateRemoteThread
jmp 0x401f0a
push 0x17
push str.FAIL_WriteProcessMemory
lea ecx, [esp + 0x1a4]
call fcn.004032c0
push 0x8000
push 0
push dword [esp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401f16
push 0x13
push str.FAIL_VirtualAllocEx
jmp 0x401f0a
push 0x10
push str.FAIL_OpenProcess
lea ecx, [esp + 0x1a4]
call fcn.004032c0
mov eax, dword [esp + 0x168]
cmp eax, 8
jb 0x401f4d
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x401f43
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401f7b
push ecx
push edi
call fcn.0040468f
add esp, 8
mov edx, dword [esp + 0x1c8]
cmp edx, 0x10
jb 0x401f8b
mov ecx, dword [esp + 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x401f81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401f81
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040468f
add esp, 8
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [esp + 0x1ac], 0
jne 0x401ff5
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x1e4]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x401fec
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
nop dword [eax + eax]
lea eax, [esp + 0x1e4]
push eax
call edi
lea eax, [esp + 0x1e4]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x1f0]
push eax
call esi
test eax, eax
jne 0x401fc0
mov esi, dword [esp + 0x1ec]
jmp 0x40201d
cmp dword [esp + 0x1b0], 0x10
lea eax, [esp + 0x19c]
push 0x10
cmovae eax, dword [esp + 0x1a0]
push str.c1cx
push eax
push 0
call edi
mov esi, 1
lea ecx, [esp + 0x20]
call fcn.00402190
mov edx, dword [esp + 0x144]
cmp edx, 0x10
jb 0x402062
mov ecx, dword [esp + 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402058
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40215e
push edx
push ecx
call fcn.0040468f
add esp, 8
mov edx, dword [esp + 0x180]
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0xf
mov byte [esp + 0x130], 0
cmp edx, 0x10
jb 0x4020bc
mov ecx, dword [esp + 0x16c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4020b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40215e
push edx
push ecx
call fcn.0040468f
add esp, 8
mov edx, dword [esp + 0x198]
mov dword [esp + 0x17c], 0
mov dword [esp + 0x180], 0xf
mov byte [esp + 0x16c], 0
cmp edx, 0x10
jb 0x402112
mov ecx, dword [esp + 0x184]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402108
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40215e
push edx
push ecx
call fcn.0040468f
add esp, 8
mov edx, dword [esp + 0x1b0]
mov dword [esp + 0x194], 0
mov dword [esp + 0x198], 0xf
mov byte [esp + 0x184], 0
cmp edx, 0x10
jb 0x40216e
mov ecx, dword [esp + 0x19c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402164
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402164
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040468f
add esp, 8
mov ecx, dword [esp + 0x5ec]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0040464e
mov esp, ebp
pop ebp
ret 0x10
call fcn.004036b0
int3