Function at 0x140003130
Capabilities:
Capture network configuration via ipconfig
Create process on windows
Create thread
Execute command
Get token membership
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov byte [rbp - 0x20], 0
mov byte [rbp - 0x1f], 0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
xor r15d, r15d
mov qword [rbp], r15
movabs rdi, 0x7ffffffffd050f7f
movabs r12, 0x7fffffffffffffff
nop
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140003303
lea rdx, str.Made_by_EmirKefir._v._0.0.1_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004970
mov dword [rbp + 8], r15d
mov qword [rsp + 0x60], r15
mov dword [rbp - 0x18], 0
mov word [rbp - 0x14], 0x500
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x220
mov r8d, 0x20
mov dl, 2
lea rcx, [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x14000323d
lea r8, [rbp + 8]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp dword [rbp + 8], 1
jne 0x1400038c8
lea rdx, str.Please_enter_the_key:
call fcn.140004970
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r15
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], 0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.140004fa0
lea rcx, [rbp + 0x40]
call fcn.140002940
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test al, al
jne 0x140003357
lea rdx, str.Key_invalid._n
call fcn.140004970
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400031a0
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400038b1
call fcn.140005970
jmp 0x1400031a0
mov ecx, 0x32
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x14000397c
lea rcx, [rbp + 0x10]
call fcn.140001340
mov rax, qword [rbp + 0x10]
cmp rax, rdi
jge 0x140003343
add rax, 0x2faf080
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.140005140
jmp 0x1400031a0
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x60]
call fcn.140005140
jmp 0x1400031a0
lea rdx, str.Key_valid__Hello__n
call fcn.140004970
lea rdx, str.Choose_mode:_n1___Auto__all_adapters___soon__n2___Manual__specific_adapter__n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004970
xor sil, sil
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r15
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], 0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x60]
mov rcx, rbx
call fcn.140004fa0
lea rax, [rbp + 0x60]
mov rdi, qword [rbp + 0x60]
mov r14, qword [rbp + 0x78]
cmp r14, 0xf
cmova rax, rdi
mov rcx, qword [rbp + 0x70]
cmp rcx, 1
jne 0x1400034da
cmp byte [rax], 0x31
jne 0x1400034da
lea rcx, [rbp + 0x10]
call fcn.140001540
mov rbx, rax
lea rax, [rbp - 0x10]
cmp rax, rbx
je 0x140003479
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140003457
mov rdx, qword [rbp - 8]
call fcn.140004ce0
mov rdx, qword [rbp]
mov rcx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003446
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003735
call fcn.140005970
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], r15
mov rax, qword [rbx]
mov qword [rbp - 0x10], rax
mov rax, qword [rbx + 8]
mov qword [rbp - 8], rax
mov rax, qword [rbx + 0x10]
mov qword [rbp], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x1400034c4
mov rdx, qword [rbp + 0x18]
call fcn.140004ce0
mov rdx, qword [rbp + 0x20]
mov rcx, qword [rbp + 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034bf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003735
call fcn.140005970
mov rax, qword [rbp - 8]
cmp qword [rbp - 0x10], rax
je 0x14000373c
mov sil, 1
jmp 0x1400035f5
lea rax, [rbp + 0x60]
cmp r14, 0xf
cmova rax, rdi
cmp rcx, 1
jne 0x1400035e1
cmp byte [rax], 0x32
jne 0x1400035e1
lea rcx, str.wt.exe_new_tab_cmd.exe__k_ipconfig
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.Manual_mode_selected._Enter_the_adapter_name:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004970
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], 0
mov rbx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
movzx r8d, al
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.140004fa0
mov rax, qword [rbp - 8]
cmp rax, qword [rbp]
je 0x140003588
lea rdx, [rbp + 0x80]
mov rcx, rax
call fcn.1400042e0
add qword [rbp - 8], 0x20
jmp 0x14000359b
lea r8, [rbp + 0x80]
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.140005280
mov sil, 1
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x1400035f5
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400035da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000381a
call fcn.140005970
jmp 0x1400035f5
lea rdx, str.Invalid_choice._Please_enter_1_for_Auto_or_2_for_Manual._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004970
nop
cmp r14, 0xf
jbe 0x14000362c
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140003624
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003821
mov rcx, rdi
call fcn.140005970
test sil, sil
je 0x140003380
lea rdx, str.KefirNetwork_working..._Made_by_EmirKefir_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004970
mov eax, 1
xchg byte [rbp - 0x20], al
lea rcx, [rbp - 0x1f]
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
lea r8, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.140005600
mov rdi, qword [rax]
mov qword [rax], r15
mov qword [rbp + 0x10], rdi
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x1400036f0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400036e3
mov rdx, qword [rbx + 8]
call fcn.140004ce0
mov rcx, qword [rbx]
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
cmp rdx, 0x1000
jb 0x1400036d3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003828
mov rcx, r8
call fcn.140005970
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov edx, 0x30
mov rcx, rbx
call fcn.140005970
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rdi
lea r8, [0x1400057a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x30], rax
test rax, rax
je 0x1400038b8
cmp dword [rbp + 0x38], 0
jne 0x14000382f
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.No_active_network_adapters_found._Exiting..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004970
lea rdx, str.Blyat_napisano_she_skoro_eblan_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004970
lea rcx, [rbp + 0x10]
call fcn.140001340
movabs rcx, 0x7ffffffed5fa0dff
mov rax, qword [rbp + 0x10]
cmp rax, rcx
jge 0x140003792
movabs rcx, 0x12a05f200
add rcx, rax
mov qword [rsp + 0x60], rcx
jmp 0x140003797
mov qword [rsp + 0x60], r12
lea rcx, [rsp + 0x60]
call fcn.140005140
nop
cmp r14, 0xf
jbe 0x1400037d6
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400037cd
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003821
mov rcx, rdi
call fcn.140005970
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400039a3
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003810
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400038b1
call fcn.140005970
jmp 0x1400039a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x38], eax
jne 0x140003846
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x10], xmm0
xor edx, edx
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
je 0x14000386b
mov ecx, 2
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0xf
jbe 0x1400039a3
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003810
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003810
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rbp + 0x38], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rdx, str.Requesting_admin_privileges..._n
call fcn.140004970
mov r8d, 0x104
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x140003905
lea rdx, str.Failed_to_get_module_file_name._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004970
jmp 0x1400039a3
mov dword [rsp + 0x70], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
mov qword [rbp - 0x2c], rax
mov dword [rbp - 0x24], eax
lea rax, str.runas
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x60], 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140003973
lea rdx, str.Failed_to_restart_with_admin_privileges._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004970
jmp 0x1400039a3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, str.https:__warthunder.com_
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x1400039f1
mov rdx, qword [rbp - 8]
call fcn.140004ce0
mov rdx, qword [rbp]
mov rcx, qword [rbp - 0x10]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005970
xor eax, eax
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140005950
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret