joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c190
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
mov r12, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000c290
lea r13, [rbx + 0x68]
mov rcx, r13
call fcn.14000e6d0
cmp esi, dword [rbx + 0x48]
jae 0x14000c210
mov rdi, qword [rbx + 0x50]
mov qword [rdi + rsi*8], r12
mov rax, qword [rbx + 0x58]
mov rcx, r13
mov byte [rax + rsi], 1
call fcn.14000e710
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r15d, [rsi + 1]
mov rcx, qword [rbx + 0x50]
movsxd r14, r15d
lea rdx, [r14*8]
call sub.msvcrt.dll_realloc
mov rdi, rax
test rax, rax
je 0x14000c29d
mov rcx, qword [rbx + 0x58]
mov rdx, r14
call sub.msvcrt.dll_realloc
mov r14, rax
test rax, rax
je 0x14000c29d
mov eax, dword [rbx + 0x48]
mov edx, r15d
sub edx, eax
lea rcx, [rdi + rax*8]
lea r8, [rdx*8]
xor edx, edx
call sub.msvcrt.dll_memset
mov ecx, dword [rbx + 0x48]
mov r8d, r15d
xor edx, edx
mov rax, rcx
add rcx, r14
sub r8d, eax
call sub.msvcrt.dll_memset
mov qword [rbx + 0x50], rdi
mov qword [rbx + 0x58], r14
mov dword [rbx + 0x48], r15d
jmp 0x14000c1df
call fcn.14000b440
mov rbx, rax
jmp 0x14000c1ca
mov rcx, r13
call fcn.14000e710
mov eax, 0xc
jmp 0x14000c1fd

Function at 0x14000c320
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000c348
mov rax, qword [rax + 0x30]
add rsp, 0x28
ret
call fcn.14000b440
test rax, rax
jne 0x14000c33a
add rsp, 0x28
ret

Function at 0x14000c3b0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000c3d8
add rax, 0x18
add rsp, 0x28
ret
call fcn.14000b440
test rax, rax
jne 0x14000c3ca
jmp 0x14000c3ce

Function at 0x14000c4f0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140017d28]
test eax, eax
jne 0x14000c508
xor eax, eax
add rsp, 0x28
ret
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000c538
mov edx, dword [rax + 0x20]
test edx, edx
jg 0x14000c4fe
test byte [rax + 0x40], 3
je 0x14000c4fe
mov eax, dword [rax + 0x44]
and eax, 1
jmp 0x14000c500
call fcn.14000b440
test rax, rax
jne 0x14000c51e
jmp 0x14000c4fe

Function at 0x14000c550
Capabilities:
Get thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, ecx
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000c590
test ebx, ebx
jle 0x14000c580
lock add dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
lock sub dword [rax + 0x20], 1
add rsp, 0x20
pop rbx
ret
call fcn.14000b440
test rax, rax
jne 0x14000c56d
add rsp, 0x20
pop rbx
ret
Function at 0x14000c680
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000c6f8
test byte [rbx + 0x40], 0xc
jne 0x14000c6af
mov eax, dword [0x140017d28]
test eax, eax
jne 0x14000c6c0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14000a5f0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14000c6e3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14000c6e3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14000c70c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14000a8e0
call fcn.14000b440
mov rbx, rax
test rax, rax
jne 0x14000c69f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14000c72a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14000a8e0
call fcn.14000c5a0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14000c7b0
call fcn.14000d860
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14000c7e8
call fcn.14000b390
mov ecx, dword [0x140011208]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000c840
test esi, esi
je 0x14000c7c6
call fcn.14000c680
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000c820
mov edx, edi
call fcn.14000d910
call fcn.14000c680
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000c830
call fcn.14000c680
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000c680
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000b390
mov ecx, dword [0x140011208]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14000c785
call fcn.14000b440
mov rbx, rax
jmp 0x14000c785
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000c79e
call fcn.14000b440
jmp 0x14000c7c6
call fcn.14000b440
mov rbx, rax
jmp 0x14000c781
Function at 0x14000c740
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000c6f8
test byte [rbx + 0x40], 0xc
jne 0x14000c6af
mov eax, dword [0x140017d28]
test eax, eax
jne 0x14000c6c0
add rsp, 0x28
pop rbx
pop rsi
ret
lea rsi, [rbx + 0x38]
mov rcx, rsi
call fcn.14000a5f0
movzx eax, byte [rbx + 0x40]
test al, 3
je 0x14000c6e3
mov edx, dword [rbx + 0x44]
test dl, 1
je 0x14000c6e3
mov ecx, dword [rbx + 0x20]
test ecx, ecx
jle 0x14000c70c
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14000a8e0
call fcn.14000b440
mov rbx, rax
test rax, rax
jne 0x14000c69f
add rsp, 0x28
pop rbx
pop rsi
ret
and eax, 0xfffffff3
mov rcx, qword [rbx + 0x30]
and edx, 0xfffffffe
or eax, 4
mov dword [rbx + 0x44], edx
mov byte [rbx + 0x40], al
test rcx, rcx
je 0x14000c72a
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, rsi
call fcn.14000a8e0
call fcn.14000c5a0
nop
nop dword [rax + rax]
push rdi
push rsi
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x14000c7b0
call fcn.14000d860
mov rsi, rax
mov eax, 0xfffffffe
cmp rax, rsi
jb 0x14000c7e8
call fcn.14000b390
mov ecx, dword [0x140011208]
mov edi, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000c840
test esi, esi
je 0x14000c7c6
call fcn.14000c680
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000c820
mov edx, edi
call fcn.14000d910
call fcn.14000c680
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14000c830
call fcn.14000c680
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000c680
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
call fcn.14000b390
mov ecx, dword [0x140011208]
mov edi, 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
jne 0x14000c785
call fcn.14000b440
mov rbx, rax
jmp 0x14000c785
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000c79e
call fcn.14000b440
jmp 0x14000c7c6
call fcn.14000b440
mov rbx, rax
jmp 0x14000c781

Function at 0x14000c850
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov esi, ecx
call fcn.14000b390
mov ecx, dword [0x140011208]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rbx, rax
test rax, rax
je 0x14000c8c0
test esi, esi
je 0x14000c8a0
call fcn.14000c680
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000c8d0
mov edx, esi
call fcn.14000d910
call fcn.14000c680
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14000c680
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14000c680
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
ret
call fcn.14000b440
mov rbx, rax
jmp 0x14000c871
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000c88a
Function at 0x140003ec0
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 0x140003f1d
lea rbx, [0x140143730]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003f04
cmp r10, 2
jb 0x140003f04
cmp byte [r9], r8b
jne 0x140003f04
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 0x140003ee0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003f5f
lea rbx, [0x140143730]
cmp r8b, 0x23
jne 0x140003f43
cmp byte [r9], r8b
jne 0x140003f43
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 0x140003f30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140004120
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 0x14000414f
mov r8d, 0x748
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000415b
mov qword [rdi], 0
lea rdx, [0x140142fe8]
mov rcx, rbx
call fcn.140003f70
mov rbx, rax
test rax, rax
jne 0x14000417d
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 0x140004256
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004256
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140004256
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 0x140004256
cmp rsi, 0xffffffffffffffff
je 0x140004256
mov rax, qword [0x1401668b0]
test rax, rax
je 0x1400041f3
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 0x140004256
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 0x140004243
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1401668b0]
test rax, rax
je 0x140004238
dec dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000425f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140004251
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140004261
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 0x140006b30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xd0], 0
mov rbx, rcx
movsxd rdi, edx
jg 0x140006b67
mov r8d, 0x709
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0xd8]
lea rdx, [0x140143730]
movsxd r8, dword [rbx + 0xd0]
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 [0x1401668b0]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x140006be6
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.14001cf70
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140015a30
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401668b0]
mov edi, ecx
cmp byte [rbx + 0x423d], 0
jne 0x140015a82
cmp byte [rbx + 0x423e], 0
jne 0x140015a82
movsx r9d, word [rbx + 0x5332]
lea r8, str.Tooltip__02d
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x20]
call fcn.140003d80
test dil, 1
je 0x140015ba8
jmp 0x140015b0d
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14014b000]
xor eax, eax
mov edx, reloc.WS2_32.dll_recv
mulss xmm1, dword [0x14014afe4]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fa8], rax
mov dword [rbx + 0x3f94], 1
movss dword [rbx + 0x3fa0], xmm0
movss dword [rbx + 0x3fa4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x14014af54]
or dword [rbx + 0x3f90], 0x41
movss dword [rbx + 0x3ff0], xmm0
movsx r9d, word [rbx + 0x5332]
call fcn.140003d80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140015b60
lea r11, [0x140143730]
nop dword [rax]
cmp r9b, 0x23
jne 0x140015b43
cmp byte [r8], r9b
jne 0x140015b43
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 0x140015b30
not ecx
call fcn.14000d060
test rax, rax
je 0x140015ba8
cmp byte [rax + 0x96], 0
je 0x140015ba8
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5332]
mov edx, reloc.WS2_32.dll_recv
movsx r9d, word [rbx + 0x5332]
call fcn.140003d80
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f9a0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001b6e0
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 + 0x53e0], 0
lea rbx, [rcx + 0x53e8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001b787
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001b73a
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.14001de50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400046b0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53e0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x53f0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401668c0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001b78f
mov rcx, rbx
call fcn.1400046b0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001bd20
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 [0x1401668b0]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001bd84
lea r10, [0x140143730]
cmp r8b, 0x23
jne 0x14001bd67
cmp byte [rdx], r8b
jne 0x14001bd67
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 0x14001bd54
mov eax, dword [r14 + 0x5390]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001bde5
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001bdaa
cmp edi, eax
jl 0x14001bdc4
mov r8d, 0x700
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui.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 + 0x5398]
cmp dword [rax + rbp + 8], ebx
je 0x14001be02
mov eax, dword [r14 + 0x5390]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001bda1
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 0x14001be0f
cmp edi, dword [r14 + 0x5390]
jl 0x14001be29
mov r8d, 0x700
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui.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 + 0x5398]
lea rax, [rax + rcx*8]
jmp 0x14001bde7
Function at 0x14003e250
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov ecx, 0x210
call fcn.1400136d0
cmp byte [rax], 0
je 0x14003e2d5
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e2d5
mov rbx, qword [0x1401668b0]
test rbx, rbx
jne 0x14003e2a4
mov r8d, 0xf0a
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui.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 [0x1401668b0]
cmp byte [rbx + 0x37a9], 0
je 0x14003e2c1
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x210
call fcn.1400037a0
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov ecx, 0x214
call fcn.1400136d0
cmp byte [rax], 0
je 0x14003e354
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e354
mov rbx, qword [0x1401668b0]
test rbx, rbx
jne 0x14003e323
mov r8d, 0xf0a
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui.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 [0x1401668b0]
cmp byte [rbx + 0x37a9], 0
je 0x14003e340
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x214
call fcn.1400037a0
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov ecx, 0x212
call fcn.1400136d0
cmp byte [rax], 0
je 0x14003e3d3
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e3d3
mov rbx, qword [0x1401668b0]
test rbx, rbx
jne 0x14003e3a2
mov r8d, 0xf0a
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui.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 [0x1401668b0]
cmp byte [rbx + 0x37a9], 0
je 0x14003e3bf
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x212
call fcn.1400037a0
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov ecx, 0x216
call fcn.1400136d0
cmp byte [rax], 0
je 0x14003e452
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x14003e452
mov rbx, qword [0x1401668b0]
test rbx, rbx
jne 0x14003e421
mov r8d, 0xf0a
lea rdx, str.C:UsersAdministratorDesktopimgui_windows11imgui.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 [0x1401668b0]
cmp byte [rbx + 0x37a9], 0
je 0x14003e43e
xorps xmm3, xmm3
lea rcx, [rbx + 8]
xor r8d, r8d
mov edx, 0x216
call fcn.1400037a0
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
add rsp, 0x20
pop rbx
ret
Function at 0x140040580
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x40
lea rcx, [0x14014a9f8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x140040646
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x50]
mov edx, Ordinal_41
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14004061d
lea r8, [rsp + 0x58]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x50]
test eax, eax
je 0x140040617
mov rax, qword [rsp + 0x58]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x34], rax
mov r9d, reloc.WS2_32.dll_recv
xor eax, eax
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x3c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.RtlSetProcessIsCritical
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140040646
xor r8d, r8d
xor edx, edx
mov cl, 1
call rax
mov eax, 1
add rsp, 0x40
pop rbx
ret
xor eax, eax
add rsp, 0x40
pop rbx
ret

Function at 0x1400406a0
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x28
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140044970
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x1400449a4
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140044990
mov byte [r8 + 6], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 5]
cmp r8, rax
jne 0x1400449c7
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x1400449f0
mov qword [rsp + 0x30], 5
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, byte [r8 + 4]
mov byte [rsp + 0x24], al
mov byte [rsp + 0x25], r9b
nop
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140044900
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140044a3e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044a39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010f798
mov rax, rbx
add rsp, 0x50
pop rbx
ret

Function at 0x140044a50
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor r9d, r9d
cmp byte [r8 + 7], r9b
je 0x140044a84
mov ecx, r9d
nop word [rax + rax]
lea eax, [rcx - 0x75]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140044a70
mov byte [r8 + 7], r9b
mov qword [rsp + 0x20], r9
lea rax, [r8 + 6]
cmp r8, rax
jne 0x140044aa7
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
jmp 0x140044ad0
mov qword [rsp + 0x30], 6
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], r9b
nop
lea r8, [rsp + 0x20]
mov rcx, rbx
call fcn.140044900
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140044b1e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140044b19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140044b19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010f798
mov rax, rbx
add rsp, 0x50
pop rbx
ret