joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016ee0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbx
sub rsp, 0x110
mov rbx, r8
mov dword [rax + 0x10], VarDecRound
lea rax, [rax + 0x10]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, str.Name
mov qword [rsp + 0x28], rbx
xor edx, edx
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x140016fb6
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, VarDecRound
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rax, [rsp + 0x40]
mov ecx, 0x80
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rbx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rbx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rbx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rbx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm0
add rbx, rcx
movups xmm0, xmmword [rax + 0x70]
add rax, rcx
movups xmmword [rbx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rbx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
mov rax, qword [rax + 0x40]
movups xmmword [rbx + 0x20], xmm1
movups xmmword [rbx + 0x30], xmm0
mov qword [rbx + 0x40], rax
add rsp, 0x110
pop rbx
ret

Function at 0x140016fc8
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov r9d, 4
lea rax, [r11 + 0x18]
mov dword [r11 - 0x10], r9d
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ecx, eax
movzx eax, ax
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
add rsp, 0x38
ret

Function at 0x140017010
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
lea rax, [r11 + 0x18]
mov dword [rsp + 0x60], 4
mov qword [r11 - 0x18], rax
mov r8, rdx
lea rax, [r11 + 0x20]
mov r9d, 0x10
mov qword [r11 - 0x20], rax
xor edx, edx
and qword [r11 - 0x28], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14001705c
cmp dword [rsp + 0x60], 4
jne 0x14001705c
mov eax, dword [rsp + 0x68]
jmp 0x14001705e
xor eax, eax
add rsp, 0x48
ret

Function at 0x14001706c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
mov rbx, r8
mov dword [rsp + 0x68], 0x30
lea rax, [r11 + 0x20]
mov r8, rdx
mov qword [r11 - 0x18], rax
mov r9d, 8
mov qword [r11 - 0x20], rbx
xor edx, edx
and qword [r11 - 0x28], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x1400170b2
cmp dword [rsp + 0x68], 0x30
je 0x1400170c0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
add rsp, 0x40
pop rbx
ret
Function at 0x1400170d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x40
mov rbx, r8
mov dword [rsp + 0x68], 0x14
lea rax, [r11 + 0x20]
mov r8, rdx
mov qword [r11 - 0x18], rax
mov r9d, 8
mov qword [r11 - 0x20], rbx
xor edx, edx
and qword [r11 - 0x28], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140017116
cmp dword [rsp + 0x68], 0x14
je 0x140017121
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov dword [rbx + 0x10], eax
add rsp, 0x40
pop rbx
ret
Function at 0x140019ab0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
and dword [rsp + 0x50], 0
lea rax, [r11 + 0x10]
mov qword [r11 - 0x18], rax
lea r8, str.SettingsUpdateInProgress
lea rax, [r11 + 8]
mov dword [rsp + 0x58], 4
mov qword [r11 - 0x20], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
and qword [r11 - 0x28], 0
mov r9d, 0x10010
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140019b0d
cmp dword [rsp + 0x50], eax
setne al
jmp 0x140019b0f
xor al, al
add rsp, 0x48
ret
Function at 0x14001a8e8
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rbx
push rsi
mov rbp, rsp
sub rsp, 0x50
mov ebx, 0x80070057
cmp ecx, 2
jg 0x14001a921
call fcn.140019b1c
test al, al
je 0x14001a92c
cmp dword [rbp + 0x20], 2
je 0x14001a92c
cmp dword [rbp + 0x20], 1
sete cl
call fcn.140019e04
mov ebx, eax
test eax, eax
jns 0x14001a92e
mov eax, ebx
add rsp, 0x50
pop rsi
pop rbx
pop rbp
ret
xor ebx, ebx
and dword [rbp + 0x30], 0
mov dword [rbp + 0x28], 4
call fcn.140019b1c
test al, al
je 0x14001a994
mov eax, dword [rbp + 0x20]
test eax, eax
jne 0x14001a98f
lea rax, [rbp + 0x28]
mov r9d, 0x10010
mov qword [rsp + 0x30], rax
lea r8, str.Mode
lea rax, [rbp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x28], rax
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationExtensions
and qword [rsp + 0x20], 0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
je 0x14001a994
mov eax, dword [rbp + 0x20]
cmp eax, 2
jne 0x14001a921
and qword [rbp - 8], 0
lea rsi, fcn.140008510
lea rcx, [rbp - 0x10]
mov qword [rbp - 0x10], rsi
call fcn.140019a50
mov ebx, eax
test eax, eax
js 0x14001a9f2
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], 4
lea rdx, str.Mode
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp qword [rbp - 8], 0
mov qword [rbp - 0x10], rsi
je 0x14001a921
lea rcx, [rbp - 0x10]
call fcn.140008510
test al, al
jne 0x14001a921
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
mov edx, 1
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140006654
int3
Function at 0x14001c060
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14001c0aa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001c0aa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001c0aa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001c0aa
cmp dword [rcx + 0x84], 0xe
jbe 0x14001c0aa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001c0ac
xor al, al
add rsp, 0x28
ret
Function at 0x140003470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x70
mov rbp, qword [0x1401cc210]
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
mov r14, rbp
movaps xmmword [rsp + 0x50], xmm7
movaps xmm6, xmm1
movaps xmm7, xmm2
lea rax, [rbp + 8]
cmp rax, rcx
je 0x1400034c7
mov r8d, 0x596
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.cpp
lea rcx, str.g.IO__this___Can_only_add_events_to_current_context._
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbp, qword [0x1401cc210]
cmp byte [rbx + 0x37a1], 0
je 0x140003671
movss xmm1, dword [0x1400e6a38]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
jbe 0x140003514
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x14000350d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x14000350b
je 0x14000350d
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140003539
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140003532
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140003530
je 0x140003532
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [rbp + 0x37c0]
sub esi, 1
movsxd rdi, esi
js 0x14000358f
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop
cmp esi, dword [rbp + 0x37c0]
jl 0x140003572
mov r8d, 0x6fb
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x37c8]
cmp dword [rbx + rax], 1
je 0x140003619
dec esi
sub rbx, 0x18
sub rdi, 1
jns 0x140003550
movsd xmm0, qword [r14 + 0xdfc]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x1400035ce
jne 0x1400035ce
ucomiss xmm1, xmm7
jp 0x1400035ce
je 0x140003671
lea rbx, [r14 + 0x37c0]
movss dword [rsp + 0x38], xmm6
mov ecx, dword [rbx]
mov r8d, dword [rbx + 4]
movss dword [rsp + 0x3c], xmm7
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
cmp ecx, r8d
jne 0x14000364f
inc ecx
test r8d, r8d
je 0x14000363b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140003640
movss xmm0, dword [rbx + rax + 8]
movss xmm1, dword [rbx + rax + 0xc]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x1400035a3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001ea10
movsxd rax, dword [rbx]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
movups xmmword [rax + rcx*8], xmm0
movsd qword [rax + rcx*8 + 0x10], xmm1
inc dword [rbx]
movaps xmm6, xmmword [rsp + 0x60]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
movaps xmm7, xmmword [rsp + 0x50]
mov rsp, r11
pop r14
ret
Function at 0x140003a70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140003acd
lea rbx, [0x1400a5440]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003ab4
cmp r10, 2
jb 0x140003ab4
cmp byte [r9], r8b
jne 0x140003ab4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140003a90
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003b0f
lea rbx, [0x1400a5440]
cmp r8b, 0x23
jne 0x140003af3
cmp byte [r9], r8b
jne 0x140003af3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140003ae0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003cd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140003cff
mov r8d, 0x78b
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140003d0b
mov qword [rdi], 0
lea rdx, [0x1400a4c88]
mov rcx, rbx
call fcn.140003b20
mov rbx, rax
test rax, rax
jne 0x140003d2d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140003e04
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003e04
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003e04
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140003e04
cmp rsi, 0xffffffffffffffff
je 0x140003e04
mov rax, qword [0x1401cc210]
test rax, rax
je 0x140003da1
inc dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140003e04
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x140003df1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401cc210]
test rax, rax
je 0x140003de6
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003e0d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003dff
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003e0f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140007750
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xe8], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140007787
mov r8d, 0x704
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xf0]
lea rdx, [0x1400a5440]
movsxd r8, dword [rbx + 0xe8]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [0x1401cc210]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x140007806
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001d820
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140016700
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401cc210]
mov edi, ecx
cmp byte [rbx + 0x4a5d], 0
jne 0x140016752
cmp byte [rbx + 0x4a5e], 0
jne 0x140016752
movsx r9d, word [rbx + 0x5b5a]
lea r8, str.Tooltip__02d
mov edx, select
lea rcx, [rsp + 0x20]
call fcn.140003930
test dil, 1
je 0x140016878
jmp 0x1400167db
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400e6910]
xor eax, eax
mulss xmm1, dword [0x1400e68fc]
addss xmm0, dword [rbx + 0xdfc]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47c0], rax
mov dword [rbx + 0x47ac], 1
movss dword [rbx + 0x47b8], xmm0
movss dword [rbx + 0x47bc], xmm1
movss xmm0, dword [rbx + 0x3900]
mulss xmm0, dword [0x1400e6884]
or dword [rbx + 0x47a8], 0x41
movss dword [rbx + 0x4808], xmm0
movsx r9d, word [rbx + 0x5b5a]
call fcn.140003930
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140016830
lea r11, [0x1400a5440]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140016813
cmp byte [r8], r9b
jne 0x140016813
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140016800
not ecx
call fcn.14000bc40
test rax, rax
je 0x140016878
cmp byte [rax + 0xae], 0
je 0x140016878
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b5a]
mov edx, select
movsx r9d, word [rbx + 0x5b5a]
call fcn.140003930
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000e5c0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001bf10
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c40], 0
lea rbx, [rcx + 0x5c48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001bfb7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001bf6a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001e6b0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004260
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c40]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c50]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401cc208]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001bfbf
mov rcx, rbx
call fcn.140004260
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001c660
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1401cc210]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001c6c4
lea r10, [0x1400a5440]
cmp r8b, 0x23
jne 0x14001c6a7
cmp byte [rdx], r8b
jne 0x14001c6a7
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001c694
mov eax, dword [r14 + 0x5bb8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001c725
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001c6ea
cmp edi, eax
jl 0x14001c704
mov r8d, 0x6fb
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5bc0]
cmp dword [rax + rbp + 8], ebx
je 0x14001c742
mov eax, dword [r14 + 0x5bb8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001c6e1
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001c74f
cmp edi, dword [r14 + 0x5bb8]
jl 0x14001c769
mov r8d, 0x6fb
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bc0]
lea rax, [rax + rcx*8]
jmp 0x14001c727
Function at 0x140042430
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.140012160
cmp byte [rax], 0
je 0x1400424c9
mov ecx, 0x210
call fcn.140002bd0
cmp byte [rax + 8], 0
jne 0x1400424c9
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400424c9
mov rbx, qword [0x1401cc210]
test rbx, rbx
jne 0x140042498
mov r8d, 0xfdf
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1401cc210]
cmp byte [rbx + 0x37a9], 0
je 0x1400424b5
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140003170
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.140012160
cmp byte [rax], 0
je 0x14004255c
mov ecx, 0x214
call fcn.140002bd0
cmp byte [rax + 8], 0
jne 0x14004255c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14004255c
mov rbx, qword [0x1401cc210]
test rbx, rbx
jne 0x14004252b
mov r8d, 0xfdf
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1401cc210]
cmp byte [rbx + 0x37a9], 0
je 0x140042548
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140003170
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.140012160
cmp byte [rax], 0
je 0x1400425ef
mov ecx, 0x212
call fcn.140002bd0
cmp byte [rax + 8], 0
jne 0x1400425ef
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400425ef
mov rbx, qword [0x1401cc210]
test rbx, rbx
jne 0x1400425be
mov r8d, 0xfdf
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1401cc210]
cmp byte [rbx + 0x37a9], 0
je 0x1400425db
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140003170
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.140012160
cmp byte [rax], 0
je 0x140042682
mov ecx, 0x216
call fcn.140002bd0
cmp byte [rax + 8], 0
jne 0x140042682
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140042682
mov rbx, qword [0x1401cc210]
test rbx, rbx
jne 0x140042651
mov r8d, 0xfdf
lea rdx, str.C:UsersSteinDesktopLoader_Cidiaimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1401cc210]
cmp byte [rbx + 0x37a9], 0
je 0x14004266e
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140003170
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x1400457d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
call fcn.140045450
mov r11, rax
test rax, rax
je 0x140045873
mov eax, 0x5a4d
cmp word [r11], ax
jne 0x140045873
movsxd rcx, dword [r11 + 0x3c]
cmp dword [rcx + r11], 0x4550
jne 0x140045873
mov eax, dword [rcx + r11 + 0x88]
test eax, eax
je 0x140045873
mov ebx, dword [rax + r11 + 0x1c]
xor r9d, r9d
mov r10d, dword [rax + r11 + 0x20]
mov ebp, dword [rax + r11 + 0x24]
add r10, r11
add rbp, r11
lea rsi, [r11 + rbx]
test ebx, ebx
je 0x140045873
nop dword [rax]
mov r8d, dword [r10]
mov rax, rdi
add r8, r11
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140045863
inc rax
test ecx, ecx
jne 0x140045850
test edx, edx
je 0x14004588a
inc r9d
add r10, 4
cmp r9d, ebx
jb 0x140045840
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
movzx ecx, word [rbp + r9*2]
mov eax, dword [rsi + rcx*4]
add rax, r11
jmp 0x140045875

Function at 0x140047690
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 8]
mov rbx, rcx
mov r9d, 0xffffffff
mov qword [rsp + 0x28], rax
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lock xadd dword [0x1401ccb4c], eax
mov rcx, qword [rbx + 8]
test eax, eax
je 0x1400476ed
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
add rsp, 0x30
pop rbx
ret
mov rdx, rcx
xor r8d, r8d
lea rcx, [fcn.140001ad0]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add rsp, 0x30
pop rbx
ret