joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180079490
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x1800794c1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x18016cd18]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18016cd28]
lea rdx, [rdi + rdi]
call fcn.180001c30
mov rax, qword [0x18016cd18]
lea r9, [rdi - 1]
mov qword [0x18016cd40], r9
mov qword [0x18016cd48], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180079662
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x18016cd28]
mov r9, qword [r11]
cmp r9, rbx
jne 0x1800795ac
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180079623
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1800795e9
mov r10, qword [rdx]
cmp r10, rax
je 0x1800795e3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x180079623
cmp r9, rdx
je 0x1800795ff
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180079637
cmp r9, rdx
jne 0x1800795f0
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18007965d
mov r9, qword [0x18016cd40]
jmp 0x180079531
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180079623
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18009f680
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x180152870]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r15d, r15d
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x18009f6d4
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.180022aa0
nop
mov rcx, qword [0x18016cc10]
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rcx
cmp rax, 0xf
jb 0x18009f900
lea r14, [0x18016cc00]
mov rax, r14
cmp qword [0x18016cc18], 0x10
cmovae rax, qword [0x18016cc00]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xf
lea r9, str._DELTA_Profile_
lea rcx, [rbp - 0x29]
call fcn.1800233e0
nop
mov r8d, 5
lea rdx, str..json
lea rcx, [rbp - 0x29]
call fcn.180022a00
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x49], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x59]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x17]
call fcn.180022a00
nop
lea rcx, [rbp - 0x59]
call fcn.1800014f0
nop
lea rcx, [rbp - 0x29]
call fcn.1800014f0
mov rdi, qword [rbp + 0x27]
lea rbx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rbx, qword [rbp + 0x17]
call fcn.1800d5478
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rdi
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp - 0x59]
call fcn.18006a2e0
nop
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rcx, qword [rbp - 0x59]
call fcn.1800d5b84
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x18009f906
lea rcx, [rbp - 0x59]
call fcn.18006cda0
test bl, bl
je 0x18009f8c8
lea rax, [rbp - 9]
mov qword [rbp - 0x39], rax
mov rax, qword [0x18016cc10]
sub rsi, rax
cmp rsi, 0x15
jb 0x18009f8fa
mov r9, r14
cmp qword [0x18016cc18], 0x10
cmovae r9, qword [0x18016cc00]
mov qword [rsp + 0x30], 0x15
lea rcx, str._has_been_deleted__:_
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 9]
call fcn.1800233e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov r8d, 7
lea rdx, str.Profile
lea rcx, [rbp - 0x59]
call fcn.180022aa0
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x59]
mov rcx, qword [0x1801de7e8]
call fcn.180071910
cmp qword [0x18016cc18], 0x10
cmovae r14, qword [0x18016cc00]
mov qword [0x18016cc10], r15
mov byte [r14], 0
lea rcx, [rbp + 0x17]
call fcn.1800014f0
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800d5ea0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180022a80
nop
call fcn.180022a80
nop
lea r8, [rbp - 0x59]
mov edx, eax
lea rcx, str.remove
call fcn.18006ab90
int3
jmp 0x18009f680
Function at 0x1800bec40
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x180152870]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r15d, r15d
lea rcx, str.APPDATA
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x18009f6d4
mov rdx, rax
lea rcx, [rbp + 0x17]
call fcn.180022aa0
nop
mov rcx, qword [0x18016cc10]
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rcx
cmp rax, 0xf
jb 0x18009f900
lea r14, [0x18016cc00]
mov rax, r14
cmp qword [0x18016cc18], 0x10
cmovae rax, qword [0x18016cc00]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0xf
lea r9, str._DELTA_Profile_
lea rcx, [rbp - 0x29]
call fcn.1800233e0
nop
mov r8d, 5
lea rdx, str..json
lea rcx, [rbp - 0x29]
call fcn.180022a00
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x49], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rbp - 0x59]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp + 0x17]
call fcn.180022a00
nop
lea rcx, [rbp - 0x59]
call fcn.1800014f0
nop
lea rcx, [rbp - 0x29]
call fcn.1800014f0
mov rdi, qword [rbp + 0x27]
lea rbx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rbx, qword [rbp + 0x17]
call fcn.1800d5478
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rdi
lea r8, [rbp - 0x29]
mov edx, eax
lea rcx, [rbp - 0x59]
call fcn.18006a2e0
nop
lea rcx, [rbp - 0x59]
cmp qword [rbp - 0x41], 8
cmovae rcx, qword [rbp - 0x59]
call fcn.1800d5b84
mov rbx, rax
shr rax, 0x20
test eax, eax
jne 0x18009f906
lea rcx, [rbp - 0x59]
call fcn.18006cda0
test bl, bl
je 0x18009f8c8
lea rax, [rbp - 9]
mov qword [rbp - 0x39], rax
mov rax, qword [0x18016cc10]
sub rsi, rax
cmp rsi, 0x15
jb 0x18009f8fa
mov r9, r14
cmp qword [0x18016cc18], 0x10
cmovae r9, qword [0x18016cc00]
mov qword [rsp + 0x30], 0x15
lea rcx, str._has_been_deleted__:_
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 9]
call fcn.1800233e0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], r15
mov r8d, 7
lea rdx, str.Profile
lea rcx, [rbp - 0x59]
call fcn.180022aa0
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x59]
mov rcx, qword [0x1801de7e8]
call fcn.180071910
cmp qword [0x18016cc18], 0x10
cmovae r14, qword [0x18016cc00]
mov qword [0x18016cc10], r15
mov byte [r14], 0
lea rcx, [rbp + 0x17]
call fcn.1800014f0
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1800d5ea0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.180022a80
nop
call fcn.180022a80
nop
lea r8, [rbp - 0x59]
mov edx, eax
lea rcx, str.remove
call fcn.18006ab90
int3
jmp 0x18009f680
Function at 0x1800cfa30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
movzx edi, dx
mov rbx, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r9, qword [0x1801de1d8]
cmp rax, qword [r9 + 0x1b8]
jne 0x1800cfac6
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x1800cfaac
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x1800cfabf
cmp byte [0x1801de9a8], 0
je 0x1800cfa9d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
imul rcx, rsi, 0x64
mov byte [0x1801de9a8], 0
add rax, rcx
mov qword [0x1801de9a0], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, qword [0x1801de9a0]
jbe 0x1800cfac6
mov byte [rbx], 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov byte [0x1801de9a8], 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1800d08c0
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x180152870]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor edx, edx
mov ecx, 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
je 0x1800d0a4e
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1800d0a43
mov eax, dword [rsp + 0x30]
cmp rax, 0x10
jb 0x1800d0a24
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x3c], eax
jne 0x1800d0a24
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x38], eax
je 0x1800d0a24
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800d0991
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0x80
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x1801a8488]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
jne 0x1800d098f
jmp 0x1800d0a43
jmp 0x1800d09fb
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x1800d09fb
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov eax, eax
shl rax, 2
mov r9, rax
mov rax, qword [rsp + 0x70]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801a8488]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800d09dc
jmp 0x1800d0a43
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
mov qword [rax], rcx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax*4], edx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0xc], eax
mov dword [rsp + 0x30], 0x1c
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1800d0914
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800d5ea0
add rsp, 0x68
ret
Function at 0x1800d0a70
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1800d08c0
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800d0b32
mov dword [rsp + 0x20], 0
jmp 0x1800d0acf
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x1800d0b32
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800d0b30
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.1800d0710
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800d0ac5
add rsp, 0x38
ret

Function at 0x1800d0b40
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800d0bcf
mov dword [rsp + 0x20], 0
jmp 0x1800d0b68
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x1800d0bb8
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800d0bb6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800d0b5e
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801a8488]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x38
ret
Function at 0x1800d0be0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov eax, dword [rsp + 0x60]
imul rax, rax, 0x38
mov rcx, qword [0x1801de9d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], 5
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800d0c4a
mov rax, qword [rsp + 0x30]
sub rax, 5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x20]
mov r8d, 0x40
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800d0c73
mov eax, 0xa
jmp 0x1800d0da4
cmp dword [rsp + 0x68], 0
je 0x1800d0cde
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x30]
add rax, 5
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800d0cdc
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x48]
mov byte [rax + 1], 0xf9
jmp 0x1800d0d2a
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800d0d0e
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800d0d2a
mov rax, qword [rsp + 0x28]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x20]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x68]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x28]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x28]
mov byte [rcx + 0x20], al
xor eax, eax
add rsp, 0x58
ret
Function at 0x1800d15a0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x90], 0x40000000
jbe 0x1800d1601
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
cmp qword [rsp + 0x30], rax
jae 0x1800d1601
mov rax, qword [rsp + 0x90]
sub rax, 0x40000000
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
cmp qword [rsp + 0x28], rax
jbe 0x1800d1629
mov rax, qword [rsp + 0x90]
add rax, 0x40000000
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
sub rax, 0xfff
mov qword [rsp + 0x28], rax
mov rax, qword [0x1801de9c8]
mov qword [rsp + 0x20], rax
jmp 0x1800d1654
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800d168e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x20], rax
jb 0x1800d1674
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x20], rax
jb 0x1800d1676
jmp 0x1800d1647
mov rax, qword [rsp + 0x20]
cmp qword [rax + 8], 0
je 0x1800d168c
mov rax, qword [rsp + 0x20]
jmp 0x1800d1800
jmp 0x1800d1647
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
jb 0x1800d16f7
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call fcn.1800d13a0
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x1800d16ca
jmp 0x1800d16f7
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800d16f5
jmp 0x1800d16f7
jmp 0x1800d169b
cmp qword [rsp + 0x20], 0
jne 0x1800d1768
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x40], rax
ja 0x1800d1768
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
call fcn.1800d1480
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1800d173b
jmp 0x1800d1768
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x1000
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800d1766
jmp 0x1800d1768
jmp 0x1800d170c
cmp qword [rsp + 0x20], 0
je 0x1800d17fb
mov rax, qword [rsp + 0x20]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x10], 0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x48]
add rax, 0x40
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
cmp rax, 0xfc0
jbe 0x1800d179b
mov rax, qword [rsp + 0x20]
mov rcx, qword [0x1801de9c8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x20]
mov qword [0x1801de9c8], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x88
ret
Function at 0x1800d1fa0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1800d1ff9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1800d1ff9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1800d1ff9
xor eax, eax
jmp 0x1800d2040
mov dword [rsp], 1
jmp 0x1800d200a
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1800d203b
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800d2039
xor eax, eax
jmp 0x1800d2040
jmp 0x1800d2002
mov eax, 1
add rsp, 0x18
ret
Function at 0x1800d5da8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1800d5e2c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800fc060]
cmp byte [rcx + rax], 0
je 0x1800d5e2c
dec r8
sub rdx, 1
jne 0x1800d5e12
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400014d0
Capabilities:
Hash data using djb2

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14006c010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, rcx
xor r15d, r15d
mov rcx, qword [rcx + 0x128]
mov r14, r8
mov rbx, rdx
cmp dword [rcx + 0x47c], r15d
jne 0x1400016a3
lea rdi, [rcx + 0x228]
cmp dword [rcx + 0x478], r15d
je 0x140001524
mov dword [rcx + 0x478], r15d
jmp 0x14000153c
mov rcx, qword [rcx + 0x480]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400016a3
test rdi, rdi
je 0x1400016a3
lea r9, [rdi + 0x2c]
mov qword [rsp + 0x88], rsi
mov r8d, 0x105
mov qword [rsp + 0x20], 0x105
lea rdx, [rbx + 0x1c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
je 0x1400015a6
lea r9, [rdi + 0x234]
cmp word [r9], r15w
je 0x14000159e
mov r8d, 0x105
mov qword [rsp + 0x20], 0x105
lea rdx, [rbx + 0x1c]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
test eax, eax
jne 0x140001672
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rbx + 0x10], rax
mov eax, dword [rdi]
test al, 0x40
je 0x1400015c1
mov dword [rbx + 0x18], 0x2000
jmp 0x1400015d3
test al, 0x10
mov ecx, 0x4000
mov eax, 0x8000
cmovne eax, ecx
mov dword [rbx + 0x18], eax
mov rcx, qword [rbp + 0x128]
cmp dword [rcx + 0x47c], r15d
jne 0x140001664
lea rdi, [rcx + 0x228]
cmp dword [rcx + 0x478], r15d
je 0x140001600
mov dword [rcx + 0x478], r15d
jmp 0x140001614
mov rcx, qword [rcx + 0x480]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140001664
test rdi, rdi
je 0x140001664
lea rax, [rdi + 0x2c]
mov ecx, 0x1505
add rdi, 0x234
cmp rax, rdi
je 0x140001645
nop
movzx edx, word [rax]
add rax, 2
test edx, edx
je 0x140001645
imul ecx, ecx, 0x21
add ecx, edx
cmp rax, rdi
jne 0x140001630
btr ecx, 0x1f
mov dword [rbx + 4], ecx
mov rax, qword [rbp + 0x128]
mov dword [rax + 0x478], 1
mov eax, 0x128
jmp 0x14000168f
mov dword [rbx + 4], 0x7fffffff
mov eax, 0x128
jmp 0x14000168f
mov word [rbx + 0x1c], 0x3f
movzx eax, r15w
mov qword [rbx + 0x10], 1
mov dword [rbx + 0x18], r15d
mov dword [rbx + 4], 0xffffffff
mov dword [rbx], r15d
mov word [rbx + 8], ax
mov rsi, qword [rsp + 0x88]
mov qword [r14], rbx
jmp 0x1400016a6
mov qword [r14], r15
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140051c70
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret