joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e0d50
Capabilities:
Connect pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14020ebe0
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.14000b2b0
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000b300
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400e0de7
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14020ec20
mov rax, qword gs:[0x58]
mov ecx, dword [0x140be1d98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400e0e21
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, [0x140229d40]
call rax
mov rdi, rax
jmp 0x1400e0e07

Function at 0x1400e1550
Capabilities:
Create pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xa8
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, [0x140449300]
call fcn.1403fad30
mov qword [rbp - 0x88], rax
mov qword [rbp - 0x48], r15
test rbx, rbx
je 0x1400e15af
add rbx, 0xc
jmp 0x1400e15b1
xor ebx, ebx
mov qword [rbp - 0x50], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r13d, dword [rbp + 0x30]
mov dword [rsp + 0x20], r13d
mov r13d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r13d
mov r13d, dword [rbp + 0x40]
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x38], r15
mov rcx, rbx
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.14000b2b0
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.14000b300
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 [0x140be1d98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400e16a0
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, [0x140229d40]
call rax
mov rdi, rax
jmp 0x1400e1683
Function at 0x140187490
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
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.14000b2b0
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.14000b300
test ebx, ebx
jne 0x140187504
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x14018752c
lea rcx, [0x14046e020]
call fcn.1400095a0
mov rbx, rax
mov rcx, rbx
call fcn.1401af8a0
mov rcx, rbx
call fcn.140009b10
int3
lea rcx, [0x14046e8d0]
call fcn.1400095a0
mov rbx, rax
mov rcx, rbx
call fcn.1401b4a80
mov rcx, rbx
call fcn.140009b10
int3

Function at 0x14018c130
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x14018c142
add rsp, 0x28
jmp fcn.14018c740
lea rcx, [0x14043e660]
call fcn.1400bec00
int3
Function at 0x14019bfa0
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 0x14019c1bc
lea r14, [0x140a6c388]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jl 0x14019bfe7
lea r15d, [rbx - 4]
jmp 0x14019bffe
mov edx, 0x55555556
mov eax, edx
imul esi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x14019c0a1
movsxd rax, edi
lea rax, [r10 + rax*2]
movzx edx, word [rax]
movzx r13d, word [rax + 2]
movzx r12d, word [rax + 4]
movzx eax, word [rax + 6]
mov r9d, edx
or r9d, r13d
or r9d, r12d
or r9d, eax
test r9d, 0xffffff00
je 0x14019c03c
mov r9d, 0xffffffff
jmp 0x14019c06e
movsxd rdx, edx
movsx rdx, byte [r14 + rdx]
shl edx, 0x12
movsxd r9, eax
movsx rax, byte [r14 + r9]
or edx, eax
movsxd rax, r13d
movsx rax, byte [r14 + rax]
shl eax, 0xc
or edx, eax
movsxd rax, r12d
movsx rax, byte [r14 + rax]
shl eax, 6
or edx, eax
mov r9d, edx
test r9d, r9d
jl 0x14019c1d9
movsxd rax, ebp
add rax, r11
mov edx, r9d
sar edx, 0x10
mov byte [rax], dl
mov edx, r9d
sar edx, 8
mov byte [rax + 1], dl
mov byte [rax + 2], r9b
add ebp, 3
add edi, 4
cmp edi, r15d
jl 0x14019c007
lea eax, [rbx - 4]
cmp r15d, eax
jne 0x14019c1d9
cmp edi, ebx
je 0x14019c1d9
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 0x14019c1d9
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
je 0x14019c160
movsxd rdx, r10d
movsx rdx, byte [r14 + rdx]
or eax, edx
movsxd r9, r9d
movsx rdx, byte [r14 + r9]
shl edx, 6
or eax, edx
jl 0x14019c1d9
add esi, 0xfffffffd
cmp ebp, esi
jg 0x14019c1d9
movsxd rdx, ebp
add r11, rdx
mov edx, eax
sar edx, 0x10
mov byte [r11], dl
mov edx, eax
sar edx, 8
mov byte [r11 + 1], dl
mov byte [r11 + 2], al
add ebp, 3
jmp 0x14019c1b5
cmp r9d, 0x3d
je 0x14019c19e
movsxd rdx, r9d
movsx rdx, byte [r14 + rdx]
shl edx, 6
or edx, eax
mov eax, edx
test eax, eax
jl 0x14019c1d9
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x14019c1d9
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 0x14019c1b5
test eax, eax
jl 0x14019c1d9
lea edx, [rsi - 1]
cmp ebp, edx
jg 0x14019c1d9
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add edi, 4
cmp ebx, ecx
jne 0x14019c1d9
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
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
Function at 0x1401b5140
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r10d, edx
cmp r10d, r8d
jg 0x1401b5266
mov rcx, qword [rcx + 8]
lea rdx, [0x14047cda8]
cmp qword [rcx], rdx
je 0x1401b5257
lea rdx, [0x14047cd30]
cmp qword [rcx], rdx
jne 0x1401b5182
mov edx, r10d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1402335a0
sub r8d, r10d
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x18]
mov r11, qword [rcx + 0x20]
mov rbx, rdx
shl rbx, 0x11
xor r9, rax
xor r11, rdx
lea rsi, [rdx + rdx*4]
rol rsi, 7
lea rsi, [rsi + rsi*8]
xor rdx, r9
xor rax, r11
xor r9, rbx
rol r11, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r9
mov qword [rcx + 0x20], r11
mov r9d, r8d
shr rsi, 0x20
mov r11d, esi
imul r11, r9
mov ebx, r11d
cmp ebx, r8d
jae 0x1401b5247
mov eax, r8d
neg eax
xor edx, edx
div r8d
cmp ebx, edx
jae 0x1401b5247
mov r11, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov rsi, rax
shl rsi, 0x11
xor r8, r11
xor rbx, rax
lea rdi, [rax + rax*4]
rol rdi, 7
lea rdi, [rdi + rdi*8]
xor rax, r8
xor r11, rbx
xor r8, rsi
rol rbx, 0x2d
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], rbx
shr rdi, 0x20
mov r11d, edi
imul r11, r9
mov ebx, r11d
cmp ebx, edx
jb 0x1401b51ef
shr r11, 0x20
lea eax, [r11 + r10]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov edx, r10d
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x140233620
call fcn.1401b5270
int3
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rcx
mov esi, edx
mov edi, r8d
lea rbp, [rbx + 0x18]
mov rcx, rbp
mov edx, dword [rbx + 0x10]
cmp qword [rcx], 0
jne 0x140233645
call fcn.140233720
movsxd rdi, edi
movsxd rcx, esi
sub rdi, rcx
cmp rdi, 0x7fffffff
jle 0x14023367b
mov rcx, rbp
call fcn.1402338c0
xorps xmm1, xmm1
cvtsi2sd xmm1, rdi
mulsd xmm0, xmm1
call fcn.14000a260
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
mov rcx, qword [rbx + 8]
lea rax, [0x14046ea98]
cmp qword [rcx], rax
jne 0x14023370b
mov rbx, qword [rcx + 8]
lea rcx, [0x14047cda8]
cmp qword [rbx], rcx
je 0x1402336c5
lea rcx, [0x14047cd30]
cmp qword [rbx], rcx
jne 0x140233711
lea rcx, [rbx + 8]
call fcn.140233840
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x140a70598]
jmp 0x1402336ef
lea rcx, [rbx + 0x18]
mov edx, dword [rbx + 0x10]
cmp qword [rcx], 0
jne 0x1402336d7
call fcn.140233720
lea rcx, [rbx + 0x18]
call fcn.140233840
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
mulsd xmm0, qword [0x140a70598]
xorps xmm1, xmm1
cvtsi2sd xmm1, rdi
mulsd xmm0, xmm1
call fcn.14000a220
add eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rsi
pop rdi
ret
call fcn.1400058b4
int3
mov rcx, rbx
call fcn.1400de160
int3
Function at 0x1401b6420
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rsi, rcx
mov rdi, r8
mov r8d, edx
mov ebx, r9d
test ebx, ebx
jne 0x1401b6467
xor eax, eax
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
lea ebp, [rbx - 1]
test ebp, ebp
jne 0x1401b64a5
movsx rdx, word [rdi]
movzx ecx, dx
dec ecx
cmp ecx, 0xfe
jae 0x1401b664d
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1403f2ba0
xor r14d, r14d
movzx r15d, word [rdi]
sub r8d, ebp
mov r13d, r8d
cmp r13d, 8
jge 0x1401b6528
add rdi, 2
test r13d, r13d
jle 0x1401b65ab
lea rcx, [rsi + r14*2]
movsx rdx, r15w
mov r8d, r13d
call fcn.1403d1fa0
test eax, eax
jl 0x1401b65ab
sub r13d, eax
movsxd rcx, eax
add r14, rcx
test r13d, r13d
jle 0x1401b65ab
lea rcx, [rsi + r14*2 + 2]
mov r8d, ebp
add r8, r8
mov rdx, rdi
call fcn.1401b5cc0
test eax, eax
je 0x1401b6639
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
movsxd rax, ebp
movzx eax, word [rdi + rax*2]
movsxd rbp, ebp
jmp 0x1401b653b
dec rbp
movzx eax, word [rdi + rbp*2]
cmp eax, r15d
jne 0x1401b6546
cmp rbp, 1
jg 0x1401b6534
movd xmm0, r15d
movaps xmm6, xmm0
punpcklwd xmm6, xmm0
pshufd xmm6, xmm6, 0
movd xmm0, eax
movaps xmm7, xmm0
punpcklwd xmm7, xmm0
pshufd xmm7, xmm7, 0
movsxd r15, r13d
lea r13, [r15 - 8]
jmp 0x1401b6573
mov r14, r13
movups xmm0, xmmword [rsi + r14*2]
pcmpeqw xmm0, xmm6
lea rax, [r14 + rbp]
movups xmm1, xmmword [rsi + rax*2]
pcmpeqw xmm1, xmm7
pand xmm0, xmm1
xorps xmm1, xmm1
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x1401b65cb
add r14, 8
cmp r14, r15
jne 0x1401b662b
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
pmovmskb r12d, xmm0
test r12d, r12d
jne 0x1401b65dc
mov ecx, 0x20
jmp 0x1401b65e0
bsf ecx, r12d
shr ecx, 1
mov eax, ecx
mov qword [rsp + 0x28], rax
cmp ebx, 2
je 0x1401b660d
lea rcx, [r14 + rax]
lea rcx, [rsi + rcx*2]
mov r8d, ebx
add r8, r8
mov rdx, rdi
call fcn.1401b5cc0
test eax, eax
mov rax, qword [rsp + 0x28]
je 0x1401b6615
add eax, r14d
jmp 0x1401b650d
lea ecx, [r12 - 1]
and ecx, r12d
lea r12d, [rcx - 1]
and r12d, ecx
jne 0x1401b65d0
jmp 0x1401b659e
cmp r14, r13
jle 0x1401b6573
jmp 0x1401b6570
dec r13d
inc r14
test r13d, r13d
jg 0x1401b64c5
jmp 0x1401b65ab
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1403d1fa0
Function at 0x1401b83e0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1401b84a0
mov rax, qword [rdx]
lea r8, [0x14046bd90]
cmp rax, r8
je 0x1401b840d
mov rcx, rdx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [rax + 0x28]
mov rbx, rdx
mov rdx, qword [rcx]
lea rax, [0x14046ef00]
cmp rdx, rax
je 0x1401b8465
lea rax, [0x14046ee90]
cmp rdx, rax
jne 0x1401b843a
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp fcn.1401b8560
lea rsi, [0x14044ffc0]
cmp qword [rsi - 8], 0
jne 0x1401b8492
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.1401afc60
lea rdi, [0x14044ffc0]
cmp qword [rdi - 8], 0
jne 0x1401b8499
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.1401afb40
call fcn.140001349
jmp 0x1401b8448
call fcn.140001349
jmp 0x1401b8473
lea rcx, [0x14043ba48]
call fcn.1400bec00
int3

Function at 0x1401c0e10
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp qword [rbx], 0
jne 0x1401c0e3a
lea rcx, [0x140507a38]
mov edx, 0x55
call fcn.1400096c0
mov rdx, rax
mov rcx, rbx
call fcn.140009820
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
cmp dword [rax + 8], 0x50
jbe 0x1401c0ea8
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rbx]
cmp dword [rax + 8], 0x51
jbe 0x1401c0ea8
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rbx]
cmp dword [rax + 8], 0x52
jbe 0x1401c0ea8
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rbx]
cmp dword [rax + 8], 0x53
jbe 0x1401c0ea8
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rbx]
cmp dword [rax + 8], 0x54
jbe 0x1401c0ea8
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
call fcn.1401b8820
int3

Function at 0x14022dc90
Capabilities:
Delete file

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x90]
xor eax, eax
mov qword [rbp - 0x40], rax
test rcx, rcx
je 0x14022dcbc
add rcx, 0xc
mov rbx, rcx
jmp 0x14022dcbe
xor ebx, ebx
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.14000b2b0
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.14000b300
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x140be1d98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14022dd39
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, [0x140229d40]
call rax
mov rdi, rax
jmp 0x14022dd1a
Function at 0x14022ebf0
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
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, [0x14044a420]
call fcn.1403fad30
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.14000b2b0
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.14000b300
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 0x14022ed50
Capabilities:
Resume thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
xor eax, eax
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14020ebe0
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0x70]
call fcn.14000b2b0
mov rcx, qword [rbp - 0x78]
call sub.KERNEL32.dll_ResumeThread
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000b300
nop
cmp byte [rbp - 0x40], 0
je 0x14022edc1
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14020ec20
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 0x14022fcd0
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
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.14000b2b0
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.14000b300
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 [0x140be1d98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x14022fdf0
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, [0x140229d40]
call rax
mov rdi, rax
jmp 0x14022fdce

Function at 0x1402339a0
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.1402339a0
ret

Function at 0x140264f10
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
cmp edx, 0xffffffff
jne 0x140264f24
mov esi, 0xd5313557
jmp 0x140264f4b
mov ecx, edx
call fcn.140264e40
mov rdx, rax
lea rcx, [0x14042beb0]
lea r8, [0x140430948]
call fcn.140190920
mov rcx, rax
call fcn.140264dc0
mov esi, eax
mov eax, esi
rol eax, 0xd
add eax, esi
mov esi, eax
xor esi, ebx
mov eax, esi
rol eax, 0xf
add eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x140288ea0
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov esi, r8d
mov edi, r9d
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.14020ebe0
nop
mov rdx, qword [rbx]
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x88], rcx
mov qword [rbp - 0x90], rdx
mov r8d, esi
mov dword [rbp - 0x7c], r8d
mov r9d, edi
mov dword [rbp - 0x80], r9d
lea rcx, [rbp - 0x78]
call fcn.14000b2b0
mov rcx, qword [rbp - 0x88]
mov rdx, qword [rbp - 0x90]
mov r8d, dword [rbp - 0x7c]
mov r9d, dword [rbp - 0x80]
call sub.bcrypt.dll_BCryptHashData
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000b300
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x140288f59
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.14020ec20
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1402e6280
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rbx, [0x14044ff68]
cmp qword [rbx - 8], 0
jne 0x1402e63b4
imul esi, dword [rbx + 4], 0x32
test esi, esi
jl 0x1402e63cf
mov rax, qword gs:[0x58]
mov ecx, dword [0x140be1d98]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rcx, rdx
mov rdi, qword [rcx]
test rdi, rdi
je 0x1402e63be
mov rcx, qword [rdi + 0xf8]
test rcx, rcx
jne 0x1402e62e0
call fcn.140233530
mov rcx, rax
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 r8d, esi
shr r11, 0x20
mov r10d, r11d
imul r10, r8
mov r9d, r10d
cmp r9d, esi
jae 0x1402e63a2
mov eax, esi
neg eax
xor edx, edx
div esi
cmp r9d, edx
jae 0x1402e63a2
mov r10, qword [rcx + 8]
mov r9, qword [rcx + 0x10]
mov rax, qword [rcx + 0x18]
mov r11, qword [rcx + 0x20]
mov rbx, r9
shl rbx, 0x11
xor rax, r10
xor r11, r9
lea rdi, [r9 + r9*4]
rol rdi, 7
lea rsi, [rdi + rdi*8]
xor r9, rax
xor r10, r11
xor rax, rbx
rol r11, 0x2d
mov qword [rcx + 8], r10
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], r11
shr rsi, 0x20
mov r10d, esi
imul r10, r8
mov r9d, r10d
cmp r9d, edx
jb 0x1402e6349
shr r10, 0x20
mov eax, r10d
add eax, 0x64
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000130f
jmp 0x1402e6299
lea rax, [0x140229d40]
call rax
mov rdi, rax
jmp 0x1402e62cc
call fcn.1401b5270
int3