Function at 0x14007a3f0
Capabilities:
Create thread
Encode data using xor
Execute command
Hide graphical window
Query service status
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1403f2078]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
xor esi, esi
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140067a60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140067ab0
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov r14d, 1
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x1401433bc]
lea rcx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x1401433c8]
lea rcx, str.conin_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x1401433d4]
lea rcx, str.conout_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
lea ecx, [rsi + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rax
lea rdx, [0x1401433d4]
lea rcx, str.conout_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea edx, [rsi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
lea edx, [rsi + 8]
lea rcx, [rbp + 0x80]
call fcn.140074cf0
nop
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp + 0x68]
call qword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x14007a539
mov eax, dword [rbp + 0x70]
sub eax, dword [rbp + 0x68]
mov dword [0x1403f3010], eax
mov eax, dword [rbp + 0x74]
sub eax, dword [rbp + 0x6c]
mov dword [0x1403f3014], eax
lea rdx, [0x140070190]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, rax
movdqa xmm0, xmmword [0x140143760]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401437f0]
movdqu xmmword [rsp + 0x50], xmm1
mov word [rsp + 0x60], 0x100
mov rdx, rsi
nop word [rax + rax]
lea ecx, [rdx - 0x57]
xor byte [rsp + rdx + 0x40], cl
inc rdx
cmp rdx, 0x20
jb 0x14007a580
mov byte [rsp + 0x61], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140055980
lea rdx, [0x140064ba0]
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x140070130]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, rax
mov dword [rbp + 0x50], 0xc9e08aa3
mov dword [rbp + 0x54], 0x90958ed4
mov word [rbp + 0x58], 0x100
mov rcx, rsi
lea eax, [rcx - 0x57]
xor byte [rbp + rcx + 0x50], al
inc rcx
cmp rcx, 8
jb 0x14007a5e0
mov byte [rbp + 0x59], 0
lea rdx, [rbp + 0x50]
mov rcx, rdi
call fcn.140055980
lea rdi, [0x140394800]
mov rdx, rdi
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140061e40
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140005f70
xor edx, edx
mov rcx, rax
call fcn.140073f60
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 0xc7f790ea
mov dword [rsp + 0x34], 0xc481d7c8
mov dword [rsp + 0x38], 0x100c6c9
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x57]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0xa
jb 0x14007a660
mov byte [rsp + 0x3b], 0
mov dword [rsp + 0x20], r14d
mov r9d, 0x40
lea r8d, [r9 - 0x3e]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xd0]
call fcn.140065430
nop
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rdi, qword [0x140394800]
mov r8, qword [0x140394810]
mov rdx, rdi
lea rcx, [rbp + 0xd0]
call fcn.140055f80
lea rcx, [rbp + 0xd8]
call fcn.140006210
test rax, rax
jne 0x14007a6ef
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xd0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov byte [0x1403f2f58], 1
mov byte [0x1403f2f56], 1
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
mov dword [rbp + 0x50], 0xc5edeefe
mov dword [rbp + 0x54], 0xc2cadac1
mov word [rbp + 0x58], 0x100
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x57]
xor byte [rbp + rcx + 0x50], al
inc rcx
cmp rcx, 8
jb 0x14007a730
mov byte [rbp + 0x59], 0
mov r8d, 4
lea rdx, [rbp + 0x50]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, Ordinal_41
lea r8, [rbp + 0xa0]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
movzx ecx, byte [0x1403f2f57]
cmp dword [rbp + 0xa4], 4
cmove ecx, r14d
mov byte [0x1403f2f57], cl
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp byte [0x1403f2f57], 0
je 0x14007a8ef
mov dword [rbp + 0x60], 0xc3d9d8ec
mov word [rbp + 0x64], 0xdf
mov byte [rbp + 0x66], 1
lea rcx, [rbp + 0x60]
call fcn.140070290
mov rdi, rax
movdqa xmm0, xmmword [0x1401437d0]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1401437e0]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x140143700]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x1401436c0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x1401436e0]
movdqa xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], 0x100
lea rcx, [rbp - 0x80]
call fcn.140070350
mov r9d, 0x40030
mov r8, rdi
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm0, xmmword [0x140143740]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140143830]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0xbef8ff
mov byte [rsp + 0x64], 1
lea rcx, [rsp + 0x40]
call fcn.1400702f0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqa xmm0, xmmword [0x1401437a0]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x140143720]
movdqa xmmword [rbp - 0x70], xmm1
movdqa xmm0, xmmword [0x140143810]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x140143710]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [0x140143630]
movdqa xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x30], 1
lea rcx, [rbp - 0x80]
call fcn.140070320
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140068fb0
cmp byte [0x1403f2f56], 0
je 0x14007aa98
lea rcx, [0x1401430e8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [0x140070160]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rdi, rax
movdqa xmm0, xmmword [0x140143780]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0xc89bdfd4
mov dword [rsp + 0x54], 0xb0d09ed2
mov dword [rsp + 0x58], 0xeaedaca4
mov word [rsp + 0x5c], 0xeb
mov byte [rsp + 0x5e], 1
mov rcx, rsi
nop
lea eax, [rcx - 0x57]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x1d
jb 0x14007a970
mov byte [rsp + 0x5e], 0
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140055980
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rbp + 0x60], 0xd8d8dffb
mov word [rbp + 0x64], 0x100
mov rcx, rsi
nop dword [rax]
lea eax, [rcx - 0x57]
xor byte [rbp + rcx + 0x60], al
inc rcx
cmp rcx, 4
jb 0x14007a9b0
mov byte [rbp + 0x65], 0
mov dword [rbp + 0x50], 0xd8c2c4fc
mov dword [rbp + 0x54], 0xd4c1f9d4
mov dword [rbp + 0x58], 0xc7d2def2
mov word [rbp + 0x5c], Ordinal_200
mov byte [rbp + 0x5e], 1
mov rax, rsi
nop word [rax + rax]
lea ecx, [rax - 0x57]
xor byte [rbp + rax + 0x50], cl
inc rax
cmp rax, 0xd
jb 0x14007a9f0
mov byte [rbp + 0x5e], 0
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x50]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14007a992
lea rcx, [0x1401430e8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, [0x140070160]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rax
mov dword [rbp + 0x50], 0xc3e78aa3
mov dword [rbp + 0x54], 0xdec6cacc
mov dword [rbp + 0x58], 0x9a9d9cd6
mov word [rbp + 0x5c], 0x100
mov rdx, rsi
nop dword [rax]
lea eax, [rdx - 0x57]
xor byte [rbp + rdx + 0x50], al
inc rdx
cmp rdx, 0xc
jb 0x14007aa60
mov byte [rbp + 0x5d], 0
lea rdx, [rbp + 0x50]
call fcn.140055980
lea rcx, [0x1401430e8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov byte [0x1403f2f55], 1
mov byte [0x1403f2f56], 0
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14007aae9
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14007aae9
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1403f2ec0], rax
test rax, rax
je 0x14007aae9
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1403f2ec8], rax
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x1401423a8]
lea rcx, [0x1403f2fb0]
call fcn.140070b50
mov dword [0x1403f2ff8], eax
lea rdx, str.NtGdiEngLineTo
mov rcx, qword [0x1403f2ec0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403f2ff0], rax
test rax, rax
jne 0x14007ab4d
lea rdx, str.NtGdiEngLineTo
mov rcx, qword [0x1403f2ec8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1403f2ff0], rax
test rax, rax
je 0x14007abc4
mov rax, qword [0x1403f2fd8]
test rax, rax
jne 0x14007ab80
nop dword [rax]
lea rdx, str.Rust
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1403f2fd8], rax
test rax, rax
je 0x14007ab60
lea rdx, [0x1403f2fb8]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [0x1401423a8]
lea rcx, [0x1403f2fb0]
call fcn.140070b50
movsxd rcx, eax
mov qword [0x1403f2fe0], rcx
mov r8d, ecx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1403f2fe8], rax
mov dword [rsp + 0x40], 0xd9dfd9fb
mov dword [rsp + 0x44], 0xd9d8d9d8
mov dword [rsp + 0x48], 0xd9c2d9ee
mov dword [rsp + 0x4c], 0xd9d5d9c6
mov dword [rsp + 0x50], 0xd9c6d9df
mov dword [rsp + 0x54], 0xd9d1d99d
mov dword [rsp + 0x58], 0xd9d3d9cd
mov word [rsp + 0x5c], si
mov byte [rsp + 0x5e], 1
mov rcx, rsi
mov ebx, 0x2657
nop
movzx eax, cx
sub ax, bx
xor word [rsp + rcx*2 + 0x40], ax
inc rcx
cmp rcx, 0xe
jb 0x14007ac10
mov byte [rsp + 0x5e], 0
lea rdx, [rsp + 0x40]
lea rcx, [0x1403f2f98]
call fcn.140071950
mov dword [0x1403f2ff8], eax
mov dword [rsp + 0x40], 0xd9dfd9fb
mov dword [rsp + 0x44], 0xd9d8d9d8
mov dword [rsp + 0x48], 0xd9c2d9ee
mov dword [rsp + 0x4c], 0xd9d5d9c6
mov dword [rsp + 0x50], 0xd9c6d9df
mov dword [rsp + 0x54], 0xd9d1d99d
mov dword [rsp + 0x58], 0xd9d3d9cd
mov word [rsp + 0x5c], si
mov byte [rsp + 0x5e], 1
mov rdi, rsi
nop word [rax + rax]
movzx eax, di
sub ax, bx
xor word [rsp + rdi*2 + 0x40], ax
inc rdi
cmp rdi, 0xe
jb 0x14007ac90
mov byte [rsp + 0x5e], 0
lea rdx, [rsp + 0x40]
lea rcx, [0x1403f2f98]
call fcn.140071950
mov dword [0x1403f2fa0], eax
lea rcx, [0x1403f2fb0]
call fcn.140071150
mov qword [0x1403f2fc8], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
nop word [rax + rax]
movsxd rcx, dword [0x14018a078]
add rcx, qword [0x1403f2fc8]
mov qword [rbp + 0x60], rsi
mov qword [rsp + 0x40], 3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
movsxd rax, dword [0x1403f2ff8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rcx
lea rax, [rbp + 0x60]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 8
lea rdi, [rsp + 0x40]
xor eax, eax
xor ecx, ecx
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call qword [0x1403f2ff0]
mov qword [rbp + 0x50], rsi
mov qword [rbp - 0x20], 3
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
movsxd rax, dword [0x1403f2ff8]
mov qword [rbp - 0x18], rax
mov rax, qword [rbp + 0x60]
add rax, 0xb8
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x50]
mov qword [rbp - 8], rax
mov qword [rbp], 8
lea rdi, [rbp - 0x20]
xor eax, eax
xor ecx, ecx
rep stosb byte [rdi], al
lea rcx, [rbp - 0x20]
call qword [0x1403f2ff0]
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x18], 3
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x40], xmm0
movsxd rax, dword [0x1403f2ff8]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 8
lea rdi, [rbp + 0x18]
xor eax, eax
xor ecx, ecx
rep stosb byte [rdi], al
lea rcx, [rbp + 0x18]
call qword [0x1403f2ff0]
mov qword [rbp + 0x50], rsi
mov qword [rbp - 0x80], 3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
movsxd rax, dword [0x1403f2ff8]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp + 0x60]
add rax, 0x10
mov qword [rbp - 0x70], rax
lea rax, [rbp + 0x50]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], 8
lea rdi, [rbp - 0x80]
xor eax, eax
xor ecx, ecx
rep stosb byte [rdi], al
lea rcx, [rbp - 0x80]
call qword [0x1403f2ff0]
cmp qword [rbp + 0x50], 0
je 0x14007acf0
call fcn.140072850
nop
lea rcx, [rbp + 0xd0]
call fcn.140014570
nop
lea rcx, [rbp + 0x80]
call fcn.140005ed0
xor eax, eax
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.1401358a0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret