joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180020320
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
je 0x18002053d
lea ebp, [rbx - 1]
test ebp, ebp
je 0x1800204e4
xor r14d, r14d
movzx r15d, word [rdi]
mov r13d, r8d
sub r13d, ebp
cmp r13d, 8
jl 0x180020459
movsxd rcx, ebp
movzx ecx, word [rdi + rcx*2]
movsxd rbp, ebp
jmp 0x180020383
dec rbp
movzx ecx, word [rdi + rbp*2]
cmp ecx, r15d
jne 0x18002038e
cmp rbp, 1
jg 0x18002037c
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
add r15, 0xfffffffffffffff8
jmp 0x1800203bb
mov r14, r15
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
je 0x18002043a
pmovmskb r12d, xmm0
test r12d, r12d
je 0x1800203f7
bsf ecx, r12d
jmp 0x1800203fc
mov ecx, 0x20
shr ecx, 1
mov eax, ecx
mov qword [rsp + 0x28], rax
cmp ebx, 2
je 0x180020454
lea rcx, [r14 + rax]
lea rcx, [rsi + rcx*2]
mov r8d, ebx
add r8, r8
mov rdx, rdi
call fcn.18001ff00
test eax, eax
mov rax, qword [rsp + 0x28]
jne 0x180020454
lea ecx, [r12 - 1]
and ecx, r12d
lea r12d, [rcx - 1]
and r12d, ecx
jne 0x1800203ec
add r14, 8
movsxd rcx, r13d
cmp r14, rcx
je 0x1800204a6
cmp r14, r15
jle 0x1800203bb
jmp 0x1800203b8
add eax, r14d
jmp 0x1800204c9
add rdi, 2
test r13d, r13d
jle 0x1800204a6
lea rcx, [rsi + r14*2]
movsx rdx, r15w
mov r8d, r13d
call fcn.1800cfaa0
test eax, eax
jl 0x1800204a6
sub r13d, eax
movsxd rcx, eax
add r14, rcx
test r13d, r13d
jle 0x1800204a6
lea rcx, [rsi + r14*2 + 2]
mov r8d, ebp
add r8, r8
mov rdx, rdi
call fcn.18001ff00
test eax, eax
jne 0x1800204c6
dec r13d
inc r14
test r13d, r13d
jg 0x180020462
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
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
movsx rdx, word [rdi]
movzx ecx, dx
dec ecx
cmp ecx, 0xfe
jb 0x180020517
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.1800cfaa0
movsx rdx, dx
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.1800d8740
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
Function at 0x180023010
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp qword [rbx], 0
jne 0x18002303a
lea rcx, [0x180249a00]
mov edx, 0x55
call fcn.1800deb60
mov rdx, rax
mov rcx, rbx
call fcn.1800decc0
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
cmp dword [rax + 8], 0x50
jbe 0x1800230a8
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rbx]
cmp dword [rax + 8], 0x51
jbe 0x1800230a8
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rbx]
cmp dword [rax + 8], 0x52
jbe 0x1800230a8
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rbx]
cmp dword [rax + 8], 0x53
jbe 0x1800230a8
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rbx]
cmp dword [rax + 8], 0x54
jbe 0x1800230a8
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
call fcn.18005c1b0
int3
Function at 0x18002f0a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r14
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm7
movsd xmm6, qword [0x180190010]
movaps xmm7, xmm6
call fcn.18002f2e0
call fcn.18002b650
test eax, eax
jl 0x18002f28b
lea rbx, [0x180226c88]
cmp qword [rbx - 8], 0
jne 0x18002f2ac
movabs rdx, 0x431bde82d7b634db
mov rax, rdx
imul qword [rbx]
mov rcx, rdx
shr rcx, 0x3f
sar rdx, 0x12
lea rsi, [rdx + rcx + 1]
mov ebx, 0xa
mov edi, 8
add edi, edi
lea rcx, [rsp + 0x38]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x38]
cmp dword [0x180202090], 0
jne 0x18002f2b6
test edi, edi
jle 0x18002f13c
mov r14d, edi
call fcn.18002b650
dec r14d
jne 0x18002f132
lea rcx, [rsp + 0x30]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rsp + 0x30]
sub rcx, rbp
mov rbp, rcx
cmp dword [0x180202090], 0
jne 0x18002f2c0
cmp rbp, rsi
jl 0x18002f10d
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, edi
divsd xmm0, xmm1
ucomisd xmm7, xmm0
jp 0x18002f17e
je 0x18002f18c
ucomisd xmm7, xmm7
jp 0x18002f196
ucomisd xmm0, xmm7
ja 0x18002f196
jmp 0x18002f199
movq rcx, xmm7
test rcx, rcx
jge 0x18002f18a
movaps xmm0, xmm7
movaps xmm7, xmm0
mov ecx, edi
sar ecx, 0x1f
and ecx, 3
add ecx, edi
mov edi, ecx
sar edi, 2
add edi, edi
lea rcx, [rsp + 0x28]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rbp, qword [rsp + 0x28]
cmp dword [0x180202090], 0
jne 0x18002f2ca
test edi, edi
jle 0x18002f1da
mov r14d, edi
call fcn.18002f2e0
dec r14d
jne 0x18002f1d0
lea rcx, [rsp + 0x20]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rax, qword [rsp + 0x20]
sub rax, rbp
mov rbp, rax
cmp dword [0x180202090], 0
jne 0x18002f2d4
cmp rbp, rsi
jl 0x18002f1ab
xorps xmm0, xmm0
cvtsi2sd xmm0, rbp
xorps xmm1, xmm1
cvtsi2sd xmm1, edi
divsd xmm0, xmm1
ucomisd xmm6, xmm0
jp 0x18002f21c
je 0x18002f22a
ucomisd xmm6, xmm6
jp 0x18002f234
ucomisd xmm0, xmm6
ja 0x18002f234
jmp 0x18002f237
movq rax, xmm6
test rax, rax
jge 0x18002f228
movaps xmm0, xmm6
movaps xmm6, xmm0
dec ebx
jne 0x18002f108
movaps xmm0, xmm7
mulsd xmm0, qword [0x180190018]
divsd xmm0, xmm6
call fcn.1800df710
mov ecx, 0x1388
cmp eax, 0x1388
cmovg eax, ecx
mov dword [0x1801fc890], eax
cmp dword [0x1801fc890], 5
setle al
movzx eax, al
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
mov dword [0x1801fc890], 0xffff
xor eax, eax
movaps xmm6, xmmword [rsp + 0x50]
movaps xmm7, xmmword [rsp + 0x40]
add rsp, 0x60
pop rbx
pop rbp
pop rsi
pop rdi
pop r14
ret
call fcn.1800db149
jmp 0x18002f0e3
call fcn.1800df8a0
jmp 0x18002f12b
call fcn.1800df8a0
jmp 0x18002f15e
call fcn.1800df8a0
jmp 0x18002f1c9
call fcn.1800df8a0
jmp 0x18002f1fc
Function at 0x18005c3b0
Capabilities:
Copy file

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 qword [rbp - 0x50], rax
mov rbx, r8
mov rsi, r9
mov rdi, qword [rbp + 0x30]
mov qword [rbp - 0x40], rdi
test rdx, rdx
jne 0x18005c3ed
xor r14d, r14d
jmp 0x18005c3f1
lea r14, [rdx + 0xc]
mov qword [rbp - 0x48], r14
test rcx, rcx
jne 0x18005c3ff
xor r15d, r15d
jmp 0x18005c403
lea r15, [rcx + 0xc]
mov qword [rbp - 0x50], r15
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], rdi
mov edi, dword [rbp + 0x38]
mov dword [rsp + 0x28], edi
mov rcx, r15
mov qword [rbp - 0x80], rcx
mov rdx, r14
mov qword [rbp - 0x88], rdx
mov r8, rbx
mov qword [rbp - 0x90], r8
mov r9, rsi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.1800e0750
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.KERNEL32.dll_CopyFileExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18005c4c8
mov dword [rdi + 0x98], 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, [0x180059750]
call rax
mov rdi, rax
jmp 0x18005c4a6

Function at 0x18005c4e0
Capabilities:
Create directory

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 - 0x40], rax
mov rbx, rdx
test rcx, rcx
jne 0x18005c50a
xor esi, esi
jmp 0x18005c50e
lea rsi, [rcx + 0xc]
mov qword [rbp - 0x40], rsi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rsi
mov qword [rbp - 0x70], rcx
mov rdx, rbx
mov qword [rbp - 0x78], rdx
lea rcx, [rbp - 0x68]
call fcn.1800e0750
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
call sub.KERNEL32.dll_CreateDirectoryW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18005c594
mov dword [rdi + 0x98], esi
test ebx, ebx
setne al
movzx eax, al
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, [0x180059750]
call rax
mov rdi, rax
jmp 0x18005c575
Function at 0x18005cab0
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
jne 0x18005cad7
xor ebx, ebx
jmp 0x18005cadb
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.1800e0750
mov rcx, qword [rbp - 0x70]
call sub.KERNEL32.dll_DeleteFileW
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18005cb56
mov dword [rdi + 0x98], 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, [0x180059750]
call rax
mov rdi, rax
jmp 0x18005cb37

Function at 0x18005d690
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xor eax, eax
mov qword [rbp - 0x48], rax
mov rbx, rdx
mov esi, r8d
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.180053040
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x7c], rcx
mov rdx, rbx
mov qword [rbp - 0x84], rdx
mov r8d, esi
mov dword [rbp - 0x74], r8d
mov r9, rdi
mov qword [rbp - 0x8c], r9
lea rcx, [rbp - 0x70]
call fcn.1800e0750
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8d, dword [rbp - 0x74]
mov r9, qword [rbp - 0x8c]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
cmp byte [rbp - 0x40], 0
je 0x18005d753
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.180053080
mov rax, qword gs:[0x58]
mov ecx, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18005d78f
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x180059750]
call rax
mov rdi, rax
jmp 0x18005d773
Function at 0x18005d7e0
Capabilities:
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0xc0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rsi, rdx
mov edi, r8d
mov rbx, r9
xor edx, edx
mov dword [rbx], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.180053040
nop
mov qword [rbp - 0x50], rbx
mov rcx, qword [rbp - 0x48]
mov r14, qword [rcx + 8]
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, r14
mov qword [rbp - 0x84], rcx
mov rdx, rsi
mov qword [rbp - 0x8c], rdx
mov r8d, edi
mov dword [rbp - 0x7c], r8d
mov r9, rbx
mov qword [rbp - 0x94], r9
lea rcx, [rbp - 0x78]
call fcn.1800e0750
mov rcx, qword [rbp - 0x84]
mov rdx, qword [rbp - 0x8c]
mov r8d, dword [rbp - 0x7c]
mov r9, qword [rbp - 0x94]
call sub.KERNEL32.dll_ReadFile
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.1800e07a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x18005d8bf
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.180053080
mov rax, qword gs:[0x58]
mov ecx, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18005d8fb
mov dword [rdi + 0x98], esi
mov eax, ebx
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x180059750]
call rax
mov rdi, rax
jmp 0x18005d8df

Function at 0x18005db40
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, [0x1802260d8]
call fcn.1800d8ee0
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.1800e0750
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.1800e07a0
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 0x18005dcb0
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.180053040
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x78], rcx
lea rcx, [rbp - 0x70]
call fcn.1800e0750
mov rcx, qword [rbp - 0x78]
call sub.KERNEL32.dll_ResumeThread
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.1800e07a0
nop
cmp byte [rbp - 0x40], 0
je 0x18005dd21
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.180053080
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 0x18005e0a0
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
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.1800e0750
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.1800e07a0
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18005e16c
mov dword [rdi + 0x98], 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, [0x180059750]
call rax
mov rdi, rax
jmp 0x18005e153
Function at 0x18005e620
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 - 0x48], rax
mov ebx, r8d
mov qword [rbp - 0x40], rdx
mov rsi, rdx
test rcx, rcx
jne 0x18005e651
xor edi, edi
jmp 0x18005e655
lea rdi, [rcx + 0xc]
mov qword [rbp - 0x48], rdi
xor ecx, ecx
call sub.KERNEL32.dll_SetLastError
mov rcx, rdi
mov qword [rbp - 0x7c], rcx
mov rdx, rsi
mov qword [rbp - 0x84], rdx
mov r8d, ebx
mov dword [rbp - 0x74], r8d
lea rcx, [rbp - 0x70]
call fcn.1800e0750
mov rcx, qword [rbp - 0x7c]
mov rdx, qword [rbp - 0x84]
mov r8d, dword [rbp - 0x74]
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.1800e07a0
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 [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18005e6ea
mov dword [rdi + 0x98], 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, [0x180059750]
call rax
mov rdi, rax
jmp 0x18005e6d1

Function at 0x18005eca0
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.1800e0750
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.1800e07a0
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 [0x1802083fc]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x18005edc0
mov dword [rdi + 0x98], 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, [0x180059750]
call rax
mov rdi, rax
jmp 0x18005ed9e
Function at 0x180060820
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.180060820
ret

Function at 0x180082a10
Capabilities:
Hash data using murmur3

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
cmp edx, 0xffffffff
je 0x180082a43
mov ecx, edx
call fcn.180082940
mov rdx, rax
lea rcx, [0x180216b60]
lea r8, [0x18021cf08]
call fcn.180012790
mov rcx, rax
call fcn.1800828e0
jmp 0x180082a48
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

Function at 0x180084ed0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov esi, r8d
mov rdi, r9
mov r15, qword [rbp + 0x30]
mov r14, qword [rbp + 0x50]
xor edx, edx
mov dword [r14], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.180053040
nop
mov qword [rbp - 0x50], r14
lea rcx, [r15 + 0x10]
xor edx, edx
test r15, r15
cmove rcx, rdx
mov qword [rbp - 0x58], rcx
mov rdx, qword [rbp - 0x48]
mov qword [rsp + 0x20], rcx
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbp + 0x48]
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x40], r14
mov r14d, dword [rbp + 0x58]
mov dword [rsp + 0x48], r14d
mov rcx, qword [rdx + 8]
mov qword [rbp - 0x8c], rcx
mov rdx, rbx
mov qword [rbp - 0x94], rdx
mov r8d, esi
mov dword [rbp - 0x84], r8d
mov r9, rdi
mov qword [rbp - 0x9c], r9
lea rcx, [rbp - 0x80]
call fcn.1800e0750
mov rcx, qword [rbp - 0x8c]
mov rdx, qword [rbp - 0x94]
mov r8d, dword [rbp - 0x84]
mov r9, qword [rbp - 0x9c]
call sub.bcrypt.dll_BCryptEncrypt
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1800e07a0
nop
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x180084fee
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.180053080
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x180085090
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0xf0]
xor eax, eax
mov qword [rbp - 0x58], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov esi, r8d
mov rdi, r9
mov r15, qword [rbp + 0x30]
mov r14, qword [rbp + 0x50]
xor edx, edx
mov dword [r14], edx
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.180053040
nop
mov qword [rbp - 0x50], r14
lea rcx, [r15 + 0x10]
xor edx, edx
test r15, r15
cmove rcx, rdx
mov qword [rbp - 0x58], rcx
mov rdx, qword [rbp - 0x48]
mov qword [rsp + 0x20], rcx
mov r15d, dword [rbp + 0x38]
mov dword [rsp + 0x28], r15d
mov r15, qword [rbp + 0x40]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbp + 0x48]
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x40], r14
mov r14d, dword [rbp + 0x58]
mov dword [rsp + 0x48], r14d
mov rcx, qword [rdx + 8]
mov qword [rbp - 0x8c], rcx
mov rdx, rbx
mov qword [rbp - 0x94], rdx
mov r8d, esi
mov dword [rbp - 0x84], r8d
mov r9, rdi
mov qword [rbp - 0x9c], r9
lea rcx, [rbp - 0x80]
call fcn.1800e0750
mov rcx, qword [rbp - 0x8c]
mov rdx, qword [rbp - 0x94]
mov r8d, dword [rbp - 0x84]
mov r9, qword [rbp - 0x9c]
call sub.bcrypt.dll_BCryptDecrypt
mov ebx, eax
lea rcx, [rbp - 0x80]
call fcn.1800e07a0
nop
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1800851ae
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.180053080
mov eax, ebx
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret