joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400aca70
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400aca98
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400aca98
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1400b8bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
vzeroupper
lea rbp, [rsp + 0xd0]
vxorps xmm4, xmm4, xmm4
vmovdqa xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402087c0
nop
test rbx, rbx
jne 0x1400b8c18
xor edx, edx
jmp 0x1400b8c1c
lea rdx, [rbx + 0xc]
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x88], rdx
mov r8, rsi
mov qword [rbp - 0x90], r8
mov r9, rdi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.14000a8c0
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000a910
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1400b8ca5
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208800
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400bcf70
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
vzeroupper
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
xor ecx, ecx
mov dword [r9], ecx
mov qword [rbp - 0x40], r9
mov r14, r9
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x74], rcx
mov rdx, rsi
mov qword [rbp - 0x7c], rdx
mov r8d, edi
mov dword [rbp - 0x6c], r8d
mov r9, r14
mov qword [rbp - 0x84], r9
lea rcx, [rbp - 0x68]
call fcn.14000a8c0
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8d, dword [rbp - 0x6c]
mov r9, qword [rbp - 0x84]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000a910
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406f3a98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400bd03f
mov dword [rdi + 0xe8], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222380]
call rax
mov rdi, rax
jmp 0x1400bd026
Function at 0x1400c5610
Capabilities:
Get file version info

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
vzeroupper
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
test rdx, rdx
jne 0x1400c563a
xor edx, edx
jmp 0x1400c563e
add rdx, 0xc
mov qword [rbp - 0x40], rdx
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x7c], rdx
mov dword [rbp - 0x6c], ecx
mov dword [rbp - 0x70], r8d
mov dword [rbp - 0x74], r9d
lea rcx, [rbp - 0x68]
call fcn.14000a8c0
mov rdx, qword [rbp - 0x7c]
mov ecx, dword [rbp - 0x6c]
mov r8d, dword [rbp - 0x70]
mov r9d, dword [rbp - 0x74]
call sub.VERSION.dll_GetFileVersionInfoExW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000a910
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400c6f10
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
vzeroupper
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
vxorps xmm4, xmm4, xmm4
vmovdqa xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402087c0
nop
mov qword [rbp - 0x50], rbx
lea r14, [rsi + 0x10]
xor ecx, ecx
test rsi, rsi
cmove r14, rcx
mov qword [rbp - 0x58], r14
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r15d
mov rcx, rsi
mov qword [rbp - 0x8c], rcx
mov rdx, r14
mov qword [rbp - 0x94], rdx
mov r8d, edi
mov dword [rbp - 0x84], r8d
mov r9, rbx
mov qword [rbp - 0x9c], r9
lea rcx, [rbp - 0x80]
call fcn.14000a8c0
mov rcx, qword [rbp - 0x8c]
mov rdx, qword [rbp - 0x94]
mov r8d, dword [rbp - 0x84]
mov r9, qword [rbp - 0x9c]
call sub.KERNEL32.dll_K32EnumProcessModulesEx
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000a910
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400c701f
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208800
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406f3a98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400c705c
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222380]
call rax
mov rdi, rax
jmp 0x1400c703f
Function at 0x1400c7450
Capabilities:
Terminate process

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
vzeroupper
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov ebx, edx
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402087c0
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x7c], rcx
mov edx, ebx
mov dword [rbp - 0x74], edx
lea rcx, [rbp - 0x70]
call fcn.14000a8c0
mov rcx, qword [rbp - 0x7c]
mov edx, dword [rbp - 0x74]
call sub.KERNEL32.dll_TerminateProcess
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a910
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400c74e8
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208800
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406f3a98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400c7522
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222380]
call rax
mov rdi, rax
jmp 0x1400c7508

Function at 0x1400ca1e0
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [0x140444a78]
cmp qword [rcx - 8], 0
jne 0x1400ca21e
mov rcx, rbx
call fcn.1400c9d10
test eax, eax
je 0x1400ca214
mov rcx, rbx
mov edx, 1
add rsp, 0x20
pop rbx
jmp fcn.1400cb220
add rsp, 0x20
pop rbx
jmp fcn.1400cb2a0
call fcn.140001074
jmp 0x1400ca1f6
Function at 0x1400dc710
Capabilities:
Connect pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
vzeroupper
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402087c0
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
lea rcx, [rbp - 0x70]
call fcn.14000a8c0
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a910
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400dc7ac
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208800
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406f3a98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400dc7e6
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222380]
call rax
mov rdi, rax
jmp 0x1400dc7cc

Function at 0x1400dc830
Capabilities:
Connect pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
vzeroupper
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402087c0
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x78], rcx
mov rdx, rbx
mov qword [rbp - 0x80], rdx
lea rcx, [rbp - 0x70]
call fcn.14000a8c0
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a910
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400dc8cc
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208800
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406f3a98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400dc906
mov dword [rdi + 0xe8], esi
movzx eax, bl
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222380]
call rax
mov rdi, rax
jmp 0x1400dc8ec
Function at 0x1400dd050
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
vzeroupper
lea rbp, [rsp + 0xe0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov r14d, r9d
mov r15, qword [rbp + 0x48]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov byte [rbp - 0x7c], 0
lea rcx, [0x14043d4c0]
call fcn.1403ea340
mov qword [rbp - 0x88], rax
mov qword [rbp - 0x48], r15
test rbx, rbx
jne 0x1400dd0b1
xor r13d, r13d
jmp 0x1400dd0b5
lea r13, [rbx + 0xc]
mov qword [rbp - 0x50], r13
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov ebx, dword [rbp + 0x30]
mov dword [rsp + 0x20], ebx
mov ebx, dword [rbp + 0x38]
mov dword [rsp + 0x28], ebx
mov ebx, dword [rbp + 0x40]
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x38], r15
mov rcx, r13
mov qword [rbp - 0x9c], rcx
mov edx, esi
mov dword [rbp - 0x8c], edx
mov r8d, edi
mov dword [rbp - 0x90], r8d
mov r9d, r14d
mov dword [rbp - 0x94], r9d
lea rcx, [rbp - 0x78]
call fcn.14000a8c0
mov rcx, qword [rbp - 0x9c]
mov edx, dword [rbp - 0x8c]
mov r8d, dword [rbp - 0x90]
mov r9d, dword [rbp - 0x94]
call sub.KERNEL32.dll_CreateNamedPipeW
mov rbx, rax
lea rcx, [rbp - 0x78]
call fcn.14000a910
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x3c], 1
mov byte [rbp - 0x7c], 1
mov rax, qword [rbp - 0x88]
mov qword [rax + 8], rbx
mov rbx, rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406f3a98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400dd19e
mov dword [rdi + 0xe8], esi
mov rax, rbx
add rsp, 0xa8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222380]
call rax
mov rdi, rax
jmp 0x1400dd181

Function at 0x140182290
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
vzeroupper
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.14000a8c0
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.14000a910
test ebx, ebx
jne 0x140182307
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x14018232f
lea rcx, [0x140462508]
call fcn.140008c30
mov rbx, rax
mov rcx, rbx
call fcn.1401aa5f0
mov rcx, rbx
call fcn.1400091a0
int3
lea rcx, [0x140462db8]
call fcn.140008c30
mov rbx, rax
mov rcx, rbx
call fcn.1401afa10
mov rcx, rbx
call fcn.1400091a0
int3

Function at 0x140186f80
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x140186f92
add rsp, 0x28
jmp fcn.1401875a0
lea rcx, [0x140432778]
call fcn.1400bb010
int3
Function at 0x140196c80
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
mov qword [rsp + 0x60], r9
mov r10, qword [rcx]
mov ecx, dword [rcx + 8]
mov r11, qword [rdx]
mov ebx, ecx
and ebx, 0xfffffffc
mov esi, dword [rdx + 8]
xor edi, edi
xor ebp, ebp
test ecx, ecx
je 0x140196eb9
lea r14, [0x14057eee0]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jge 0x140196cd6
mov edx, 0x55555556
mov eax, edx
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
shl eax, 2
jmp 0x140196cd9
lea eax, [rbx - 4]
test eax, eax
jle 0x140196d80
movsxd rdx, edi
lea rdx, [r10 + rdx*2]
movzx r15d, word [rdx]
movzx r13d, word [rdx + 2]
movzx r12d, word [rdx + 4]
movzx edx, word [rdx + 6]
mov r9d, r15d
or r9d, r13d
or r9d, r12d
or r9d, edx
test r9d, 0xffffff00
jne 0x140196d44
movsxd r9, r15d
movsx r15, byte [r14 + r9]
shl r15d, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
or r15d, edx
movsxd rdx, r13d
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or r15d, edx
movsxd rdx, r12d
movsx rdx, byte [r14 + rdx]
shl edx, 6
or r15d, edx
jmp 0x140196d4a
mov r15d, 0xffffffff
test r15d, r15d
jl 0x140196e9f
movsxd rdx, ebp
add rdx, r11
mov r9d, r15d
sar r9d, 0x10
mov byte [rdx], r9b
mov r9d, r15d
sar r9d, 8
mov byte [rdx + 1], r9b
mov byte [rdx + 2], r15b
add ebp, 3
add edi, 4
cmp edi, eax
jl 0x140196ce1
lea edx, [rbx - 4]
cmp eax, edx
jne 0x140196e9f
cmp edi, ebx
je 0x140196e9f
lea eax, [rbx - 4]
cdqe
movzx eax, word [r10 + rax*2]
lea edx, [rbx - 3]
movsxd rdx, edx
movzx edx, word [r10 + rdx*2]
lea r9d, [rbx - 2]
movsxd r9, r9d
movzx r9d, word [r10 + r9*2]
lea r15d, [rbx - 1]
movsxd r15, r15d
movzx r10d, word [r10 + r15*2]
mov r15d, eax
or r15d, edx
or r15d, r9d
or r15d, r10d
test r15d, 0xffffff00
jne 0x140196e9f
cdqe
movsx rax, byte [r14 + rax]
shl eax, 0x12
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl edx, 0xc
or eax, edx
cmp r10d, 0x3d
jne 0x140196e57
cmp r9d, 0x3d
jne 0x140196e1c
test eax, eax
jl 0x140196e9f
dec esi
cmp ebp, esi
jg 0x140196e9f
sar eax, 0x10
movsxd r9, ebp
mov byte [r11 + r9], al
inc ebp
jmp 0x140196e98
movsxd r10, r9d
movsx r9, byte [r14 + r10]
shl r9d, 6
or r9d, eax
mov eax, r9d
test eax, eax
jl 0x140196e9f
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x140196e9f
mov edx, eax
sar edx, 0x10
movsxd r10, ebp
mov byte [r11 + r10], dl
sar eax, 8
lea edx, [rbp + 1]
movsxd rdx, edx
mov byte [r11 + rdx], al
add ebp, 2
jmp 0x140196e98
movsxd rdx, r10d
movsx rdx, byte [r14 + rdx]
or edx, eax
movsxd rax, r9d
movsx rax, byte [r14 + rax]
shl eax, 6
or eax, edx
jl 0x140196e9f
lea edx, [rsi - 3]
cmp ebp, edx
jg 0x140196e9f
movsxd rdx, ebp
add rdx, r11
mov r10d, eax
sar r10d, 0x10
mov byte [rdx], r10b
mov r10d, eax
sar r10d, 8
mov byte [rdx + 1], r10b
mov byte [rdx + 2], al
add ebp, 3
add edi, 4
cmp ebx, ecx
je 0x140196eb9
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
xor eax, eax
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r8], edi
mov r9, qword [rsp + 0x60]
mov dword [r9], ebp
mov eax, 1
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1401b35b0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1401b3674
mov rax, qword [rdx]
lea r9, [0x140460280]
cmp rax, r9
jne 0x1401b3658
mov rbx, rdx
mov rdx, qword [rcx]
lea r9, [0x1404633e8]
cmp rdx, r9
je 0x1401b362b
lea r9, [0x140463378]
cmp rdx, r9
je 0x1401b361c
lea rsi, [0x140444ef8]
cmp qword [rsi - 8], 0
jne 0x1401b3666
mov r8, qword [rsi]
mov edx, dword [rbx + 8]
mov r9, r8
shr r9, 0x20
lea rcx, [rbx + 0xc]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1401aa960
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x1401b3750
lea rdi, [0x140444ef8]
cmp qword [rdi - 8], 0
jne 0x1401b366d
mov r8, qword [rdi]
mov edx, dword [rbx + 8]
add edx, edx
mov r9, r8
shr r9, 0x20
lea rcx, [rbx + 0xc]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1401aa860
mov rcx, rdx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [rax + 0x28]
call fcn.14000132c
jmp 0x1401b35ff
call fcn.14000132c
jmp 0x1401b3639
lea rcx, [0x14042f930]
call fcn.1400bb010
int3
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rdx
test rbx, rbx
je 0x1401b37cb
cmp byte [rcx + 8], 0
jne 0x1401b3792
lea rsi, [0x140444ef8]
cmp qword [rsi - 8], 0
jne 0x1401b37bd
mov r8, qword [rsi]
mov edx, dword [rbx + 8]
add edx, edx
mov r9, r8
shr r9, 0x20
lea rcx, [rbx + 0xc]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1401aa860
lea rdi, [0x140444ef8]
cmp qword [rdi - 8], 0
jne 0x1401b37c4
mov r8, qword [rdi]
mov edx, dword [rbx + 8]
mov r9, r8
shr r9, 0x20
lea rcx, [rbx + 0xc]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1401aa960
call fcn.14000132c
jmp 0x1401b3773
call fcn.14000132c
jmp 0x1401b37a0
xor ecx, ecx
call fcn.1401b3e30
int3

Function at 0x140226520
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
vzeroupper
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
jne 0x14022654a
xor ebx, ebx
jmp 0x14022654e
lea rbx, [rcx + 0xc]
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0x68]
call fcn.14000a8c0
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000a910
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406f3a98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1402265c9
mov dword [rdi + 0xe8], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222380]
call rax
mov rdi, rax
jmp 0x1402265aa
Function at 0x1402277e0
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
vzeroupper
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rcx
mov rsi, rdx
mov rdi, r8
mov r14, r9
mov r15, qword [rbp + 0x38]
xor ecx, ecx
mov dword [rbp - 0x3c], ecx
mov dword [r15], ecx
mov byte [rbp - 0x74], 0
lea rcx, [0x14043e810]
call fcn.1403ea340
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x48], r15
mov r13d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x28], r15
mov rdx, rsi
mov qword [rbp - 0x88], rdx
mov r8, rdi
mov qword [rbp - 0x90], r8
mov r9, r14
mov qword [rbp - 0x98], r9
mov rcx, rbx
mov qword [rbp - 0xa0], rcx
lea rcx, [rbp - 0x70]
call fcn.14000a8c0
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
mov rcx, qword [rbp - 0xa0]
call sub.KERNEL32.dll_CreateThread
mov rbx, rax
lea rcx, [rbp - 0x70]
call fcn.14000a910
nop
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x3c], 1
mov byte [rbp - 0x74], 1
mov rax, qword [rbp - 0x80]
mov qword [rax + 8], rbx
mov rcx, rax
mov rax, rcx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x140227950
Capabilities:
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
vzeroupper
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
vxorps xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402087c0
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0x70]
call fcn.14000a8c0
mov rcx, qword [rbp - 0x78]
call sub.KERNEL32.dll_ResumeThread
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a910
nop
cmp byte [rbp - 0x40], 0
je 0x1402279c6
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.140208800
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140228c30
Capabilities:
Access the windows event log

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
vzeroupper
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov r14d, r9d
mov r15, qword [rbp + 0x30]
mov r13, qword [rbp + 0x50]
lea r12, [r13 + 0x10]
xor ecx, ecx
test r13, r13
cmove r12, rcx
mov qword [rbp - 0x40], r12
lea r13, [r15 + 0x10]
test r15, r15
cmove r13, rcx
mov qword [rbp - 0x48], r13
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r13
movsx rdx, word [rbp + 0x38]
mov dword [rsp + 0x28], edx
mov r15d, dword [rbp + 0x40]
mov dword [rsp + 0x30], r15d
mov r15, qword [rbp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
movsx rdx, si
mov dword [rbp - 0x74], edx
movzx r8d, di
mov dword [rbp - 0x78], r8d
mov rcx, rbx
mov qword [rbp - 0x84], rcx
mov r9d, r14d
mov dword [rbp - 0x7c], r9d
lea rcx, [rbp - 0x70]
call fcn.14000a8c0
mov edx, dword [rbp - 0x74]
mov r8d, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x7c]
call sub.ADVAPI32.dll_ReportEventW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000a910
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1406f3a98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x140228d53
mov dword [rdi + 0xe8], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x140222380]
call rax
mov rdi, rax
jmp 0x140228d31

Function at 0x14022ce20
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r10, qword [rcx + 0x20]
mov r9, rdx
shl r9, 0x11
xor r8, rax
xor r10, rdx
lea r11, [rdx + rdx*4]
rol r11, 7
lea r11, [r11 + r11*8]
xor rdx, r8
xor rax, r10
xor r8, r9
rol r10, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r10
mov rax, r11
shr rax, 0x21
cmp rax, 0x7fffffff
je fcn.14022ce20
ret

Function at 0x14025cd10
Capabilities:
Hash data using murmur3

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
cmp edx, 0xffffffff
je 0x14025cd43
mov ecx, edx
call fcn.14025cc40
mov rdx, rax
lea rcx, [0x14041e2a0]
lea r8, [0x140423418]
call fcn.14018b5d0
mov rcx, rax
call fcn.14025cbc0
jmp 0x14025cd48
mov eax, 0xd5313557
mov ecx, eax
rol ecx, 0xd
add ecx, eax
mov eax, ecx
xor eax, ebx
mov ecx, eax
rol ecx, 0xf
add eax, ecx
add rsp, 0x20
pop rbx
ret