joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180103a74
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x180196af0]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x180103aca
cmp word [rdx], r9w
jne 0x180103aca
or byte [rax + rbp*8 + 0x38], 4
jmp 0x180103acf
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x180103c4e
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x180103c19
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x180103b17
cmp rcx, r8
jae 0x180103b37
cmp word [rcx], r9w
jne 0x180103b17
add rax, 4
mov edx, r9d
jmp 0x180103b1a
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x180103aec
jmp 0x180103c4e
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180103c12
cmp dword [rsp + 0x80], edi
je 0x180103c12
lea r9, [0x180196af0]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x180103bec
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x180103b9f
mov word [rbx], bp
jmp 0x180103c4b
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x180103bba
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x180103c4b
cmp word [rsp + 0x70], bp
jne 0x180103bf8
cmp rbx, rsi
je 0x180103b97
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1801032f0
cmp word [rsp + 0x70], bp
je 0x180103c4e
mov word [rbx], 0xd
jmp 0x180103c4b
mov rcx, r15
lea r9, [0x180196af0]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x180103c48
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x180103c4e
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801080fc
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x180108112
mov al, 1
jmp 0x18010817e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x180108123
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18010817c
mov ecx, dword [rcx + 0x18]
nop
call fcn.18010cfcc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18010817c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18010817c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18010817c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18010817e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18010bee4
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18010bf14
xor eax, eax
jmp 0x18010bfd7
mov rbp, rbx
cmp word [rax], si
je 0x18010bf39
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18010bf20
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18010bf1c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.180108d24
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x18010bf7a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18010bf0d
call fcn.180106370
mov rdi, rax
test rax, rax
jne 0x18010bf90
xor ecx, ecx
call fcn.180104990
jmp 0x18010bf6f
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.180108d24
test eax, eax
jne 0x18010bfc1
mov rcx, rdi
call fcn.180104990
jmp 0x18010bfcb
xor ecx, ecx
call fcn.180104990
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18010bff4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x18010c07b
mov rsi, rbx
cmp word [rax], bp
je 0x18010c03a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18010c024
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18010c020
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.180106370
mov rdi, rax
test rax, rax
je 0x18010c068
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180117d70
mov rbp, rdi
xor ecx, ecx
call fcn.180104990
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180111e74
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1801032f0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1801032f0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180111fc1
cmp rax, 0xffffffffffffffff
je 0x180111fc1
xor edi, edi
test rbp, rbp
jle 0x180111f6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180104910
mov rbx, rax
test rax, rax
jne 0x180111efc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180111f65
mov edx, 0x8000
mov ecx, r14d
call fcn.180111cf8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180105c3c
cmp eax, 0xffffffff
je 0x180111f45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180111f0c
mov edx, r15d
mov ecx, r14d
call fcn.180111cf8
jmp 0x180111f65
cmp byte [rsi + 0x38], dil
je 0x180111f5c
cmp dword [rsi + 0x34], 5
jne 0x180111f5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180111f65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.180104990
jmp 0x180111fd3
jns 0x180111fd3
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1801032f0
cmp rax, 0xffffffffffffffff
jne 0x180111f8d
cmp byte [rsi + 0x30], dil
je 0x180111fd3
jmp 0x180111fc9
mov ecx, r14d
call fcn.18010cfcc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180111fd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180111fd3
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180111fce
mov edi, dword [rsi + 0x2c]
jmp 0x180111fd3
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1801032f0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1801126e0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180112708
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180112708
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x174e408
Capabilities:
Encode data using xor

Disassembly:
jmp 0x174e412
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x174e43b
pop rbp
sub rbp, 0x33
sub rbp, 0x134e408
sub rsp, 0x20
jmp 0x174e45a
mov rax, 0x134e408
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffb5916782
xor byte [rax], dl
inc rax
dec rcx
jne 0x174e479
jmp 0x174e490
retf 0x6b0b
Function at 0x1400032a0
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 0x1400032fd
lea rbx, [0x1400cec90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400032e4
cmp r10, 2
jb 0x1400032e4
cmp byte [r9], r8b
jne 0x1400032e4
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 0x1400032c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000333f
lea rbx, [0x1400cec90]
cmp r8b, 0x23
jne 0x140003323
cmp byte [r9], r8b
jne 0x140003323
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 0x140003310
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003500
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 0x14000352f
mov r8d, 0x7bc
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000353b
mov qword [rdi], 0
lea rdx, [0x1400ce4b8]
mov rcx, rbx
call fcn.140003350
mov rbx, rax
test rax, rax
jne 0x14000355d
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 0x140003634
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 0x140003634
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140003634
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 0x140003634
cmp rsi, 0xffffffffffffffff
je 0x140003634
mov rax, qword [0x140139368]
test rax, rax
je 0x1400035d1
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 0x140003634
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 0x140003621
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140139368]
test rax, rax
je 0x140003616
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000363d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000362f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000363f
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 0x140006db0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xf0], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x140006dec
mov r8d, 0x70b
lea rdx, [0x1400c97a0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0xf8]
lea rdx, [0x1400cec90]
movsxd r8, dword [rsi + 0xf0]
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 [rsi]
not ebx
cmp dword [rcx + 0x3f38], ebx
jne 0x140006e67
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001ccb0
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400159d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x140139368]
mov edi, ecx
cmp byte [rbx + 0x4a75], 0
jne 0x140015a22
cmp byte [rbx + 0x4a76], 0
jne 0x140015a22
movsx r9d, word [rbx + 0x5b82]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140003220
test dil, 1
je 0x140015b4f
jmp 0x140015aab
movss xmm1, dword [rbx + 0x38bc]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x1400d6220]
xor eax, eax
mulss xmm1, dword [0x1400d6210]
addss xmm0, dword [rbx + 0xe08]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0xe0c]
mov qword [rbx + 0x47e0], rax
mov dword [rbx + 0x47cc], 1
movss dword [rbx + 0x47d8], xmm0
movss dword [rbx + 0x47dc], xmm1
movss xmm0, dword [rbx + 0x3924]
mulss xmm0, dword [0x1400d6158]
or dword [rbx + 0x47c8], 0x41
movss dword [rbx + 0x4828], xmm0
movsx r9d, word [rbx + 0x5b82]
call fcn.140003220
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015b00
lea r11, [0x1400cec90]
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140015ae3
cmp byte [r8], r9b
jne 0x140015ae3
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 0x140015ad0
not ecx
call fcn.14000ac30
test rax, rax
je 0x140015b4f
cmp byte [rax + 0xb6], 0
je 0x140015b4f
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5b82]
movsx r9d, word [rbx + 0x5b82]
call fcn.140003220
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000d730
mov rbx, qword [rsp + 0x40]
mov al, 1
add rsp, 0x30
pop rdi
ret
Function at 0x14001b360
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 + 0x5c68], 0
lea rbx, [rcx + 0x5c70]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001b407
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001b3ba
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.14001daf0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003a90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c68]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c78]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140139360]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001b40f
mov rcx, rbx
call fcn.140003a90
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b7c0
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 [0x140139368]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001b824
lea r10, [0x1400cec90]
cmp r8b, 0x23
jne 0x14001b807
cmp byte [rdx], r8b
jne 0x14001b807
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 0x14001b7f4
mov eax, dword [r14 + 0x5be0]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001b885
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001b84a
cmp edi, eax
jl 0x14001b864
mov r8d, 0x702
lea rdx, [0x1400c97a0]
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 + 0x5be8]
cmp dword [rax + rbp + 8], ebx
je 0x14001b8a2
mov eax, dword [r14 + 0x5be0]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001b841
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 0x14001b8af
cmp edi, dword [r14 + 0x5be0]
jl 0x14001b8c9
mov r8d, 0x702
lea rdx, [0x1400c97a0]
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 + 0x5be8]
lea rax, [rax + rcx*8]
jmp 0x14001b887
Function at 0x140038170
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.1400114a0
cmp byte [rax], 0
je 0x140038209
mov ecx, 0x210
call fcn.1400022c0
cmp byte [rax + 8], 0
jne 0x140038209
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x140038209
mov rbx, qword [0x140139368]
test rbx, rbx
jne 0x1400381d8
mov r8d, 0xfff
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 [0x140139368]
cmp byte [rbx + 0x37b9], 0
je 0x1400381f5
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.140002a30
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.1400114a0
cmp byte [rax], 0
je 0x14003829c
mov ecx, 0x214
call fcn.1400022c0
cmp byte [rax + 8], 0
jne 0x14003829c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003829c
mov rbx, qword [0x140139368]
test rbx, rbx
jne 0x14003826b
mov r8d, 0xfff
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 [0x140139368]
cmp byte [rbx + 0x37b9], 0
je 0x140038288
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.140002a30
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.1400114a0
cmp byte [rax], 0
je 0x14003832f
mov ecx, 0x212
call fcn.1400022c0
cmp byte [rax + 8], 0
jne 0x14003832f
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003832f
mov rbx, qword [0x140139368]
test rbx, rbx
jne 0x1400382fe
mov r8d, 0xfff
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 [0x140139368]
cmp byte [rbx + 0x37b9], 0
je 0x14003831b
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.140002a30
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.1400114a0
cmp byte [rax], 0
je 0x1400383c2
mov ecx, 0x216
call fcn.1400022c0
cmp byte [rax + 8], 0
jne 0x1400383c2
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1400383c2
mov rbx, qword [0x140139368]
test rbx, rbx
jne 0x140038391
mov r8d, 0xfff
lea rdx, str.C:UsersPetroDesktopSBAGGYimgui.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 [0x140139368]
cmp byte [rbx + 0x37b9], 0
je 0x1400383ae
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.140002a30
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x14003acf0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
lea rdx, [rsp + 0x50]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov qword [r14], r15
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], r15
mov dword [rsp + 0x20], 1
lea rdi, [rsp + 0x50]
cmp word [rsp + 0x50], r15w
je 0x14003af0d
movabs r12, 0x7ffffffffffffffe
movabs r13, 0x7fffffffffffffff
mov eax, 0xa
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r15
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x14003ad85
cmp rbx, r12
ja 0x14003af3e
cmp rbx, 7
ja 0x14003adca
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], 7
add rbx, rbx
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x28], r15w
jmp 0x14003ae67
mov rbp, rbx
or rbp, 7
cmp rbp, r12
jbe 0x14003ade3
mov rbp, r12
lea rcx, [r13*2]
jmp 0x14003ae04
cmp rbp, 0xa
cmovb rbp, rax
lea rcx, [rbp + 1]
cmp rcx, r13
ja 0x14003af38
add rcx, rcx
cmp rcx, 0x1000
jb 0x14003ae30
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14003af38
mov rcx, rax
call fcn.1400aa92c
test rax, rax
je 0x14003af31
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14003ae42
test rcx, rcx
je 0x14003ae3f
call fcn.1400aa92c
mov rsi, rax
jmp 0x14003ae42
mov rsi, r15
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rbp
add rbx, rbx
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r15w
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x14003ae94
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x28], r15w
add qword [r14 + 8], 0x20
jmp 0x14003aea6
lea r8, [rsp + 0x28]
mov rcx, r14
call fcn.140040ae0
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x14003aedf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003aeda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003af31
call fcn.1400aac80
mov rax, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [rdi + rax*2], 0
jne 0x14003aef0
lea rdi, [rdi + rax*2]
add rdi, 2
cmp word [rdi], 0
jne 0x14003ad67
mov rax, r14
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002480
int3
call fcn.140039e20
int3