joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2bfc94580
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x2bfc945c8
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x2bfc945c8
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x2bfc945d8
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [0x2bfcbf670]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.2bfc7e840
xorps xmm15, xmm15
mov r14, qword [0x2bfdcff40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x2bfc946b1
mov rcx, qword [rsp + 0x58]
mov rdx, qword [0x2bfcbf678]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.2bfc7eac0
xorps xmm15, xmm15
mov r14, qword [0x2bfdcff40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x2bfc946b1
cmp qword [rcx + 8], rax
ja 0x2bfc945d3
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x2bfc9b240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x2bfc9b3b7
movzx edx, byte [rax]
test edx, edx
jne 0x2bfc9b274
nop dword [rax]
test r8b, r8b
jne 0x2bfc9b274
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x2bfc9b287
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x2bfc9b377
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x2bfc9b365
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x2bfc9b357
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x2bfc9b2dd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x2bfc9b320
mov eax, 1
cmp rax, rbx
ja 0x2bfc9b30b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.2bfcad000
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x2bfc9b34f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x2bfc9b313
mov rcx, r11
mov eax, r12d
jmp 0x2bfc9b2e2
mov rcx, rbx
call fcn.2bfcacf40
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.2bfcacf40
mov eax, r8d
mov rcx, rbx
call fcn.2bfcad000
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x2bfc9b3ad
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x2bfc9b370
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x2bfc9b28d
mov eax, edx
mov rcx, rbx
call fcn.2bfcacf40
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.2bfcacf40
nop
int3

Function at 0x2bfca0f40
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2bfca0ff5
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.2bfc9ebc0
nop
test bl, bl
je 0x2bfca0fef
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x2bfca1040]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.2bfcaab80
xorps xmm15, xmm15
mov r14, qword [0x2bfdcff40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.2bfcaaca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.2bfca0f40
Function at 0x2bfca3f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2bfca400f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x2bfca4060]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.2bfcaab80
xorps xmm15, xmm15
mov r14, qword [0x2bfdcff40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.2bfcaaca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.2bfca3f60
Function at 0x2bfcb5940
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x2bfcb5a0a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.2bfc52de0
xorps xmm15, xmm15
mov r14, qword [0x2bfdcff40]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x2bfcb59ef
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x2bfcca500]
xor ebx, ebx
mov rcx, rdx
call fcn.2bfc95100
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.2bfcb5d20
inc rbx
cmp rcx, rbx
jae 0x2bfcb59de
mov edi, 1
lea rsi, [0x2bfcca500]
call fcn.2bfc951e0
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x2bfcf3218]
lea rsi, [0x2bfcf2f60]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.2bfcaaca0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.2bfcb5940

Function at 0x2bfcb6cb0
Capabilities:
Create thread

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov rsi, r8
cmp edx, 1
je 0x2bfcb6cd0
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
ret
mov ecx, 0x18
call sub.msvcrt.dll_malloc
lea r8, [0x2bfcb6c80]
xor edx, edx
xor ecx, ecx
mov qword [rax], rbx
mov r9, rax
mov qword [rax + 0x10], rsi
mov dword [rax + 8], 1
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x2bfcbbf20
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.2bfcbd450
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.2bfcbd450
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]
Function at 0x2bfcbbf90
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rdi, dword [0x2bfdd43d4]
mov r12, rcx
mov rsi, rdx
mov rbx, r8
test edi, edi
jle 0x2bfcbc140
mov rax, qword [0x2bfdd43d8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp r12, rdx
jb 0x2bfcbbfdc
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x2bfcbc067
add ecx, 1
add rax, 0x28
cmp ecx, edi
jne 0x2bfcbbfc0
mov rcx, r12
call fcn.2bfcbc830
mov rbp, rax
test rax, rax
je 0x2bfcbc19d
mov rax, qword [0x2bfdd43d8]
lea rdi, [rdi + rdi*4]
shl rdi, 3
add rax, rdi
mov qword [rax + 0x20], rbp
mov dword [rax], 0
call fcn.2bfcbc960
mov ecx, dword [rbp + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x2bfdd43d8]
mov qword [rax + rdi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x2bfcbc182
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x2bfcbc060
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x2bfcbc0f0
add dword [0x2bfdd43d4], 1
cmp ebx, 8
jae 0x2bfcbc098
test bl, 4
jne 0x2bfcbc150
test ebx, ebx
je 0x2bfcbc089
movzx eax, byte [rsi]
mov byte [r12], al
test bl, 2
jne 0x2bfcbc170
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rsi]
lea rcx, [r12 + 8]
and rcx, 0xfffffffffffffff8
mov qword [r12], rax
mov eax, ebx
mov rdx, qword [rsi + rax - 8]
mov qword [r12 + rax - 8], rdx
sub r12, rcx
add ebx, r12d
sub rsi, r12
and ebx, 0xfffffff8
cmp ebx, 8
jb 0x2bfcbc089
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov r8, qword [rsi + rdx]
mov qword [rcx + rdx], r8
cmp eax, ebx
jb 0x2bfcbc0ca
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rdi, qword [0x2bfdd43d8]
mov qword [rdi + 8], rcx
mov r9, rdi
mov qword [rdi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x2bfcbc060
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.2bfcbbf20
xor edi, edi
jmp 0x2bfcbbfe7
mov eax, dword [rsi]
mov ebx, ebx
mov dword [r12], eax
mov eax, dword [rsi + rbx - 4]
mov dword [r12 + rbx - 4], eax
jmp 0x2bfcbc089
mov ebx, ebx
movzx eax, word [rsi + rbx - 2]
mov word [r12 + rbx - 2], ax
jmp 0x2bfcbc089
mov rax, qword [0x2bfdd43d8]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rdi + 0x18]
call fcn.2bfcbbf20
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.2bfcbbf20
nop
nop dword [rax]
Function at 0x2bfcbc4a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x2bfdd4400]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x2bfdd43e0]
test rbx, rbx
je 0x2bfcbc4f4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x2bfcbc4eb
test r12, r12
je 0x2bfcbc4eb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x2bfcbc4d0
lea rcx, [0x2bfdd4400]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x2bfcbc830
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x2bfd44ac0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x2bfcbc8a9
mov rcx, r10
call fcn.2bfcbc700
test eax, eax
je 0x2bfcbc8a9
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x2bfcbc8a6
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x2bfcbc89d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x2bfcbc8a9
add r8, 0x28
cmp r8, r9
jne 0x2bfcbc888
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x1400d1974
Capabilities:
Timestomp file

Disassembly:
jmp 0x1400f6d90
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1f8]
mov rax, qword [0x1402de140]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x1402fb102]
call fcn.1400d67a8
nop
mov rcx, qword [rbp + 0x1b0]
call fcn.1400d1811
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x1400f6e66
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x184], eax
lea rdx, str.Failed_to_open_file_to_set_times:
lea rcx, [0x1402e0d30]
call fcn.1400d198d
mov ecx, dword [rbp + 0x184]
mov edx, ecx
mov rcx, rax
call fcn.1400d3017
lea rdx, [0x1400d136b]
mov rcx, rax
call fcn.1400d3c92
nop
jmp 0x1400f6f4b
lea rcx, [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
nop
movsxd rax, dword [rbp + 0x1b8]
imul rax, rax, 0x18
imul rax, rax, 0x3c
imul rax, rax, 0x3c
imul rax, rax, 0x989680
mov qword [rbp + 0x98], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
nop
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0xb8], eax
mov eax, dword [rbp + 0x2c]
mov dword [rbp + 0xbc], eax
mov rax, qword [rbp + 0x98]
mov rcx, qword [rbp + 0xb8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0xb8], rax
mov eax, dword [rbp + 0xb8]
mov dword [rbp + 0x28], eax
mov eax, dword [rbp + 0xbc]
mov dword [rbp + 0x2c], eax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x48], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, [rbp + 0x28]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x1400f6f40
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x184], eax
lea rdx, str.Failed_to_set_file_time:
lea rcx, [0x1402e0d30]
call fcn.1400d198d
mov ecx, dword [rbp + 0x184]
mov edx, ecx
mov rcx, rax
call fcn.1400d3017
lea rdx, [0x1400d136b]
mov rcx, rax
call fcn.1400d3c92
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x40]
lea rdx, [0x14028ad10]
call fcn.1400d586c
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1400d3a21
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret
Function at 0x1400d1ee7
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1400eb9f0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1402fb101]
call fcn.1400d67a8
nop
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x1400eba2e
mov rcx, qword [rbp + 0x100]
call fcn.1400d21b2
nop
jmp 0x1400eba4a
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x1400eba4a
mov rcx, qword [rbp + 0x100]
call fcn.1400d3a99
nop
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x1400d1f5a
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140141c00
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140141c28
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140141c72
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x140141c1d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret

Function at 0x1400d25e0
Capabilities:
Delete file

Disassembly:
jmp 0x14023d770
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14023d79c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400d299b
mov eax, 0xffffffff
jmp 0x14023d79e
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400d371f
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140197e10
mov rax, rcx
neg rcx
test rax, 7
je 0x140197e2d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x140197e88
test al, 7
jne 0x140197e20
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x140197e41
mov rdx, qword [rax - 8]
test dl, dl
je 0x140197eb2
test dh, dh
je 0x140197eac
shr rdx, 0x10
test dl, dl
je 0x140197ea6
test dh, dh
je 0x140197ea0
shr rdx, 0x10
test dl, dl
je 0x140197e9a
test dh, dh
je 0x140197e94
shr edx, 0x10
test dl, dl
je 0x140197e8e
test dh, dh
jne 0x140197e41
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x1400d3765
Capabilities:
Query environment variable

Disassembly:
jmp 0x140253be0
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140253760
lea rcx, [rsp + 0x20]
call fcn.1402537b0
movzx eax, al
test eax, eax
jne 0x140253c25
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.140253790
mov rax, qword [rsp + 0x40]
jmp 0x140253d1f
lea rcx, [rsp + 0x20]
call fcn.1402538b0
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140253850
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.1400d3b0c
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400d307b
lea rcx, [rsp + 0x28]
call fcn.1400d403e
movzx eax, al
test eax, eax
jne 0x140253cbf
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400d5614
lea rcx, [rsp + 0x20]
call fcn.140253790
mov rax, qword [rsp + 0x50]
jmp 0x140253d1f
lea rcx, [rsp + 0x20]
call fcn.1402538b0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.1400d66a4
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400d3a44
lea rcx, [rsp + 0x28]
call fcn.1400d70bd
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400d5614
lea rcx, [rsp + 0x20]
call fcn.140253790
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x1400d3a99
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1400f0200
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x1402fb101]
call fcn.1400d67a8
nop
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x1400f0245
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x1400f02d6
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x1400f029b
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400f02a5
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400f023a
mov qword [rbp + 0x88], 0xe3
jmp 0x1400f02f4
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x1400f039d
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x1400f0359
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400f0363
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400f02e3
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x1400f03fd
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1400f0407
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret