joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c90a0
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
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
test rdx, rdx
je 0x1400c90c9
add rdx, 0xc
jmp 0x1400c90cb
xor edx, edx
mov qword [rbp - 0x40], rdx
mov rax, qword [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x54], rdx
mov dword [rbp - 0x44], ecx
mov dword [rbp - 0x48], r8d
mov dword [rbp - 0x4c], r9d
lea rcx, [rbp - 0x80]
call fcn.14000b3a0
mov rdx, qword [rbp - 0x54]
mov ecx, dword [rbp - 0x44]
mov r8d, dword [rbp - 0x48]
mov r9d, dword [rbp - 0x4c]
call sub.VERSION.dll_GetFileVersionInfoExW
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000b3f0
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 0x1400cab80
Capabilities:
Terminate process

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 ebx, edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1402129a0
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
lea rcx, [rbp - 0x80]
call fcn.14000b3a0
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
call sub.KERNEL32.dll_TerminateProcess
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000b3f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400cac13
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402129e0
mov rax, qword gs:[0x58]
mov ecx, dword [0x140cf6fe0]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400cac4d
mov dword [rdi + 0xe0], 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, [0x14022f770]
call rax
mov rdi, rax
jmp 0x1400cac33
Function at 0x1400cadd0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, edx
xor eax, eax
mov dword [r8], eax
mov qword [rbp - 0x40], r8
mov rsi, r8
lea rdi, [rcx + 0x10]
test rcx, rcx
cmove rdi, rax
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov edx, ebx
mov dword [rbp - 0x4c], edx
mov r8, rsi
mov qword [rbp - 0x5c], r8
lea rcx, [rbp - 0x88]
call fcn.14000b3a0
mov rcx, qword [rbp - 0x54]
mov edx, dword [rbp - 0x4c]
mov r8, qword [rbp - 0x5c]
call sub.KERNEL32.dll_K32EnumProcesses
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000b3f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
mov rax, qword gs:[0x58]
mov ecx, dword [0x140cf6fe0]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400caea6
mov dword [rdi + 0xe0], esi
movzx eax, bl
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, [0x14022f770]
call rax
mov rdi, rax
jmp 0x1400cae8c
Function at 0x1400d8720
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.1402129a0
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x50], rcx
mov rdx, rbx
mov qword [rbp - 0x58], rdx
lea rcx, [rbp - 0x80]
call fcn.14000b3a0
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000b3f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400d87b7
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402129e0
mov rax, qword gs:[0x58]
mov ecx, dword [0x140cf6fe0]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d87f1
mov dword [rdi + 0xe0], 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, [0x14022f770]
call rax
mov rdi, rax
jmp 0x1400d87d7

Function at 0x1400d8840
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.1402129a0
mov rcx, qword [rbp - 0x48]
mov rsi, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x50], rcx
mov rdx, rbx
mov qword [rbp - 0x58], rdx
lea rcx, [rbp - 0x80]
call fcn.14000b3a0
mov rcx, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x58]
call sub.KERNEL32.dll_ConnectNamedPipe
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.14000b3f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
test ebx, ebx
setne bl
movzx ebx, bl
cmp byte [rbp - 0x40], 0
je 0x1400d88d7
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402129e0
mov rax, qword gs:[0x58]
mov ecx, dword [0x140cf6fe0]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d8911
mov dword [rdi + 0xe0], 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, [0x14022f770]
call rax
mov rdi, rax
jmp 0x1400d88f7
Function at 0x1400d9000
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 - 0x54], 0
lea rcx, [0x1404d4eb8]
call fcn.14047a780
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x48], r15
test rbx, rbx
je 0x1400d905c
add rbx, 0xc
jmp 0x1400d905e
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 - 0x74], rcx
mov edx, esi
mov dword [rbp - 0x64], edx
mov r8d, edi
mov dword [rbp - 0x68], r8d
mov r9d, r14d
mov dword [rbp - 0x6c], r9d
lea rcx, [rbp - 0xa0]
call fcn.14000b3a0
mov rcx, qword [rbp - 0x74]
mov edx, dword [rbp - 0x64]
mov r8d, dword [rbp - 0x68]
mov r9d, dword [rbp - 0x6c]
call sub.KERNEL32.dll_CreateNamedPipeW
mov rbx, rax
lea rcx, [rbp - 0xa0]
call fcn.14000b3f0
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 - 0x54], 1
mov rax, qword [rbp - 0x60]
mov qword [rax + 8], rbx
mov rbx, rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x140cf6fe0]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1400d9138
mov dword [rdi + 0xe0], 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, [0x14022f770]
call rax
mov rdi, rax
jmp 0x1400d911b

Function at 0x140185740
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 - 0x3c], r8d
mov rdx, rcx
mov qword [rbp - 0x48], rdx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r9d, 2
mov dword [rbp - 0x40], r9d
lea rcx, [rbp - 0x78]
call fcn.14000b3a0
mov r8d, dword [rbp - 0x3c]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov r9d, dword [rbp - 0x40]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000b3f0
test ebx, ebx
jne 0x1401857b4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
jne 0x1401857dc
lea rcx, [0x1404fcbf8]
call fcn.140009660
mov rbx, rax
mov rcx, rbx
call fcn.1401b3f20
mov rcx, rbx
call fcn.140009bd0
int3
lea rcx, [0x1404fc348]
call fcn.140009660
mov rbx, rax
mov rcx, rbx
call fcn.1401ae810
mov rcx, rbx
call fcn.140009bd0
int3
Function at 0x14019a620
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 0x14019a83c
lea r14, [0x140b39a08]
mov eax, ebx
sar eax, 2
lea eax, [rax + rax*2]
cmp esi, eax
jl 0x14019a667
lea r15d, [rbx - 4]
jmp 0x14019a67e
mov edx, 0x55555556
mov eax, edx
imul esi
mov r15d, edx
shr r15d, 0x1f
add r15d, edx
shl r15d, 2
test r15d, r15d
jle 0x14019a721
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 0x14019a6bc
mov r9d, 0xffffffff
jmp 0x14019a6ee
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 0x14019a859
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 0x14019a687
lea eax, [rbx - 4]
cmp r15d, eax
jne 0x14019a859
cmp edi, ebx
je 0x14019a859
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 0x14019a859
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 0x14019a7e0
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 0x14019a859
add esi, 0xfffffffd
cmp ebp, esi
jg 0x14019a859
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 0x14019a835
cmp r9d, 0x3d
je 0x14019a81e
movsxd rdx, r9d
movsx rdx, byte [r14 + rdx]
shl edx, 6
or edx, eax
mov eax, edx
test eax, eax
jl 0x14019a859
lea edx, [rsi - 2]
cmp ebp, edx
jg 0x14019a859
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 0x14019a835
test eax, eax
jl 0x14019a859
lea edx, [rsi - 1]
cmp ebp, edx
jg 0x14019a859
sar eax, 0x10
movsxd rdx, ebp
mov byte [r11 + rdx], al
inc ebp
add edi, 4
cmp ebx, ecx
jne 0x14019a859
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 0x1401b45e0
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r10d, edx
cmp r10d, r8d
jg 0x1401b46fe
mov rcx, qword [rcx + 8]
lea rdx, [0x14050b3b0]
cmp qword [rcx], rdx
jne 0x1401b4610
mov edx, r10d
call fcn.14023aa90
jmp 0x1401b46f6
lea rdx, [0x14050b338]
cmp qword [rcx], rdx
jne 0x1401b4629
mov edx, r10d
call fcn.14023aa10
jmp 0x1401b46f6
sub r8d, r10d
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x18]
mov r11, qword [rcx + 0x20]
lea rbx, [rdx + rdx*4]
rol rbx, 7
lea rbx, [rbx + rbx*8]
mov rsi, rdx
shl rsi, 0x11
xor r9, rax
xor r11, rdx
xor rdx, r9
xor rax, r11
xor r9, rsi
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 rbx, 0x20
mov r11d, ebx
imul r11, r9
mov ebx, r11d
cmp ebx, r8d
jae 0x1401b46ee
mov eax, r8d
neg eax
xor edx, edx
div r8d
cmp ebx, edx
jae 0x1401b46ee
mov r11, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
lea rsi, [rax + rax*4]
rol rsi, 7
lea rsi, [rsi + rsi*8]
mov rdi, rax
shl rdi, 0x11
xor r8, r11
xor rbx, rax
xor rax, r8
xor r11, rbx
xor r8, rdi
rol rbx, 0x2d
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], rbx
shr rsi, 0x20
mov r11d, esi
imul r11, r9
mov ebx, r11d
cmp ebx, edx
jb 0x1401b4696
shr r11, 0x20
lea eax, [r11 + r10]
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.1401b4710
int3
Function at 0x1401b5800
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 0x1401b5847
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 0x1401b58a3
movsx rdx, word [rdi]
movzx ecx, dx
dec ecx
cmp ecx, 0xfe
jae 0x1401b5881
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.140470e80
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.140445220
xor r14d, r14d
movzx r15d, word [rdi]
sub r8d, ebp
mov r13d, r8d
cmp r13d, 8
jge 0x1401b591c
add rdi, 2
test r13d, r13d
jle 0x1401b59f6
lea rcx, [rsi + r14*2]
movsx rdx, r15w
mov r8d, r13d
call fcn.140445220
test eax, eax
jl 0x1401b59f6
sub r13d, eax
movsxd rcx, eax
add r14, rcx
test r13d, r13d
jle 0x1401b59f6
lea rcx, [rsi + r14*2 + 2]
mov r8d, ebp
add r8, r8
mov rdx, rdi
call fcn.1401b5160
test eax, eax
jne 0x1401b5914
dec r13d
inc r14
test r13d, r13d
jg 0x1401b58c3
jmp 0x1401b59f6
mov eax, r14d
jmp 0x1401b5a19
movsxd rcx, ebp
movzx ecx, word [rdi + rcx*2]
movsxd rbp, ebp
jmp 0x1401b592f
dec rbp
movzx ecx, word [rdi + rbp*2]
cmp ecx, r15d
jne 0x1401b593a
cmp rbp, 1
jg 0x1401b5928
movd xmm0, r15d
movaps xmm6, xmm0
punpcklwd xmm6, xmm0
pshufd xmm6, xmm6, 0
movd xmm0, ecx
movaps xmm7, xmm0
punpcklwd xmm7, xmm0
pshufd xmm7, xmm7, 0
movsxd r15, r13d
lea r13, [r15 - 8]
movups xmm0, xmmword [rsi + r14*2]
pcmpeqw xmm0, xmm6
lea rcx, [r14 + rbp]
movups xmm1, xmmword [rsi + rcx*2]
pcmpeqw xmm1, xmm7
pand xmm0, xmm1
xorps xmm1, xmm1
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1
cmp ecx, 0xffff
jne 0x1401b59a1
add r14, 8
cmp r14, r15
je 0x1401b59f6
cmp r14, r13
jle 0x1401b5962
mov r14, r13
jmp 0x1401b5962
pmovmskb r12d, xmm0
test r12d, r12d
jne 0x1401b59b2
mov ecx, 0x20
jmp 0x1401b59b6
bsf ecx, r12d
shr ecx, 1
mov eax, ecx
mov qword [rsp + 0x28], rax
cmp ebx, 2
je 0x1401b5a16
lea rcx, [r14 + rax]
lea rcx, [rsi + rcx*2]
mov r8d, ebx
add r8, r8
mov rdx, rdi
call fcn.1401b5160
test eax, eax
mov rax, qword [rsp + 0x28]
jne 0x1401b5a16
lea eax, [r12 - 1]
and eax, r12d
lea r12d, [rax - 1]
and r12d, eax
jne 0x1401b59a6
jmp 0x1401b598e
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
add 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
Function at 0x1401b7640
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
test rdx, rdx
je 0x1401b76fa
mov rax, qword [rdx]
lea r9, [0x1404fa0b0]
cmp rax, r9
jne 0x1401b76ec
mov rbx, rdx
mov rsi, qword [rcx]
lea rdx, [0x1404fd228]
cmp rsi, rdx
jne 0x1401b76a6
lea rdi, [0x1404ddda8]
cmp qword [rdi - 8], 0
jne 0x1401b7707
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.1401aea80
lea rdx, [0x1404fd1b8]
cmp rsi, rdx
jne 0x1401b76c1
mov rdx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp 0x1401b77d0
lea rsi, [0x1404ddda8]
cmp qword [rsi - 8], 0
jne 0x1401b7711
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.1401aeba0
mov rcx, rdx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [rax + 0x28]
lea rcx, [0x1404c4b28]
call fcn.1400bce70
int3
call fcn.140001366
jmp 0x1401b7687
call fcn.140001366
jmp 0x1401b76cf
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rdx
test rbx, rbx
je 0x1401b783d
cmp byte [rcx + 8], 0
je 0x1401b7810
lea rsi, [0x1404ddda8]
cmp qword [rsi - 8], 0
jne 0x1401b7845
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.1401aeba0
lea rdi, [0x1404ddda8]
cmp qword [rdi - 8], 0
jne 0x1401b784c
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.1401aea80
xor ecx, ecx
call fcn.1401b7e80
int3
call fcn.140001366
jmp 0x1401b77f3
call fcn.140001366
jmp 0x1401b781e

Function at 0x140233960
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 0x14023398c
add rcx, 0xc
mov rbx, rcx
jmp 0x14023398e
xor ebx, ebx
mov qword [rbp - 0x40], rbx
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rbx
mov qword [rbp - 0x48], rcx
lea rcx, [rbp - 0x70]
call fcn.14000b3a0
mov rcx, qword [rbp - 0x48]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.14000b3f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
mov rax, qword gs:[0x58]
mov ecx, dword [0x140cf6fe0]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x140233a0c
mov dword [rdi + 0xe0], esi
movzx eax, bl
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, [0x14022f770]
call rax
mov rdi, rax
jmp 0x1402339f2
Function at 0x140234e30
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 - 0x4c], 0
lea rcx, [0x1404d62c0]
call fcn.14047a780
mov qword [rbp - 0x58], 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 - 0x60], rdx
mov r8, rdi
mov qword [rbp - 0x68], r8
mov r9, r14
mov qword [rbp - 0x70], r9
mov rcx, rbx
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0xa0]
call fcn.14000b3a0
mov rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x68]
mov r9, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
call sub.KERNEL32.dll_CreateThread
mov rbx, rax
lea rcx, [rbp - 0xa0]
call fcn.14000b3f0
nop
xor eax, eax
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x3c], 1
mov byte [rbp - 0x4c], 1
mov rax, qword [rbp - 0x58]
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 0x140234f80
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.1402129a0
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x50], rcx
lea rcx, [rbp - 0x78]
call fcn.14000b3a0
mov rcx, qword [rbp - 0x50]
call sub.KERNEL32.dll_ResumeThread
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.14000b3f0
nop
cmp byte [rbp - 0x40], 0
je 0x140234ff1
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1402129e0
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 0x140235b90
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov ebx, r8d
mov qword [rbp - 0x40], rdx
mov rsi, rdx
test rcx, rcx
je 0x140235bca
add rcx, 0xc
mov rdi, rcx
jmp 0x140235bcc
xor edi, edi
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x54], rcx
mov rdx, rsi
mov qword [rbp - 0x5c], rdx
mov r8d, ebx
mov dword [rbp - 0x4c], r8d
lea rcx, [rbp - 0x88]
call fcn.14000b3a0
mov rcx, qword [rbp - 0x54]
mov rdx, qword [rbp - 0x5c]
mov r8d, dword [rbp - 0x4c]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000b3f0
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 [0x140cf6fe0]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x140235c61
mov dword [rdi + 0xe0], 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, [0x14022f770]
call rax
mov rdi, rax
jmp 0x140235c48

Function at 0x1402360e0
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 - 0x4c], edx
movzx r8d, di
mov dword [rbp - 0x50], r8d
mov rcx, rbx
mov qword [rbp - 0x5c], rcx
mov r9d, r14d
mov dword [rbp - 0x54], r9d
lea rcx, [rbp - 0x88]
call fcn.14000b3a0
mov edx, dword [rbp - 0x4c]
mov r8d, dword [rbp - 0x50]
mov rcx, qword [rbp - 0x5c]
mov r9d, dword [rbp - 0x54]
call sub.ADVAPI32.dll_ReportEventW
mov ebx, eax
lea rcx, [rbp - 0x88]
call fcn.14000b3f0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
test ebx, ebx
setne bl
movzx ebx, bl
mov rax, qword gs:[0x58]
mov ecx, dword [0x140cf6fe0]
mov edx, reloc.WS2_32.dll_recv
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x140236203
mov dword [rdi + 0xe0], 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, [0x14022f770]
call rax
mov rdi, rax
jmp 0x1402361e6