joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140142fd0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.140142c30
lea rcx, [rsp + 0x20]
call fcn.140142c70
movzx eax, al
test eax, eax
jne 0x140143015
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.140142c50
mov rax, qword [rsp + 0x40]
jmp 0x14014310f
lea rcx, [rsp + 0x20]
call fcn.140142d40
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.140142cf0
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.1400b9740
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140101df0
lea rcx, [rsp + 0x28]
call fcn.1401159f0
movzx eax, al
test eax, eax
jne 0x1401430af
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.140101e10
lea rcx, [rsp + 0x20]
call fcn.140142c50
mov rax, qword [rsp + 0x50]
jmp 0x14014310f
lea rcx, [rsp + 0x20]
call fcn.140142d40
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.140102290
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.140099a80
lea rcx, [rsp + 0x28]
call fcn.14010cdd0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.140101e10
lea rcx, [rsp + 0x20]
call fcn.140142c50
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x140144840
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x140159040
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14010b910
lea rcx, [rsp + 0x48]
call fcn.14010b910
call fcn.140126b40
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.14010b800
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1401590af
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14010b9a0
lea rcx, [rsp + 0x78]
call fcn.14010b9a0
mov eax, dword [rsp + 0x24]
jmp 0x140159140
call fcn.140126b40
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.14010b800
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1401590f6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14010b9a0
lea rcx, [rsp + 0x78]
call fcn.14010b9a0
mov eax, dword [rsp + 0x2c]
jmp 0x140159140
lea rcx, [rsp + 0x48]
call fcn.14010bcf0
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14010bcf0
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.14010b9a0
lea rcx, [rsp + 0x78]
call fcn.14010b9a0
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x140011253
Capabilities:
Terminate process

Disassembly:
jmp 0x140013c50
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400112f8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014fa0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014fc0
xor al, al
jmp 0x140015041
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014fd3
xor al, al
jmp 0x140015041
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x140014ffd
xor al, al
jmp 0x140015041
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015011
xor al, al
jmp 0x140015041
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015023
xor al, al
jmp 0x140015041
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001503f
xor al, al
jmp 0x140015041
mov al, 1
add rsp, 0x38
ret
Function at 0x140003090
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 [0x1401f9690]
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 0x1400030e7
mov r8d, 0x59c
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.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 [0x1401f9690]
cmp byte [rbx + 0x37a1], 0
je 0x140003291
movss xmm1, dword [0x14019587c]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
jbe 0x140003134
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x14000312d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x14000312b
je 0x14000312d
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x140003159
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140003152
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140003150
je 0x140003152
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov esi, dword [rbp + 0x37c0]
sub esi, 1
movsxd rdi, esi
js 0x1400031af
lea rbx, [rdi + rdi*2]
shl rbx, 3
nop
cmp esi, dword [rbp + 0x37c0]
jl 0x140003192
mov r8d, 0x702
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.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 0x140003239
dec esi
sub rbx, 0x18
sub rdi, 1
jns 0x140003170
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 0x1400031ee
jne 0x1400031ee
ucomiss xmm1, xmm7
jp 0x1400031ee
je 0x140003291
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 0x14000326f
inc ecx
test r8d, r8d
je 0x14000325b
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140003260
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 0x1400031c3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140020760
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 0x1400036f0
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 0x14000374d
lea rbx, [0x14018c0a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003734
cmp r10, 2
jb 0x140003734
cmp byte [r9], r8b
jne 0x140003734
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 0x140003710
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000378f
lea rbx, [0x14018c0a0]
cmp r8b, 0x23
jne 0x140003773
cmp byte [r9], r8b
jne 0x140003773
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 0x140003760
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003950
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 0x14000397f
mov r8d, 0x7a3
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000398b
mov qword [rdi], 0
lea rdx, [0x14018b8b8]
mov rcx, rbx
call fcn.1400037a0
mov rbx, rax
test rax, rax
jne 0x1400039ad
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 0x140003a84
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 0x140003a84
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003a84
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 0x140003a84
cmp rsi, 0xffffffffffffffff
je 0x140003a84
mov rax, qword [0x1401f9690]
test rax, rax
je 0x140003a21
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 0x140003a84
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 0x140003a71
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401f9690]
test rax, rax
je 0x140003a66
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003a8d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140003a7f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140003a8f
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 0x140007440
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 0x140007477
mov r8d, 0x70b
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.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, [0x14018c0a0]
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 [0x1401f9690]
not ebx
cmp dword [rcx + 0x3f28], ebx
jne 0x1400074f6
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001f610
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007510
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 0xe8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x140007543
mov r8d, 0x70b
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm2, dword [rbx + 0x108]
lea r9, [0x14018c0a0]
movss xmm0, dword [rdi]
movsxd rcx, dword [rbx + 0xe8]
subss xmm0, xmm2
mov rax, qword [rbx + 0xf0]
movss xmm3, dword [rbx + 0x10c]
movss xmm1, dword [rdi + 4]
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movss dword [rsp + 0x20], xmm0
movzx eax, byte [rsp + 0x20]
movss xmm0, dword [rdi + 8]
movzx ecx, r8b
subss xmm0, xmm2
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x21]
movss dword [rsp + 0x24], xmm1
movss xmm1, dword [rdi + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x22]
movss dword [rsp + 0x28], xmm0
movss dword [rsp + 0x2c], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x23]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x24]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x25]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x26]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x27]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x28]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x29]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2a]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2b]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2c]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
mov rbx, qword [rsp + 0x40]
xor rcx, rax
movzx eax, byte [rsp + 0x2d]
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0x2e]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0x2f]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x30
pop rdi
ret
Function at 0x140017c30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401f9690]
mov edi, ecx
cmp byte [rbx + 0x4a6d], 0
jne 0x140017c82
cmp byte [rbx + 0x4a6e], 0
jne 0x140017c82
movsx r9d, word [rbx + 0x5b7a]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003550
test dil, 1
je 0x140017da8
jmp 0x140017d0b
movss xmm1, dword [rbx + 0x38ac]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14019576c]
xor eax, eax
mulss xmm1, dword [0x140195748]
addss xmm0, dword [rbx + 0xdfc]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x47d0], rax
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47c8], xmm0
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x3914]
mulss xmm0, dword [0x140195654]
or dword [rbx + 0x47b8], 0x41
movss dword [rbx + 0x4818], xmm0
movsx r9d, word [rbx + 0x5b7a]
call fcn.140003550
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140017d60
lea r11, [0x14018c0a0]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140017d43
cmp byte [r8], r9b
jne 0x140017d43
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 0x140017d30
not ecx
call fcn.14000ca00
test rax, rax
je 0x140017da8
cmp byte [rax + 0xae], 0
je 0x140017da8
mov byte [rax + 0xb5], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xd0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5b7a]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5b7a]
call fcn.140003550
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f490
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001db10
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 + 0x5c60], 0
lea rbx, [rcx + 0x5c68]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001dbb7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001db6a
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.140020400
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140004090
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c60]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c70]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401f9688]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001dbbf
mov rcx, rbx
call fcn.140004090
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001df70
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 [0x1401f9690]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001dfd4
lea r10, [0x14018c0a0]
cmp r8b, 0x23
jne 0x14001dfb7
cmp byte [rdx], r8b
jne 0x14001dfb7
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 0x14001dfa4
mov eax, dword [r14 + 0x5bd8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001e035
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001dffa
cmp edi, eax
jl 0x14001e014
mov r8d, 0x702
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.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 + 0x5be0]
cmp dword [rax + rbp + 8], ebx
je 0x14001e052
mov eax, dword [r14 + 0x5bd8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001dff1
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 0x14001e05f
cmp edi, dword [r14 + 0x5bd8]
jl 0x14001e079
mov r8d, 0x702
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.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 + 0x5be0]
lea rax, [rax + rcx*8]
jmp 0x14001e037
Function at 0x140040fa0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.140013640
cmp byte [rax], 0
je 0x140041039
mov ecx, 0x210
call fcn.1400027b0
cmp byte [rax + 8], 0
jne 0x140041039
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140041039
mov rbx, qword [0x1401f9690]
test rbx, rbx
jne 0x140041008
mov r8d, 0xfe5
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.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 [0x1401f9690]
cmp byte [rbx + 0x37a9], 0
je 0x140041025
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002d90
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.140013640
cmp byte [rax], 0
je 0x1400410cc
mov ecx, 0x214
call fcn.1400027b0
cmp byte [rax + 8], 0
jne 0x1400410cc
mov ecx, Ordinal_165
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400410cc
mov rbx, qword [0x1401f9690]
test rbx, rbx
jne 0x14004109b
mov r8d, 0xfe5
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.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 [0x1401f9690]
cmp byte [rbx + 0x37a9], 0
je 0x1400410b8
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002d90
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.140013640
cmp byte [rax], 0
je 0x14004115f
mov ecx, 0x212
call fcn.1400027b0
cmp byte [rax + 8], 0
jne 0x14004115f
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14004115f
mov rbx, qword [0x1401f9690]
test rbx, rbx
jne 0x14004112e
mov r8d, 0xfe5
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.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 [0x1401f9690]
cmp byte [rbx + 0x37a9], 0
je 0x14004114b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002d90
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.140013640
cmp byte [rax], 0
je 0x1400411f2
mov ecx, 0x216
call fcn.1400027b0
cmp byte [rax + 8], 0
jne 0x1400411f2
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400411f2
mov rbx, qword [0x1401f9690]
test rbx, rbx
jne 0x1400411c1
mov r8d, 0xfe5
lea rdx, str.C:Users_snoopDesktopNez_0.2.3.4imgui.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 [0x1401f9690]
cmp byte [rbx + 0x37a9], 0
je 0x1400411de
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002d90
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x140049780
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0x101
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1400497f7
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.140031f90
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
jmp 0x140049822
lea rdx, str.Unknown
lea rcx, [rsp + 0x58]
call fcn.140031f90
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x1c8]
call fcn.14003e270
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x140049864
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x58]
call fcn.14003e050
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14004987e
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x78]
call fcn.14003e050
mov rax, qword [rsp + 0x1c8]
add rsp, 0x1b8
ret

Function at 0x140049890
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov dword [rsp + 0x24], 0
lea r9, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14016a410]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x70]
call fcn.14004d970
nop
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14004d6a0
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14004d720
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0xa8]
call fcn.140052940
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x24]
or eax, 1
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x70]
call fcn.140050730
mov rax, qword [rsp + 0xa8]
add rsp, 0x98
ret