joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180009100
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov edx, dword [rcx]
mov r9d, 0x138
mov r10, rcx
cmp edx, r9d
jne 0x180009172
lea r8, [rcx + 0x10]
movabs r11, 0xb5026f5aa96619e9
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 8]
xor edx, dword [r8]
lea r8, [r8 + 8]
btr edx, 0x1f
xor rdx, qword [r8 - 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r8 + 0x4d0]
xor rcx, rdx
mov qword [r8 + 0x9b0], rcx
sub r9, 1
jne 0x180009130
mov edx, dword [r10]
jmp 0x180009273
cmp edx, 0x270
jb 0x180009273
mov qword [rsp + 0x10], rbx
movabs r11, 0xb5026f5aa96619e9
lea rbx, [rcx + 0x9c8]
mov qword [rsp], rdi
mov rax, qword [rbx]
mov edi, 0x9c
mov rdx, qword [rbx + 8]
lea r8, [rbx + 8]
xor rdx, rax
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx + 0x4e0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x1800091a0
lea rbx, [r10 + 0xea8]
mov edi, 0x9b
mov rax, qword [rbx]
nop
mov rdx, rax
lea r8, [rbx + 8]
xor rdx, qword [r8]
btr edx, 0x1f
xor rdx, rax
movzx eax, dl
and al, 1
neg al
mov rax, qword [r8]
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [rbx - 0xea0]
xor rcx, rdx
mov qword [rbx - 0x9c0], rcx
lea rbx, [r8]
sub rdi, 1
jne 0x1800091f0
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 8]
mov rdi, qword [rsp]
btr edx, 0x1f
xor rdx, qword [r10 + 0x1380]
mov rbx, qword [rsp + 0x10]
movzx eax, dl
and al, 1
neg al
sbb rcx, rcx
shr rdx, 1
and rcx, r11
xor rcx, qword [r10 + 0x4e0]
xor rcx, rdx
xor edx, edx
mov qword [r10 + 0x9c0], rcx
mov dword [r10], edx
mov eax, edx
xorps xmm0, xmm0
mov rcx, qword [r10 + rax*8 + 8]
lea eax, [rdx + 1]
mov dword [r10], eax
movabs rdx, 0x38eb3ffff6d3
mov rax, rcx
shr rax, 0x1d
and rax, qword [r10 + 0x1388]
xor rcx, rax
mov rax, rcx
and rax, rdx
shl rax, 0x11
xor rcx, rax
mov rax, rcx
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rdx, rcx
shr rdx, 0x2b
xor rdx, rcx
js 0x1800092d9
cvtsi2sd xmm0, rdx
mulsd xmm0, qword [0x1801c1250]
add rsp, 8
ret
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, qword [0x1801c1250]
add rsp, 8
ret
Function at 0x180009780
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, qword [0x1803d3218]
mov rbx, r8
lea rsi, [rdi + 0x164]
lea rcx, [rdi + 0x16c]
mov dword [rsi], 1
call sub.VCRUNTIME140.dll_memcpy
mov dword [rdi + 0x168], ebx
add rbx, 8
je 0x18000985b
mov rax, qword [rdi]
test rax, rax
je 0x18000980b
mov rcx, qword [rax + 8]
cmp rcx, 0xffffffffffffffff
je 0x18000980b
test rsi, rsi
je 0x18000980b
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, ebx
mov qword [rsp + 0x20], 0
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x18000980b
cmp dword [rsp + 0x40], ebx
je 0x18000985b
mov r8, qword [rdi + 0x18]
test r8, r8
je 0x18000982a
mov eax, dword [rdi + 8]
dec eax
test eax, 0xfffffffd
jne 0x18000982a
mov ecx, dword [rdi + 0x60]
lea rdx, [rdi + 0x64]
call r8
mov rbx, qword [rdi]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], 0xffffffffffffffff
xor al, al
mov byte [rbx], 0
mov dword [rdi + 8], 0
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x48]
mov al, 1
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x18000e6c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, 0xffffffff
test edx, edx
je 0x18000e6fe
mov r9d, edx
lea r10, [0x1801a05d0]
nop dword [rax]
nop word [rax + rax]
movzx r8d, word [rcx]
lea rcx, [rcx + 2]
mov edx, eax
shr eax, 8
xor r8, rdx
movzx edx, r8b
xor eax, dword [r10 + rdx*4]
sub r9, 1
jne 0x18000e6e0
not eax
ret
Function at 0x180017120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rcx, rcx
je 0x180017180
mov r8, qword [rcx]
test r8, r8
je 0x180017180
mov r8, qword [r8 + 0x10]
mov eax, 0xffffffff
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180017140
test ecx, ecx
je 0x18001717d
mov r9d, ecx
lea r10, [0x1801a05d0]
nop dword [rax + rax]
movsx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, eax
shr eax, 8
xor rdx, rcx
movzx ecx, dl
xor eax, dword [r10 + rcx*4]
sub r9, 1
jne 0x180017160
not eax
ret
xor eax, eax
ret

Function at 0x180017190
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
test rcx, rcx
jne 0x18001719d
xor eax, eax
jmp 0x180017216
mov r9, qword [rcx]
test r9, r9
jne 0x1800171a9
xor eax, eax
jmp 0x180017216
mov r9, qword [r9 + 0x10]
test r9, r9
jne 0x1800171b6
xor eax, eax
jmp 0x180017216
mov r10, r9
mov qword [rsp + 8], r9
xor edx, edx
mov r8d, 0xffffffff
lea r11, [0x1801a05d0]
mov dword [rsp], edx
mov ecx, r8d
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x1800171e0
cmp edx, eax
jae 0x18001720c
movsx eax, byte [r10]
xor rax, rcx
movzx ecx, al
shr r8d, 8
xor r8d, dword [r11 + rcx*4]
inc r10
mov qword [rsp + 8], r10
inc edx
jmp 0x1800171cd
not r8d
mov eax, r8d
jmp 0x180017216
add rsp, 0x18
ret

Function at 0x180019a60
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1803ad79e], 0
mov rbx, rcx
je 0x180019ad1
mov ecx, dword [0x1803ad900]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x180019ad1
cmp dword [0x1803ad7c0], 1
jne 0x180019ad1
lea rcx, [rbx + 0x98]
cmp rcx, 0x40000
jbe 0x180019ad1
lea rax, [rcx + 8]
movabs rdx, 0x7fffffff0000
cmp rax, rdx
jae 0x180019ad1
mov rcx, qword [rcx]
add rcx, 0x1dc
cmp rcx, 0x40000
jbe 0x180019ad1
lea rax, [rcx + 4]
cmp rax, rdx
jae 0x180019ad1
mov dword [rcx], 0x3c23d70a
add rsp, 0x20
pop rbx
ret
Function at 0x18001abd0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x18001ad63
mov edx, dword [0x1803ad344]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rdi, qword [rax + rdx*8]
mov edx, dword [0x1803e52e8]
add rdi, rcx
cmp edx, dword [rdi]
jle 0x18001ac45
lea rcx, [0x1803e52e8]
call fcn.18011c184
mov edx, dword [0x1803e52e8]
cmp edx, 0xffffffff
jne 0x18001ac45
mov ecx, 0xac5e6f4b
call fcn.180015290
lea rcx, [0x1803e52e8]
mov qword [0x1803e48d8], rax
call fcn.18011c124
mov edx, dword [0x1803e52e8]
mov rax, qword [0x1803e48d8]
cmp qword [rax + rbx], 0
je 0x18001ad63
cmp edx, dword [rdi]
jle 0x18001ac8d
lea rcx, [0x1803e52e8]
call fcn.18011c184
cmp dword [0x1803e52e8], 0xffffffff
jne 0x18001ac8d
mov ecx, 0xac5e6f4b
call fcn.180015290
lea rcx, [0x1803e52e8]
mov qword [0x1803e48d8], rax
call fcn.18011c124
mov rax, qword [0x1803e48d8]
mov rbx, qword [rax + rbx]
test rbx, rbx
je 0x18001ad63
mov eax, dword [rdi]
cmp dword [0x1803e44b0], eax
jle 0x18001ace0
lea rcx, [0x1803e44b0]
call fcn.18011c184
cmp dword [0x1803e44b0], 0xffffffff
jne 0x18001ace0
mov ecx, 0xd8de806e
call fcn.1800123f0
lea rcx, [0x1803e44b0]
mov rdx, qword [rax]
mov qword [0x1803e4478], rdx
call fcn.18011c124
mov rax, qword [0x1803e4478]
mov rcx, rbx
call rax
test rax, rax
je 0x18001ad63
mov r8, qword [rax]
test r8, r8
je 0x18001ad63
mov r8, qword [r8 + 0x10]
mov edx, 0xffffffff
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r8 + rax], 0
jne 0x18001ad10
test eax, eax
je 0x18001ad63
mov r9d, eax
lea r10, [0x1801a05d0]
nop dword [rax + rax]
movsx ecx, byte [r8]
lea r8, [r8 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
xor edx, dword [r10 + rax*4]
sub r9, 1
jne 0x18001ad30
not edx
cmp edx, 0xafa91f9a
sete al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x180027ad0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub rsp, 0x28
cmp byte [0x1803ad9ac], 0
jne 0x180027b30
lea rcx, [rsp + 0x30]
mov byte [0x1803ad9ac], 1
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
xorps xmm0, xmm0
xorps xmm1, xmm1
cvtsi2ss xmm0, qword [rsp + 0x38]
cvtsi2ss xmm1, qword [rsp + 0x30]
movss dword [0x1803ad968], xmm0
movss dword [0x1803ad440], xmm1
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rsp + 0x30]
subss xmm0, dword [0x1803ad440]
divss xmm0, dword [0x1803ad968]
add rsp, 0x28
ret
Function at 0x18002b4a0
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x70
call fcn.18001b220
mov rcx, rax
call fcn.18001aee0
mov rbx, rax
test rax, rax
je 0x18002b6be
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.1800198b0
cmp dword [rsp + 0x20], 0
je 0x18002b6be
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x18002b6be
cmp eax, 0xfffffffe
jne 0x18002b57c
mov rcx, rbx
call fcn.180019ae0
cmp byte [0x1803ad77a], 0
je 0x18002b6be
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x18002b6be
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x18002b6be
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x340]
cmp r9, 0x40000
jbe 0x18002b54f
lea rax, [r9 + 1]
cmp rax, rcx
jae 0x18002b54f
mov byte [r9], 1
lea rdx, [r8 + 0x344]
cmp rdx, 0x40000
jbe 0x18002b6be
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x18002b6be
mov dword [rdx], 0x3f800000
add rsp, 0x70
pop rbx
ret
cmp eax, 3
jne 0x18002b5ea
mov rcx, rbx
call fcn.180019ae0
cmp byte [0x1803ad780], 0
je 0x18002b5dd
lea rdx, [rbx + 0x98]
cmp rdx, 0x40000
jbe 0x18002b5dd
lea rax, [rdx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x18002b5dd
mov rdx, qword [rdx]
add rdx, 0x1dc
cmp rdx, 0x40000
jbe 0x18002b5dd
lea rax, [rdx + 4]
cmp rax, rcx
jae 0x18002b5dd
movss xmm0, dword [0x1802a8c6c]
movss dword [rdx], xmm0
mov rcx, rbx
add rsp, 0x70
pop rbx
jmp fcn.180019a60
cmp eax, 2
jne 0x18002b643
mov rcx, rbx
call fcn.180019ae0
mov rcx, rbx
call fcn.180019a60
cmp byte [0x1803ad773], 0
je 0x18002b6be
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x18002b6be
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x18002b6be
mov rdx, qword [rbx]
add rdx, 0x270
jmp 0x18002b6a9
cmp eax, 0xffffffff
jne 0x18002b6be
mov rcx, rbx
call fcn.180019ae0
cmp byte [0x1803ad787], 0
je 0x18002b6be
add rbx, 0x98
cmp rbx, 0x40000
jbe 0x18002b6be
lea rax, [rbx + 8]
movabs rcx, 0x7fffffff0000
cmp rax, rcx
jae 0x18002b6be
mov rdx, qword [rbx]
mov r8, rdx
lea r9, [rdx + 0x340]
cmp r9, 0x40000
jbe 0x18002b6a2
lea rax, [r9 + 4]
cmp rax, rcx
jae 0x18002b6a2
mov dword [r9], 0x3f800000
lea rdx, [r8 + 0x350]
cmp rdx, 0x40000
jbe 0x18002b6be
lea rax, [rdx + 1]
cmp rax, rcx
jae 0x18002b6be
mov byte [rdx], 1
add rsp, 0x70
pop rbx
ret
Function at 0x18002df80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x18002dff8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x18002dff8
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x18002dfe5
nop
cmp rbx, rcx
jae 0x18002dff8
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x18002dfd0
cmp rbx, rcx
jae 0x18002dff8
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x18002dffa
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180053a20
Capabilities:
Delete file

Disassembly:
sub rsp, 0xa8
movdqa xmm1, xmmword [0x1801c1b70]
xorps xmm0, xmm0
mov r8, qword [0x1803abac0]
mov rcx, 0xffffffffffffffff
movups xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x40], 0
movdqu xmmword [rsp + 0x50], xmm1
inc rcx
cmp byte [rdx + rcx], 0
jne 0x180053a50
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x180053c1b
cmp qword [0x1803abac8], 0x10
lea r9, [0x1803abab0]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x60]
cmovae r9, qword [0x1803abab0]
movaps xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0x28], rdx
movaps xmmword [rsp + 0x80], xmm7
mov qword [rsp + 0x20], r8
call fcn.180007280
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x180053af0
lea rax, [rcx + 4]
cmp rdx, 0x10
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmovae rax, qword [rsp + 0x60]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], 0
lea rax, [rsp + 0x60]
jmp 0x180053b0f
lea r9, str..cfg
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rsp + 0x60]
call fcn.18006ebd0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180053b62
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053b5d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180053ba0
call fcn.18011c650
mov rdx, qword [rsp + 0x78]
movups xmmword [rsp + 0x40], xmm6
movups xmmword [rsp + 0x50], xmm7
cmp rdx, 0x10
jb 0x180053bac
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053ba7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053ba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011c650
cmp qword [rsp + 0x58], 0x10
lea rcx, [rsp + 0x40]
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x180053c03
mov rcx, qword [rsp + 0x40]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180053bfe
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180053bfe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18011c650
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0x80]
add rsp, 0xa8
ret
call fcn.180006cd0
int3
Function at 0x180056f20
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov rsi, qword [0x1803ced60]
mov edi, 2
mov rbx, qword [0x1803ced58]
cmp rbx, rsi
je 0x180057196
mov qword [rax + 0x18], rbp
lea rbp, [0x1801bd56e]
mov qword [rax + 0x20], r14
lea r14, [0x1801bd56c]
movaps xmmword [rax - 0x38], xmm7
xorps xmm7, xmm7
movaps xmmword [rax - 0x48], xmm8
movss xmm8, dword [0x1801c1864]
movaps xmmword [rax - 0x58], xmm9
movss xmm9, dword [0x1801c189c]
movaps xmmword [rax - 0x68], xmm10
movss xmm10, dword [0x1801c1940]
movaps xmmword [rax - 0x78], xmm11
movss xmm11, dword [0x1801c1848]
movaps xmmword [rax - 0x28], xmm6
mov ecx, dword [rbx + 0x18]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18005713a
movaps xmm0, xmmword [0x1801c2360]
lea rcx, [rsp + 0x50]
mov r11, qword [rbx]
mov r8, qword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm0
call fcn.180076260
movss xmm0, dword [rbx + 8]
mov r9d, eax
mov r10, qword [0x1803ad990]
addss xmm0, xmm11
movd xmm6, edi
cvtdq2ps xmm6, xmm6
movss dword [rsp + 0xe0], xmm0
movss xmm0, dword [rbx + 0xc]
addss xmm0, xmm9
addss xmm0, xmm6
movss dword [rsp + 0xe4], xmm0
test eax, 0xff000000
je 0x18005708e
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180057020
add rcx, r8
cmp r8, rcx
je 0x18005708e
test r10, r10
jne 0x18005703f
mov rax, qword [r11 + 0x38]
mov r10, qword [rax + 8]
movups xmm0, xmmword [r11 + 0x88]
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x50]
movss dword [rsp + 0x40], xmm7
movaps xmm2, xmm8
mov qword [rsp + 0x38], rcx
mov rdx, r11
mov qword [rsp + 0x30], r8
mov rcx, r10
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0xe0]
movups xmmword [rsp + 0x50], xmm0
call fcn.180092cb0
mov r10, qword [0x1803ad990]
movaps xmm0, xmmword [0x1801c21d0]
lea rcx, [rsp + 0x50]
mov r8, qword [rbx]
movups xmmword [rsp + 0x50], xmm0
call fcn.180076260
movss xmm1, dword [rbx + 0xc]
mov ecx, eax
movss xmm0, dword [rbx + 8]
addss xmm1, xmm9
addss xmm0, xmm10
addss xmm1, xmm6
movss dword [rsp + 0xe8], xmm0
movss dword [rsp + 0xec], xmm1
test eax, 0xff000000
je 0x18005712e
test r10, r10
jne 0x1800570e7
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
movups xmm0, xmmword [r8 + 0x88]
mov byte [rsp + 0x48], 0
lea rax, [rsp + 0x50]
movss dword [rsp + 0x40], xmm7
lea r9, [rsp + 0xe8]
mov qword [rsp + 0x38], rbp
movaps xmm2, xmm8
mov qword [rsp + 0x30], r14
mov rdx, r8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, r10
movups xmmword [rsp + 0x50], xmm0
call fcn.180092cb0
addss xmm6, dword [0x1801c1890]
cvttss2si edi, xmm6
add rbx, 0x20
cmp rbx, rsi
jne 0x180056fa2
mov rsi, qword [0x1803ced60]
mov rbx, qword [0x1803ced58]
movaps xmm11, xmmword [rsp + 0x60]
cmp rbx, rsi
movaps xmm10, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0x80]
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
mov r14, qword [rsp + 0xf8]
mov rbp, qword [rsp + 0xf0]
cmovne rsi, rbx
mov qword [0x1803ced60], rsi
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret
Function at 0x180066fa0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov ecx, 0x2d
movaps xmmword [rsp + 0x40], xmm6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x180066fd1
cmp byte [0x1803aa2b1], 0
sete byte [0x1803aa2b1]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov rcx, qword [0x1803ad9e0]
lea r8, str.Background
mov esi, eax
mov rdx, qword [rcx + 0x40b0]
mov rcx, qword [rdx]
xor edx, edx
call fcn.1800792e0
movss xmm0, dword [0x1803e3870]
mov rbx, rax
comiss xmm0, dword [0x1801c1388]
jae 0x18006702b
addss xmm0, dword [0x1801c1238]
movss dword [0x1803e3870], xmm0
movaps xmm0, xmmword [0x1801c1dc0]
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x68], 0
movd xmm0, edi
xorps xmm6, xmm6
movd xmm1, esi
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rsp + 0x60], xmm0
movss dword [rsp + 0x64], xmm1
call fcn.180076260
mov r9d, eax
mov dword [rsp + 0x28], 0
lea rdx, [rsp + 0x68]
movss dword [rsp + 0x20], xmm6
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.18008f8a0
mov rax, qword [0x1803ad9e0]
mov rcx, rbx
movd xmm1, dword [0x1803ad7dc]
movss xmm3, dword [0x1803ad7f0]
cvtdq2ps xmm1, xmm1
movsd xmm0, qword [rax + 0x3e18]
movss xmm2, dword [rax + 0x3f84]
cvtpd2ps xmm0, xmm0
unpcklps xmm1, xmm3
movss dword [rsp + 0x28], xmm0
movq r9, xmm1
movss xmm0, dword [rax + 0x3f80]
unpcklps xmm0, xmm2
movq rdx, xmm0
call fcn.1800600d0
cmp byte [0x1801d9125], 0
je 0x1800670f1
movss xmm0, dword [0x1801c1640]
jmp 0x1800670f9
movss xmm0, dword [0x1801c1a90]
mov rax, qword [0x1803ad9e0]
movss xmm1, dword [rax + 0x18]
addss xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, dword [0x1803e359c]
comiss xmm1, xmm6
jae 0x180067124
movss dword [0x1803e359c], xmm6
jmp 0x1800671a0
minss xmm1, dword [0x1801c148c]
comiss xmm1, dword [0x1801c125c]
movss dword [0x1803e359c], xmm1
jbe 0x1800671a0
or dword [rax + 0x3fb0], 2
xor ecx, ecx
mov dword [rax + 0x3fd0], 0x44518000
mov dword [rax + 0x3fd4], 0x4405c000
mov dword [rax + 0x3fb8], 1
call fcn.180076a00
xor edx, edx
lea rcx, str.Dear_ImGui
mov r8d, 0x1ab
call fcn.180080030
call fcn.180066ca0
call fcn.1800660e0
call fcn.180066910
call fcn.180065dd0
call fcn.180082420
mov ecx, 1
call fcn.180076a80
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
Function at 0x18006abf0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x18006ac00
xor al, al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x180068720]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18006ac2d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret
Function at 0x180075860
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 0x1800758bd
lea rbx, [0x1801b5620]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1800758a4
cmp r10, 2
jb 0x1800758a4
cmp byte [r9], r8b
jne 0x1800758a4
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 0x180075880
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800758ff
lea rbx, [0x1801b5620]
cmp r8b, 0x23
jne 0x1800758e3
cmp byte [r9], r8b
jne 0x1800758e3
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 0x1800758d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180075a40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x180075a5a
mov qword [r8], 0
lea rdx, [0x1801bf8f8]
call fcn.180075910
mov rbx, rax
test rax, rax
jne 0x180075a7a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180075b51
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 0x180075b51
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180075b51
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180075b51
cmp rdi, 0xffffffffffffffff
je 0x180075b51
mov rax, qword [0x1803ad9e0]
test rax, rax
je 0x180075aee
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180075b51
mov r9, rbx
mov r8, rdi
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, rdi
je 0x180075b3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1803ad9e0]
test rax, rax
je 0x180075b33
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180075b5a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x180075b4c
mov qword [r14], rdi
mov rax, rsi
jmp 0x180075b5c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret