joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034e40
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x1400815d8]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, qword [0x1400856a0]
mov rbp, rcx
test rbx, rbx
jne 0x140034f9e
lea rdi, str.NUITKA_ONEFILE_BINARY
mov rcx, rdi
call fcn.140043600
test rax, rax
je 0x140034f5d
lea rdx, [rbx - 1]
mov rcx, rax
call qword [sym.imp.python38.dll_PyUnicode_FromWideChar]
xor r15d, r15d
lea esi, [rbx + 0x28]
mov word [rsp + 0x30], r15w
lea rbx, [rsp + 0x30]
mov r14, rax
mov cl, 0x4e
nop dword [rax + rax]
mov byte [rsp + 0x20], cl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x24]
mov byte [rsp + 0x21], r15b
mov r8d, 2
call fcn.14005474c
cmp rax, 1
jne 0x14003500f
mov rcx, rsi
mov rax, rbx
cmp word [rbx], r15w
je 0x140034f0d
nop dword [rax]
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r15w
jne 0x140034f00
cmp rcx, 1
jb 0x14003500f
movzx ecx, word [rsp + 0x24]
inc rdi
mov word [rax], cx
add rbx, 2
dec rsi
mov word [rax + 2], r15w
movzx ecx, byte [rdi]
test cl, cl
jne 0x140034ec0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python38.dll__PyRuntime]
mov rdx, r14
mov rcx, qword [rax + 0x510]
call fcn.1400385d0
mov rbx, rax
jmp 0x140034f97
mov rbx, qword [0x140085698]
test rbx, rbx
jne 0x140034f97
mov cl, 1
call fcn.1400432b0
lea rdx, [rbx - 1]
mov rcx, rax
call qword [sym.imp.python38.dll_PyUnicode_FromWideChar]
mov qword [0x140085698], rax
test rax, rax
je 0x140035015
inc qword [rax]
mov rbx, qword [0x140085698]
mov qword [0x1400856a0], rbx
cmp rbx, qword [0x140082078]
je 0x140034fd6
mov rax, qword [0x140085478]
test rax, rax
jne 0x140034fc7
lea rcx, [0x140069470]
call qword [sym.imp.python38.dll_PyUnicode_FromString]
mov qword [0x140085478], rax
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.python38.dll_PyNumber_InPlaceAdd]
mov rbx, rax
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.python38.dll_PyNumber_InPlaceAdd]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140047c30
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.140049b28
int3
call qword [sym.imp.python38.dll_PyErr_Print]
call fcn.140049b28
int3
Function at 0x140043470
Capabilities:
Set environment variable

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400815d8]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx edi, cl
lea rsi, str.NUITKA_ONEFILE_BINARY
mov rcx, rsi
call fcn.140043600
test rax, rax
je 0x1400435a3
mov qword [rsp + 0xb8], rbp
mov rdx, 0xffffffffffffffff
mov rcx, rax
mov qword [rsp + 0xc0], r14
call qword [sym.imp.python38.dll_PyUnicode_FromWideChar]
xor r14d, r14d
lea rbx, [rsp + 0x30]
mov rbp, rax
mov word [rsp + 0x30], r14w
mov cl, 0x4e
lea edi, [r14 + 0x28]
nop
mov byte [rsp + 0x20], cl
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x24]
mov byte [rsp + 0x21], r14b
mov r8d, 2
call fcn.14005474c
cmp rax, 1
jne 0x1400435e9
mov rcx, rdi
mov rax, rbx
cmp word [rbx], r14w
je 0x14004352d
nop dword [rax]
nop dword [rax + rax]
add rax, 2
dec rcx
cmp word [rax], r14w
jne 0x140043520
cmp rcx, 1
jb 0x1400435e9
movzx ecx, word [rsp + 0x24]
inc rsi
mov word [rax], cx
add rbx, 2
dec rdi
mov word [rax + 2], r14w
movzx ecx, byte [rsi]
test cl, cl
jne 0x1400434e0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rax, qword [sym.imp.python38.dll__PyRuntime]
mov rdx, rbp
mov rcx, qword [rax + 0x510]
call fcn.1400385d0
mov rbp, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140047c30
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
test dil, dil
lea rax, [0x140085690]
lea rbx, [0x140085698]
cmove rbx, rax
mov rax, qword [rbx]
test rax, rax
jne 0x140043588
movzx ecx, dil
call fcn.1400432b0
mov rdx, 0xffffffffffffffff
mov rcx, rax
call qword [sym.imp.python38.dll_PyUnicode_FromWideChar]
mov qword [rbx], rax
test rax, rax
je 0x1400435ef
inc qword [rax]
mov rax, qword [rbx]
jmp 0x140043588
call fcn.140049b28
int3
call qword [sym.imp.python38.dll_PyErr_Print]
call fcn.140049b28
int3

Function at 0x140043600
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10088
call fcn.140047f00
sub rsp, rax
mov rax, qword [0x1400815d8]
xor rax, rsp
mov qword [rsp + 0x10070], rax
xor eax, eax
mov rdx, rcx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x70], ax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.140042050
mov r8d, 0x10000
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14004367d
lea rcx, [rsp + 0x70]
call fcn.140057240
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.140047c30
add rsp, 0x10088
ret
xor eax, eax
mov rcx, qword [rsp + 0x10070]
xor rcx, rsp
call fcn.140047c30
add rsp, 0x10088
ret
Function at 0x140044530
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp byte [0x1400856e8], 0
mov rbp, r8
mov rsi, rdx
mov r14, rcx
jne 0x1400445be
mov edx, 3
xor ecx, ecx
lea r8d, [rdx + 7]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [0x140084348], rax
xor ecx, ecx
mov ebx, dword [rax]
add rax, 4
mov qword [0x140084348], rax
mov r8d, dword [rax]
lea rdi, [rax + 4]
mov rdx, rdi
mov qword [0x140084348], rdi
call fcn.140047630
cmp eax, ebx
jne 0x140044763
mov byte [0x1400856e8], 1
jmp 0x1400445c5
mov rdi, qword [0x140084348]
lea rdx, [0x140064588]
mov rcx, rbp
call fcn.1400541c0
test eax, eax
je 0x140044687
cmp byte [0x1400856a8], 1
je 0x140044687
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140084f70], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140084f78], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140084f80], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140084f88], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140084f90], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140084f98], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140084fa0], rax
call qword [sym.imp.python38.dll_PyDict_New]
mov qword [0x140084fa8], rax
mov ebx, 0xfffffffb
lea rdi, [0x140084370]
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.python38.dll_PyLong_FromLong]
inc ebx
mov qword [rdi], rax
lea rdi, [rdi + 8]
cmp ebx, 0x101
jl 0x140044660
mov rdi, qword [0x140084348]
mov byte [0x1400856a8], 1
mov rdx, rdi
mov rax, rbp
sub rdx, rbp
movzx ecx, byte [rax]
xor r9d, r9d
cmp cl, byte [rax + rdx]
jne 0x1400446a7
inc rax
test cl, cl
jne 0x140044690
mov ecx, r9d
jmp 0x1400446ac
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
cmp byte [rdi + rax + 1], r9b
lea rax, [rax + 1]
jne 0x1400446b3
lea rdx, [rdi + rax]
mov eax, dword [rdi + rax + 1]
add rdx, 5
test ecx, ecx
je 0x140044718
nop
add rdx, rax
mov rax, rbp
mov r8, rdx
sub r8, rbp
nop dword [rax]
movzx ecx, byte [rax]
cmp cl, byte [rax + r8]
jne 0x1400446f5
inc rax
test cl, cl
jne 0x1400446e0
mov ecx, r9d
jmp 0x1400446fa
sbb ecx, ecx
or ecx, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rdx + rax], r9b
jne 0x140044701
add rdx, rax
mov eax, dword [rdx + 1]
add rdx, 5
test ecx, ecx
jne 0x1400446d0
movzx ecx, word [rdx]
lea rax, [rdx + 2]
cmp r9w, cx
jae 0x140044748
movzx ebx, cx
nop dword [rax + rax]
mov r8, rax
mov rdx, rsi
mov rcx, r14
call fcn.140041050
add rsi, 8
sub rbx, 1
jne 0x140044730
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, str.Error__corrupted_constants_object
call fcn.140051ae8
call fcn.140049b28
int3
Function at 0x1400473a0
Capabilities:
Set environment variable

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1400815d8]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor eax, eax
mov rbx, rdx
mov rdx, rcx
mov word [rsp + 0x20], ax
lea rcx, [rsp + 0x20]
lea r8d, [rax + 0x28]
call fcn.140042050
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140047c30
add rsp, 0x80
pop rbx
ret

Function at 0x140047460
Capabilities:
Set environment variable

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x90
mov rax, qword [0x1400815d8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rax, qword [0x140085050]
mov rbp, r8
mov rsi, rdx
mov r14, rcx
test rax, rax
jne 0x1400474ad
lea rcx, [0x1400644ac]
call qword [sym.imp.python38.dll_PyImport_ImportModule]
mov qword [0x140085050], rax
test rax, rax
je 0x1400475bf
mov qword [rsp + 0x88], rbx
lea rdx, str.environ
mov rcx, rax
mov qword [rsp + 0x80], rdi
call qword [sym.imp.python38.dll_PyObject_GetAttrString]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.python38.dll_PyUnicode_FromString]
mov rdx, rsi
lea rcx, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov word [rsp + 0x20], ax
lea r8d, [rax + 0x28]
call fcn.140042050
lea rcx, [rsp + 0x20]
test rbp, rbp
je 0x140047556
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, rbp
call qword [sym.imp.python38.dll_PyUnicode_FromWideChar]
mov rdx, rdi
mov rcx, rbx
mov r8, rax
mov rsi, rax
call qword [sym.imp.python38.dll_PyObject_SetItem]
test eax, eax
je 0x140047544
mov ecx, 1
call qword [sym.imp.python38.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python38.dll_Py_Exit]
int3
sub qword [rsi], 1
jne 0x140047576
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [rax + 0x30]
jmp 0x140047576
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.python38.dll_PyObject_DelItem]
test eax, eax
je 0x140047576
mov rcx, r14
call fcn.140012e60
sub qword [rdi], 1
jne 0x140047586
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x30]
sub qword [rbx], 1
jne 0x140047596
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
mov rbx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140047c30
add rsp, 0x90
pop r14
pop rsi
pop rbp
ret
call fcn.140049b28
int3
Function at 0x14004b0dc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14004af6f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004af6f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004af6f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004af6f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004af6f
cmp dword [rcx + 0x84], 0xe
jbe 0x14004af6f
cmp dword [rcx + 0xf8], 0
je 0x14004af6f
mov ecx, ebx
call fcn.14004b010
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.14004ae00
cmp dword [rbp + 0x20], 0
je 0x14004afbc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14004afc4
int3
xor r8d, r8d
xor edx, edx
jmp 0x14004af08
Function at 0x180001a48
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x180001aac
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x180001a9a
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180001a93
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x180001a67
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x1800a9a60]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180001abc
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov eax, ecx
mov esi, edx
imul rbx, rax, 0x38
add rbx, qword [0x1800a9a80]
mov rdx, qword [rbx]
mov cl, byte [rbx + 0x20]
mov rbp, rdx
lea rdi, [rdx - 5]
and cl, 1
je 0x180001af2
mov rbp, rdi
movzx eax, cl
lea r9, [rsp + 0x40]
test cl, cl
mov r8d, 0x40
cmove rdi, rdx
lea r14, [rax*2 + 5]
mov rcx, rdi
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180001b28
mov eax, 0xa
jmp 0x180001bb7
test esi, esi
je 0x180001b4a
mov byte [rdi], 0xe9
mov eax, dword [rbx + 8]
sub eax, ebp
sub eax, 5
mov dword [rdi + 1], eax
test byte [rbx + 0x20], 1
je 0x180001b6b
mov rax, qword [rbx]
mov word [rax], 0xf9eb
jmp 0x180001b6b
mov eax, dword [rbx + 0x18]
test byte [rbx + 0x20], 1
mov dword [rdi], eax
je 0x180001b65
movzx eax, word [rbx + 0x1c]
mov word [rdi + 4], ax
mov al, byte [rbx + 0x1e]
mov byte [rdi + 6], al
jmp 0x180001b6b
mov al, byte [rbx + 0x1c]
mov byte [rdi + 4], al
mov r8d, dword [rsp + 0x40]
lea r9, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, r14
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov al, sil
shl sil, 2
add al, al
xor al, byte [rbx + 0x20]
and al, 2
xor al, byte [rbx + 0x20]
xor sil, al
and sil, 4
xor sil, al
mov byte [rbx + 0x20], sil
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

Function at 0x180002208
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18000221f
cmp r8b, 0x90
je 0x18000221f
cmp r8b, 0xcc
jne 0x180002241
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18000223d
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x180002241
add edx, r10d
cmp edx, r9d
jb 0x18000222d
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1800025a8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rbp - 0x58]
cmp rdi, 0x40000000
jbe 0x1800025f2
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rbx, qword [0x1800a9a70]
lea r12, [rdi + 0x40000000]
cmp qword [rbp - 0x50], r12
cmovbe r12, qword [rbp - 0x50]
sub r12, 0xfff
xor esi, esi
jmp 0x18000262b
cmp rbx, r14
jb 0x180002628
cmp rbx, r12
jae 0x180002628
cmp qword [rbx + 8], rsi
jne 0x18000278d
mov rbx, qword [rbx]
test rbx, rbx
jne 0x180002614
mov r15, rdi
cmp rdi, r14
jb 0x180002747
mov r13d, dword [rbp - 0x38]
xor edx, edx
mov rax, r15
div r13
sub r15, rdx
jmp 0x180002677
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800026b1
cmp dword [rbp - 0x10], 0x10000
je 0x180002681
mov r15, qword [rbp - 0x28]
cmp r15, r13
jb 0x1800026b1
sub r15, r13
cmp r15, r14
jae 0x18000264d
jmp 0x1800026b1
test r15, r15
je 0x1800026b1
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180002752
cmp r15, r14
jae 0x18000263c
test rbx, rbx
jmp 0x180002745
mov r15d, dword [rbp - 0x38]
xor edx, edx
mov rax, rdi
mov r14d, r15d
div r15
mov eax, r15d
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r12
ja 0x18000278d
mov r8d, 0x30
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x18000278d
cmp dword [rbp - 0x10], 0x10000
je 0x180002720
xor edx, edx
lea edi, [r15 - 1]
add rdi, qword [rbp - 0x18]
add rdi, qword [rbp - 0x30]
mov rax, rdi
div r14
sub rdi, rdx
cmp rdi, r12
jbe 0x1800026dd
jmp 0x18000278d
test rdi, rdi
je 0x18000278d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180002752
cmp rdi, r12
jbe 0x1800026b9
jmp 0x18000278d
lea rcx, [rbx + 0x40]
mov dword [rbx + 0x10], esi
mov edx, 0x40
mov qword [rcx], rsi
mov rax, rcx
mov qword [rbx + 8], rcx
add rdx, 0x40
add rcx, 0x40
mov rsi, rax
cmp rdx, 0xfc0
jbe 0x18000275e
mov rax, qword [0x1800a9a70]
mov qword [rbx], rax
mov qword [0x1800a9a70], rbx
lea r11, [rsp + 0x80]
mov rax, rbx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x180003cd0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x180003eaf
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.180003b90
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x180003e74
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x180003dec
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x180003e63
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x180003e29
mov r10, qword [rdx]
cmp r10, rax
je 0x180003e23
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 0x180003e63
cmp r9, rdx
je 0x180003e3f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x180003e89
cmp r9, rdx
jne 0x180003e30
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
jne 0x180003d70
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
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 0x180003e63
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x180004b40
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180004b68
xor eax, eax
lea r8, [0x180004960]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180005fb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0xc50
mov rax, qword [0x1800972c0]
xor rax, rsp
mov qword [rsp + 0xc40], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x440]
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [rbp + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1800060ee
mov qword [rsp + 0xc68], rbx
lea rdx, [rsp + 0x440]
mov r8d, 0x3ff
mov qword [rsp + 0xc70], rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
cmp qword [0x1800a9440], 0xf
lea rcx, [0x1800a9428]
cmova rcx, qword [0x1800a9428]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
xorps xmm0, xmm0
lea rsi, [0x1800a7750]
mov rbx, rax
lea r8, [0x180051b00]
xor eax, eax
lea edx, [rbp + 0x45]
mov rcx, rsi
mov dword [0x1800a7790], eax
mov byte [0x1800a7794], al
movups xmmword [0x1800a7750], xmm0
movups xmmword [0x1800a7760], xmm0
movups xmmword [0x1800a7770], xmm0
movups xmmword [0x1800a7780], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x40]
mov rcx, rsi
lea edx, [rbp + 0x45]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r8, rbx
lea edx, [rbp + 0x45]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov rbx, qword [rsp + 0xc68]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rbp
nop dword [rax]
inc r8
cmp byte [rsi + r8], bpl
jne 0x1800060d0
mov rdx, rsi
mov rcx, rdi
call fcn.180004eb0
mov rsi, qword [rsp + 0xc70]
jmp 0x180006103
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bpl
mov rax, rdi
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.18004dca0
mov rbp, qword [rsp + 0xc78]
add rsp, 0xc50
pop rdi
ret
Function at 0x1800135f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
sub rsp, 0x88
test cl, cl
je 0x180013823
mov qword [rax + 8], rbx
mov ecx, 0x20
mov qword [rax - 8], rdi
movaps xmmword [rax - 0x18], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
movabs rdi, 0xd80958fc74e988a6
xorps xmm6, xmm6
test ax, ax
je 0x18001369a
mov rcx, rdi
call fcn.180021610
call fcn.1800215a0
movss xmm0, dword [0x1800554e4]
xorps xmm3, xmm3
mov dword [rsp + 0x68], 1
xorps xmm2, xmm2
mov dword [rsp + 0x60], 1
mov edx, 1
mov ecx, dword [rax]
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], 1
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x20], xmm0
call fcn.180005830
movabs rcx, 0xd24d37cc275948cc
call fcn.180021610
lea rcx, str.GADGET_PARACHUTE
call fcn.180021630
call fcn.1800215a0
mov rcx, rdi
mov ebx, dword [rax]
call fcn.180021610
call fcn.1800215a0
mov r9d, 1
mov edx, ebx
mov r8d, r9d
mov ecx, dword [rax]
call fcn.180009790
mov rcx, rdi
call fcn.180021610
call fcn.1800215a0
movabs rcx, 0x886e37ec497200b6
mov ebx, dword [rax]
call fcn.180021610
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x98], ebx
mov rcx, qword [rsp + 0x98]
call fcn.180021630
call fcn.1800215a0
cmp dword [rax], 0
je 0x18001380e
mov rcx, rdi
call fcn.180021610
call fcn.1800215a0
movabs rcx, 0x47e4e977581c5b55
mov ebx, dword [rax]
call fcn.180021610
mov qword [rsp + 0x98], 0
mov dword [rsp + 0x98], ebx
mov rcx, qword [rsp + 0x98]
call fcn.180021630
call fcn.1800215a0
cmp dword [rax], 0
jne 0x18001380e
mov ecx, 0x57
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800137a5
mov rcx, rdi
call fcn.180021610
call fcn.1800215a0
movss xmm1, dword [0x1800554a8]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180005a10
mov ecx, 0x53
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800137dc
mov rcx, rdi
call fcn.180021610
call fcn.1800215a0
movss xmm2, dword [0x1800554d4]
xorps xmm3, xmm3
movss xmm1, dword [0x1800554a8]
mov ecx, dword [rax]
call fcn.180005a10
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18001380e
mov rcx, rdi
call fcn.180021610
call fcn.1800215a0
movss xmm1, dword [0x1800554d4]
xorps xmm3, xmm3
xorps xmm2, xmm2
mov ecx, dword [rax]
call fcn.180005a10
mov rdi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x90]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
ret