joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001d50
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140147040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, qword [0x140148278]
mov rsi, r9
mov rbp, r8
mov qword [rsp + 0x30], 0
mov rcx, rdx
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001dd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140001dbd
mov al, 1
jmp 0x140001e25
lea rdx, str.CreateFileA_failed
mov rcx, rdi
call fcn.140012ed0
xor al, al
jmp 0x140001e25
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, esi
mov qword [rsp + 0x20], 0
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
test eax, eax
jne 0x140001e15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.WriteFile_failed
mov rcx, rdi
call fcn.140012ed0
xor al, al
jmp 0x140001e25
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
cmp rax, rsi
sete al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001cb60
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret

Function at 0x140012150
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x140148280]
xor ebx, ebx
mov r8, rdx
mov qword [rsp + 0x28], rbx
xor r9d, r9d
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rsi, rax
test rax, rax
jne 0x1400121aa
lea rdx, str.CreateThread_failed
mov rcx, rdi
call fcn.140012ed0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 0x28
call fcn.14001cd04
mov qword [rsp + 0x50], rax
mov r8, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
lea rax, vtable.ACE::ThreadData.0
mov qword [r8 + 8], rsi
mov qword [r8], rax
mov word [r8 + 0x10], bx
mov qword [r8 + 0x18], rbx
mov qword [r8 + 0x20], rbx
movsxd rax, dword [rdi + 0x18]
cmp eax, dword [rdi + 0x1c]
jl 0x14001221c
mov rax, qword [vtable.ACE::ThreadData.0]
mov edx, 1
mov rcx, r8
call rax
lea rdx, str.Data_list_is_full
mov rcx, rdi
call fcn.140012ed0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rdx, rax
test eax, eax
jle 0x140012244
mov rax, qword [rdi + 0x10]
mov rcx, rbx
nop word [rax + rax]
cmp qword [rax], 0
je 0x140012262
inc ebx
inc rcx
add rax, 8
cmp rcx, rdx
jl 0x140012230
mov rcx, qword [rdi + 0x10]
mov rax, rsi
mov qword [rcx + rdx*8], r8
inc dword [rdi + 0x18]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rax, qword [rdi + 0x10]
movsxd rcx, ebx
mov rbx, qword [rsp + 0x40]
mov qword [rax + rcx*8], r8
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140012280
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, qword [0x140148280]
mov rsi, rdx
movsxd rax, dword [rdi + 0x18]
test eax, eax
jle 0x1400122cd
mov rcx, qword [rdi + 0x10]
mov r9, rax
xor eax, eax
nop word [rax + rax]
mov rbx, qword [rcx]
test rbx, rbx
je 0x1400122c1
mov r8, qword [rbx + 8]
cmp r8, qword [rdx]
je 0x1400122df
inc rax
add rcx, 8
cmp rax, r9
jl 0x1400122b0
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov byte [rbx + 0x11], 1
mov rcx, r8
call qword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
je 0x1400122cd
mov ecx, 0xa
mov byte [rbx + 0x10], 1
call qword [sym.imp.KERNEL32.dll_Sleep]
movsxd rax, dword [rdi + 0x18]
test eax, eax
jle 0x14001233d
xor edx, edx
mov r8, rax
mov rax, qword [rdi + 0x10]
xor ecx, ecx
cmp qword [rax], rbx
je 0x140012329
inc edx
inc rcx
add rax, 8
cmp rcx, r8
jl 0x140012314
jmp 0x14001233d
cmp edx, 0xffffffff
je 0x14001233d
mov rax, qword [rdi + 0x10]
movsxd rdx, edx
mov qword [rax + rdx*8], 0
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rbx, qword [rsp + 0x30]
mov al, 1
mov qword [rsi], 0
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400123e0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x140147040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x14001243f
imul eax, edx, 0x3e8
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1006
mov dword [rsp + 0x30], eax
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140012454
mov edx, 0x1006
lea rcx, str.setsockopt_failed__option__d
call fcn.140001bc0
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001cb60
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1005
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400124a1
mov edx, 0x1005
lea rcx, str.setsockopt_failed__option__d
call fcn.140001bc0
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001cb60
add rsp, 0x40
pop rbx
ret
mov al, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001cb60
add rsp, 0x40
pop rbx
ret
Function at 0x140012820
Capabilities:
Convert ip address from string
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140147040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 1
mov rbx, rcx
mov edi, 2
mov ecx, edi
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x18], rax
cmp rax, 0xffffffffffffffff
jne 0x14001286f
lea rcx, str.socket_failed
call fcn.140001bc0
xor al, al
jmp 0x14001293e
movzx ecx, word [rbx + 0x10]
mov word [rsp + 0x38], di
call qword [sym.imp.WS2_32.dll_htons]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x3c]
mov ecx, edi
mov word [rsp + 0x3a], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1400128ab
lea rcx, str.inet_pton_failed
call fcn.140001bc0
xor al, al
jmp 0x14001293e
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x30], 1
mov r8d, 4
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1400128ea
lea rcx, str.setsockopt_failed
call fcn.140001bc0
xor al, al
jmp 0x14001293e
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x38]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140012914
lea rcx, str.bind_failed
call fcn.140001bc0
xor al, al
jmp 0x14001293e
mov rcx, qword [rbx + 0x18]
mov edx, 0x7fffffff
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
jne 0x140012938
lea rcx, str.listen_failed
call fcn.140001bc0
xor al, al
jmp 0x14001293e
mov byte [rbx + 0x20], 1
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001cb60
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140012960
Capabilities:
Connect socket
Convert ip address from string

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140147040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140012993
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x18], 0
mov edx, 1
mov edi, 2
mov ecx, edi
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x18], rax
cmp rax, 0xffffffffffffffff
jne 0x1400129c3
lea rcx, str.socket_failed
call fcn.140001bc0
xor al, al
jmp 0x140012a2c
movzx ecx, word [rbx + 0x10]
mov word [rsp + 0x20], di
call qword [sym.imp.WS2_32.dll_htons]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x24]
mov ecx, edi
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1400129fc
lea rcx, str.inet_pton_failed
call fcn.140001bc0
xor al, al
jmp 0x140012a2c
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x20]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140012a26
lea rcx, str.connect_failed
call fcn.140001bc0
xor al, al
jmp 0x140012a2c
mov byte [rbx + 0x20], 1
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14001cb60
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x140012b80
Capabilities:
Convert ip address from string
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140147040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140012bb3
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x18], 0
mov edi, 2
mov edx, edi
mov ecx, edi
lea r8d, [rdi + 0xf]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x18], rax
cmp rax, 0xffffffffffffffff
jne 0x140012be3
lea rcx, str.socket_failed
call fcn.140001bc0
xor al, al
jmp 0x140012c8b
movzx ecx, word [rbx + 0x10]
mov word [rsp + 0x38], di
call qword [sym.imp.WS2_32.dll_htons]
mov rdx, qword [rbx + 8]
lea r8, [rsp + 0x3c]
mov ecx, edi
mov word [rsp + 0x3a], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x140012c1c
lea rcx, str.inet_pton_failed
call fcn.140001bc0
xor al, al
jmp 0x140012c8b
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov dword [rsp + 0x30], 1
mov r8d, 4
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x140012c5b
lea rcx, str.setsockopt_failed
call fcn.140001bc0
xor al, al
jmp 0x140012c8b
mov rcx, qword [rbx + 0x18]
lea rdx, [rsp + 0x38]
mov r8d, reloc.WS2_32.dll_recv
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x140012c85
lea rcx, str.bind_failed
call fcn.140001bc0
xor al, al
jmp 0x140012c8b
mov byte [rbx + 0x20], 1
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001cb60
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140012cb0
Capabilities:
Convert ip address from string

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x18]
test rcx, rcx
je 0x140012cd4
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx + 0x18], 0
mov edi, 2
mov edx, edi
mov ecx, edi
lea r8d, [rdi + 0xf]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x18], rax
cmp rax, 0xffffffffffffffff
jne 0x140012d0a
lea rcx, str.socket_failed
call fcn.140001bc0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movzx ecx, word [rbx + 0x10]
mov word [rbx + 0x28], di
call qword [sym.imp.WS2_32.dll_htons]
mov rdx, qword [rbx + 8]
lea r8, [rbx + 0x2c]
mov ecx, edi
mov word [rbx + 0x2a], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x140012d49
lea rcx, str.inet_pton_failed
call fcn.140001bc0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov byte [rbx + 0x20], 1
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140012d60
Capabilities:
Send data
Send data on socket

Disassembly:
sub rsp, 0x38
test rdx, rdx
je 0x140012d93
test r8, r8
je 0x140012d93
lea rax, [rcx + 0x28]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov rcx, qword [rcx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_sendto]
test eax, eax
setg al
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret
Function at 0x140012da0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [0x140147040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebp, r9d
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
test rdx, rdx
je 0x140012e0d
test rbx, rbx
je 0x140012e0d
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rcx
lea rax, [rsi + 0x28]
mov rcx, qword [rsi + 0x18]
mov r9d, ebp
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_recvfrom]
test eax, eax
setg al
jmp 0x140012e0f
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001cb60
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140012e30
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140147040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [rsp + 0x90]
mov r14d, r9d
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x140012eb2
test rbx, rbx
je 0x140012eb2
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov qword [rsp + 0x28], rcx
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x18]
mov r9d, r14d
mov r8d, ebx
mov qword [rsp + 0x20], rax
mov rdx, rsi
call qword [sym.imp.WS2_32.dll_recvfrom]
test rdi, rdi
je 0x140012eab
movsxd rcx, eax
mov qword [rdi], rcx
test eax, eax
setg al
jmp 0x140012eb4
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14001cb60
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140013c90
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, str.CONSOLE_SOCKET_PORT
mov rcx, qword [0x1401482b8]
add rcx, 0x10
call fcn.1400011c0
mov edx, eax
mov rcx, rbx
call fcn.1400143b0
mov rcx, qword [0x1401482b8]
lea rdx, str.LOADER_SOCKET_PORT
add rcx, 0x10
call fcn.1400011c0
mov edx, eax
mov rcx, rbx
call fcn.1400143b0
mov rcx, qword [0x1401482b8]
lea rdx, str.WIN32_SOCKET_PORT
add rcx, 0x10
call fcn.1400011c0
mov edx, eax
mov rcx, rbx
call fcn.1400143b0
mov rcx, qword [0x1401482b8]
lea rdx, str.WNDPROC_SOCKET_PORT
add rcx, 0x10
call fcn.1400011c0
mov edx, eax
mov rcx, rbx
call fcn.1400143b0
mov rcx, qword [0x1401482b8]
lea rdx, str.AOW_NOTIFY_SOCKET_PORT
add rcx, 0x10
call fcn.1400011c0
mov edx, eax
mov rcx, rbx
call fcn.140014450
mov rcx, qword [0x1401482b8]
lea rdx, str.SO_SOCKET_PORT
add rcx, 0x10
call fcn.1400011c0
mov edx, eax
mov rcx, rbx
call fcn.140014450
mov rcx, qword [0x1401482b8]
lea rdx, str.CORE_NOTIFY_SOCKET_PORT
add rcx, 0x10
call fcn.1400011c0
mov edx, eax
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140014450

Function at 0x140013ff0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
mov rdx, r8
call fcn.1400142f0
mov r9, rbx
mov r8, rdi
lea rdx, str.push__s__s
lea rcx, [rsp + 0x38]
call fcn.140013670
nop
mov r9, qword [rax + 0x10]
mov r8, qword [rsi + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rbx, qword [rax + 0x10]
cmp byte [rsi + 0x28], 0
je 0x14001406b
lea rdx, [0x1400191f0]
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, rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140014079
mov edx, 0xffffffff
mov rcx, rbx
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
nop
mov rcx, qword [rsp + 0x48]
call fcn.14001cc58
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x1400140a0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
xor r9d, r9d
mov r8, rdx
lea rdx, [rsp + 0x38]
call fcn.140013d90
nop
mov r9, qword [rax + 0x10]
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x140014101
lea rdx, [0x1400191f0]
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, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x14001410f
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
nop
mov rcx, qword [rsp + 0x48]
call fcn.14001cc58
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400142f0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rbx, rcx
mov r8, rdx
lea rdx, str.rm__rf__s
lea rcx, [rsp + 0x50]
call fcn.140013670
nop
xor r9d, r9d
mov r8, qword [rax + 0x10]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140013d90
nop
mov r9, qword [rax + 0x10]
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x14001436a
lea rdx, [0x1400191f0]
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, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140014378
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
nop
mov rcx, qword [rsp + 0x48]
call fcn.14001cc58
nop
mov rcx, qword [rsp + 0x60]
call fcn.14001cc58
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x1400143b0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov r9d, edx
mov r8d, edx
lea rdx, str.reverse_tcp:_d_tcp:_d
lea rcx, [rsp + 0x38]
call fcn.140013670
nop
mov r9, qword [rax + 0x10]
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x140014418
lea rdx, [0x1400191f0]
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, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x140014426
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
nop
mov rcx, qword [rsp + 0x48]
call fcn.14001cc58
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x140014450
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov r9d, edx
mov r8d, edx
lea rdx, str.forward_tcp:_d_tcp:_d
lea rcx, [rsp + 0x38]
call fcn.140013670
nop
mov r9, qword [rax + 0x10]
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x1400144b8
lea rdx, [0x1400191f0]
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, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400144c6
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
nop
mov rcx, qword [rsp + 0x48]
call fcn.14001cc58
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x1400144f0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rbx, qword [0x1401482f8]
mov r8, rdx
lea rdx, str.mkdir__m_777__p__s
lea rcx, [rsp + 0x50]
call fcn.140013670
nop
xor r9d, r9d
mov r8, qword [rax + 0x10]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140013d90
nop
mov r9, qword [rax + 0x10]
mov r8, qword [rbx + 0x20]
lea rdx, str._s__s
lea rcx, [rsp + 0x20]
call fcn.140013670
nop
mov rdi, qword [rax + 0x10]
cmp byte [rbx + 0x28], 0
je 0x14001456e
lea rdx, [0x1400191f0]
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, rdi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x14001457c
mov edx, 0xffffffff
mov rcx, rdi
call fcn.14001ca50
nop
mov rcx, qword [rsp + 0x30]
call fcn.14001cc58
nop
mov rcx, qword [rsp + 0x48]
call fcn.14001cc58
nop
mov rcx, qword [rsp + 0x60]
call fcn.14001cc58
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x140015b50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x140147040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rdx
mov qword [rsp + 0x38], rdx
mov rsi, qword [rsp + 0x290]
xor ebp, ebp
mov rbx, qword [0x140148340]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWARETencentMobileGamePC
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x140015c03
lea rdx, str.RegOpenKeyExA_failed
mov rcx, rbx
call fcn.140012ed0
mov qword [rdi], rbp
mov qword [rdi + 8], 1
lea ecx, [rbp + 1]
call fcn.14001cc60
mov rdx, rax
mov qword [rdi + 0x10], rax
lea rax, [0x1400206c0]
sub rdx, rax
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140015bf0
jmp 0x140015d0b
mov dword [rsp + 0x40], 0x200
mov dword [rsp + 0x44], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x140015c91
lea rdx, str.RegQueryValueExA_failed
mov rcx, rbx
call fcn.140012ed0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rdi], rbp
mov qword [rdi + 8], 1
mov ecx, 1
call fcn.14001cc60
mov rdx, rax
mov qword [rdi + 0x10], rax
lea rax, [0x1400206c0]
sub rdx, rax
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140015c81
jmp 0x140015d0b
lea rax, [rsp + 0x50]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], bpl
jne 0x140015ca0
lea rsi, [rbx + 1]
mov rcx, rsi
call fcn.14001cc60
mov rbp, rax
lea rdx, [rsp + 0x50]
lea rax, [rsp + 0x50]
mov r8, rbp
sub r8, rax
nop dword [rax + rax]
movzx ecx, byte [rdx]
mov byte [r8 + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140015cd0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov qword [rdi], rbx
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rbp
mov ecx, 1
call fcn.14001cc60
mov byte [rax], 0
mov rcx, rax
call fcn.14001cc58
mov rax, rdi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001cb60
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret