joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7c80
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov ecx, dword [0x004da110]
test ecx, ecx
je 0x4c7cac
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4c7cc5
cmp qword [rax], 0
je 0x4c7cc5
add rax, 8
add rsp, 0x20
pop rsi
ret
lea rcx, [0x004da0f8]
call fcn.004be9f0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
ja 0x4c7c9c
mov ecx, dword [0x004da110]
test ecx, ecx
je 0x4c7d64
dec ecx
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4c7d81
mov rsi, rax
test rax, rax
jne 0x4c7d4b
mov rcx, qword [0x005e4168]
test rcx, rcx
jne 0x4c7d10
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x4c7d99
mov rcx, rax
mov qword [0x005e4168], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x4c7d99
mov rsi, rax
mov qword [rax], 0
lea rax, [0x004da0f8]
mov qword [rsi + 0x10], rax
mov ecx, dword [0x004da110]
test ecx, ecx
je 0x4c7d89
dec ecx
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
lea rax, [rsi + 8]
mov qword [rsi], 1
mov qword [rsi + 8], 0
add rsp, 0x20
pop rsi
ret
lea rcx, [0x004da0f8]
call fcn.004be9f0
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jne 0x4c7ce4
xor eax, eax
add rsp, 0x20
pop rsi
ret
lea rcx, [0x004da0f8]
call fcn.004be9f0
mov ecx, eax
jmp 0x4c7d43
mov ecx, 0x18
mov edx, 8
call fcn.0040bce0
ud2

Function at 0x4c9534
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [rcx + 0x18]
test eax, eax
je fcn.004be9f0
dec eax
ret

Function at 0x4c956c
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb8
mov r14, rcx
lea rcx, [0x004da1b8]
call fcn.004c9534
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4c95ab
mov rbx, rax
mov rax, qword [rax]
add rbx, 8
test rax, rax
cmove rbx, rax
jne 0x4c967c
lea rsi, [0x004da1b8]
mov rcx, rsi
call fcn.004c9534
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4c9624
mov rbx, rax
test rax, rax
jne 0x4c95fb
mov ecx, 0x58
mov edx, 8
call fcn.004c9542
mov rbx, rax
and qword [rax], 0
mov qword [rax + 0x50], rsi
mov rcx, rsi
call fcn.004c9534
mov ecx, eax
mov rdx, rbx
call sub.kernel32.dll_TlsSetValue
test r14, r14
je 0x4c9632
lea rax, [rsp + 0x20]
mov ecx, 0xa
mov rdi, rax
mov rsi, r14
rep movsq qword [rdi], qword [rsi]
and qword [r14], 0
cmp qword [rax], 0
je 0x4c9628
lea rsi, [rsp + 0x28]
jmp 0x4c9639
xor ebx, ebx
jmp 0x4c967c
lea rcx, [rsp + 0x20]
call fcn.004cc557
lea rsi, [0x005ae6b8]
lea rdi, [rsp + 0x70]
mov ecx, 9
rep movsq qword [rdi], qword [rsi]
lea rax, [rsp + 0x20]
mov ecx, 0xa
mov rdi, rax
mov rsi, rbx
rep movsq qword [rdi], qword [rsi]
mov qword [rbx], 1
add rbx, 8
lea rsi, [rsp + 0x70]
mov ecx, 9
mov rdi, rbx
rep movsq qword [rdi], qword [rsi]
mov rcx, rax
call fcn.004cc557
mov rax, rbx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x4cb6c7
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
lea rcx, [0x004da198]
call fcn.004c9534
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
jbe 0x4cb6f5
mov rsi, rax
mov rax, qword [rax]
test rax, rax
cmove rsi, rax
jne 0x4cb764
lea rdi, [0x004da198]
mov rcx, rdi
call fcn.004c9534
mov ecx, eax
call sub.kernel32.dll_TlsGetValue
cmp rax, 1
je 0x4cb762
mov rsi, rax
test rax, rax
jne 0x4cb745
mov ecx, 0x10
mov edx, 8
call fcn.004c9542
mov rsi, rax
and qword [rax], 0
mov qword [rax + 8], rdi
mov rcx, rdi
call fcn.004c9534
mov ecx, eax
mov rdx, rsi
call sub.kernel32.dll_TlsSetValue
call fcn.004cb4a6
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
je 0x4cb764
lock dec qword [rcx]
jne 0x4cb764
call fcn.004cbc57
jmp 0x4cb764
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x4cca52
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x4cca59
test al, 1
je 0x4cca78
test al, 2
jne 0x4cca8d
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x005ae8e0]
mov edx, 0x23
jmp 0x4ccaa0
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x005ae920]
mov edx, 0x25
call fcn.00413c20
ud2

Function at 0x4cda35
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.004c8b38
movzx ecx, bl
lea r9, [rsp + 0x2c]
mov dword [r9], ecx
mov rcx, qword [rax + 8]
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call sub.ws2_32.dll_setsockopt
cmp eax, 0xffffffff
je 0x4cda71
xor eax, eax
jmp 0x4cda7e
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x4cda84
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xc0]
lea rbp, [rdx + 0x10]
lea r15, [rsp + 0x42]
xor r12d, r12d
cmp qword [rdx + 8], 0xffffffffffffffff
cmovne r12, rdx
mov r13d, 0x7fffffff
cmp rax, r13
cmovb r13, rax
mov qword [rsp + 0x30], r12
mov rdx, qword [r14 + 0x18]
lea rcx, [rsp + 0x38]
mov r8, rbx
call fcn.004cbac1
mov al, byte [rsp + 0x41]
cmp al, 3
je 0x4cdbe8
mov rcx, qword [rsp + 0x38]
cmp al, 2
je 0x4cdbf6
mov dl, byte [rsp + 0x40]
movzx r8d, word [r15 + 4]
lea r9, [rsp + 0x52]
mov word [r9 + 4], r8w
mov r8d, dword [r15]
mov dword [r9], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
mov rcx, r12
lea rdx, str._usr_local_cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.39.3_src_io_poll_evented.rs
call fcn.004c8b4f
mov rcx, qword [r12 + 8]
mov rdx, rdi
mov r8d, r13d
xor r9d, r9d
call sub.ws2_32.dll_send
cmp eax, 0xffffffff
jne 0x4cdc08
call sub.ws2_32.dll_WSAGetLastError
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.00441ba4
cmp al, 0xd
jne 0x4cdbc2
mov rax, qword [r12]
test rax, rax
je 0x4cdbc2
mov rcx, qword [rax + 8]
mov rdx, qword [rax + 0x10]
lock inc qword [rdx]
jle 0x4cdc3a
mov r12, r13
mov r13, rbx
add rcx, 0x10
mov r8, qword [rax]
mov r9b, byte [rax + 0x18]
call fcn.00441a8e
mov rbx, rax
xor ecx, ecx
call fcn.0045724b
test rbx, rbx
je 0x4cdbb7
mov ecx, 1
mov rdx, rsi
call fcn.00441be4
mov rsi, rbx
mov rbx, r13
mov r13, r12
mov r12, qword [rsp + 0x30]
mov rcx, rsi
call fcn.00441ba4
cmp al, 0xd
jne 0x4cdc19
mov rcx, rbp
lea rdx, [rsp + 0x48]
call fcn.004cb85f
mov rcx, rsi
call fcn.004c89c7
jmp 0x4cdad1
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x4cdc29
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x4cdc29
cdqe
mov rcx, qword [rsp + 0x28]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x4cdc29
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x4d8590
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.004d92b0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.004d92b0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]

Function at 0x4d8600
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x005e4254]
mov r12, rcx
test ebx, ebx
jle 0x4d8730
mov rax, qword [0x005e4258]
xor ecx, ecx
add rax, 0x18
nop word [rax + rax]
mov rdx, qword [rax]
cmp rdx, r12
ja 0x4d864c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x4d86d3
add ecx, 1
add rax, 0x28
cmp ecx, ebx
jne 0x4d8630
mov rcx, r12
call fcn.004d8fb0
mov rsi, rax
test rax, rax
je 0x4d8752
mov rax, qword [0x005e4258]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call fcn.004d90e0
mov ecx, dword [rsi + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x005e4258]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x4d8737
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x4d86cc
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x4d86e0
add dword [0x005e4254], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x005e4258]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4d86cc
call qword [sym.imp.kernel32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.004d8590
nop dword [rax]
xor ebx, ebx
jmp 0x4d8657
mov rax, qword [0x005e4258]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.004d8590
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.004d8590
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x4d8c20
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x005e42c0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x005e42a0]
test rbx, rbx
je 0x4d8c74
mov rdi, qword [sym.imp.kernel32.dll_TlsGetValue]
mov rsi, qword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4d8c6b
test r12, r12
je 0x4d8c6b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4d8c50
lea rcx, [0x005e42c0]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x4d8fb0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x005d4aa0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x4d8fd0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x4d8fd8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x4d8fd0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x4d9025
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x4d901c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x4d8fd0
add rax, 0x28
cmp rax, r9
jne 0x4d9008
xor eax, eax
ret

Function at 0x4d9030
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x005d4aa0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4d9050
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x4d9058
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x4d9050
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x4d90e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x005d4aa0]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x4d9100
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x4d9108
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret
Function at 0x140011104
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140014040
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x4b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xc6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4d8]
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x480], rax
lea rcx, [0x1400290f4]
call fcn.14001161d
nop
mov dword [rbp + 4], 0
xor edx, edx
mov ecx, 2
call fcn.1400112fd
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0xffffffffffffffff
je 0x14001412f
mov dword [rbp + 0x50], 0x238
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.1400113de
test eax, eax
je 0x140014124
lea rdx, [rbp + 0x7c]
lea rcx, [rbp + 0x448]
call fcn.14001121c
mov qword [rbp + 0x478], rax
mov rdx, qword [rbp + 0x4b0]
mov rcx, qword [rbp + 0x478]
call fcn.1400111a4
mov byte [rbp + 0x424], al
lea rcx, [rbp + 0x448]
call fcn.140011587
movzx eax, byte [rbp + 0x424]
test eax, eax
je 0x140014113
mov eax, dword [rbp + 0x58]
mov dword [rbp + 4], eax
jmp 0x140014124
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x28]
call fcn.14001158c
test eax, eax
jne 0x1400140c4
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x14001ee00]
call fcn.140011541
mov eax, edi
mov rcx, qword [rbp + 0x480]
xor rcx, rbp
call fcn.140011316
lea rsp, [rbp + 0x498]
pop rdi
pop rbp
ret

Function at 0x14001137f
Capabilities:
Terminate process

Disassembly:
jmp 0x140017100
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140011465
Capabilities:
Parse pe header

Disassembly:
jmp 0x140018450
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018470
xor al, al
jmp 0x1400184f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018483
xor al, al
jmp 0x1400184f1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400184ad
xor al, al
jmp 0x1400184f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400184c1
xor al, al
jmp 0x1400184f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400184d3
xor al, al
jmp 0x1400184f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400184ef
xor al, al
jmp 0x1400184f1
mov al, 1
add rsp, 0x38
ret
Function at 0x140016250
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.14001164a
movzx eax, al
test eax, eax
jne 0x140016270
mov ecx, 7
call fcn.14001154b
nop
mov byte [rsp + 0x20], 0
call fcn.140011582
mov byte [rsp + 0x21], al
cmp dword [0x140023b78], 1
jne 0x140016294
mov ecx, 7
call fcn.14001154b
nop
jmp 0x1400162ec
cmp dword [0x140023b78], 0
jne 0x1400162e7
mov dword [0x140023b78], 1
lea rdx, [0x14001e660]
lea rcx, [0x14001e330]
call fcn.1400112f8
test eax, eax
je 0x1400162c8
mov eax, 0xff
jmp 0x1400163f1
lea rdx, [0x14001e220]
lea rcx, [section..rdata]
call fcn.140011569
mov dword [0x140023b78], 2
jmp 0x1400162ec
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011537
call fcn.140011492
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140016349
mov rcx, qword [rsp + 0x30]
call fcn.14001127b
movzx eax, al
test eax, eax
je 0x140016349
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002a020]
nop
call fcn.1400114d3
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001637d
mov rcx, qword [rsp + 0x38]
call fcn.14001127b
movzx eax, al
test eax, eax
je 0x14001637d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400115fa
nop
call fcn.1400164a0
mov dword [rsp + 0x28], eax
call fcn.140011465
movzx eax, al
test eax, eax
jne 0x14001639c
mov ecx, dword [rsp + 0x28]
call fcn.14001108c
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x1400163ab
call fcn.140011609
nop
xor edx, edx
mov cl, 1
call fcn.14001124e
mov eax, dword [rsp + 0x28]
jmp 0x1400163f1
add rsp, 0x68
ret
Function at 0x140009d50
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x20]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140134750
add rsp, 0x30
pop rbx
ret

Function at 0x14000c9e0
Capabilities:
Execute command

Disassembly:
push rbx
sub rsp, 0x70
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 6
jb 0x14000caea
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000ca11
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.start
mov r8, rbx
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.140053090
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14000ca94
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ca8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ca8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000caca
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000cac5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cae3
mov rcx, r8
call fcn.140134770
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
add rsp, 0x70
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008800
int3
Function at 0x14000d4d0
Capabilities:
Create process on windows
Terminate process

Disassembly:
sub rsp, 0x308
mov rax, qword [0x1401620c0]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov r8d, 0x104
lea rdx, [rsp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
mov dword [rsp + 0x70], WSAGetLastError
xor eax, eax
lea rcx, [rsp + 0xe0]
mov dword [rsp + 0xd4], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
mov dword [rsp + 0x20], eax
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rsp + 0x84], xmm0
movups xmmword [rsp + 0x94], xmm0
movups xmmword [rsp + 0xa4], xmm0
movups xmmword [rsp + 0xb4], xmm0
movups xmmword [rsp + 0xc4], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x14000d5b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x14000d5e2
xor r9d, r9d
xor edx, edx
mov r8d, 2
movzx ecx, bl
call qword [sym.imp.USER32.dll_keybd_event]
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x14000d5f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
test ecx, ecx
je 0x14000d60d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ecx, ecx
test ax, ax
sets cl
mov eax, ecx
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret
Function at 0x14000e850
Capabilities:
Download url
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rbx, rdx
mov rdx, rcx
cmp qword [rcx + 0x18], 0xf
jbe 0x14000e87d
mov r8, qword [rcx]
add r8, qword [rcx + 0x10]
mov rdx, qword [rcx]
jmp 0x14000e884
mov r8, qword [rcx + 0x10]
add r8, rcx
lea rcx, [rsp + 0x50]
call fcn.140055ba0
mov rdi, rax
cmp qword [rax + 0x18], 7
jbe 0x14000e89b
mov rdi, qword [rax]
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000e8ae
add r8, qword [rbx]
mov rdx, qword [rbx]
jmp 0x14000e8b4
add r8, rbx
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140055ba0
cmp qword [rax + 0x18], 7
jbe 0x14000e8c8
mov rax, qword [rax]
xor ebp, ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rdi
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov esi, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14000e920
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e91b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000e96c
call fcn.140134770
movdqa xmm0, xmmword [0x14014fd40]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], bp
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x14000e978
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e973
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e973
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140134770
mov edi, ebp
test esi, esi
sete dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000e9b6
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000e9b1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e9dd
mov rcx, r8
call fcn.140134770
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], bpl
mov eax, edi
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3