joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ec00
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x140069238]
lea r10, [0x14005ac00]
movsxd r9, ecx
mov rbx, qword [r8 + 0x3e28]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
xor edi, dword [r10 + rdx*4]
not edi
cmp dword [r8 + 0x3e5c], edi
jne 0x14000eca5
mov r8, r9
mov edx, 4
mov ecx, edi
call fcn.140016700
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x14000ecd9
inc r8d
test ecx, ecx
je 0x14000ecc2
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14000ecc7
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140017700
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140010770
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140069238]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x1400107d1
cmp byte [rbx + 0x41ce], 0
jne 0x1400107d1
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002520
test dil, 1
je 0x1400108f8
jmp 0x14001085a
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14006037c]
mulss xmm1, dword [0x14006036c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x140060264]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.140002520
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400108b0
lea r11, [0x14005ac00]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140010893
cmp byte [r8], r9b
jne 0x140010893
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 0x140010880
not ecx
call fcn.1400098a0
test rax, rax
je 0x1400108f8
cmp byte [rax + 0x8e], 0
je 0x1400108f8
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.140002520
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000bf70
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140057a70
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140015450
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 + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400154f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400154aa
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.1400174d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002ca0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140069230]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400154ff
mov rcx, rbx
call fcn.140002ca0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140034e70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
mov edx, 0x1000
xor ecx, ecx
mov r8d, edx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x140034ea3
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movups xmm0, xmmword [0x140069408]
mov ecx, ebx
movups xmmword [rax], xmm0
movsd xmm1, qword [0x140069418]
movsd qword [rax + 0x10], xmm1
mov eax, dword [0x140069420]
mov dword [rdi + 0x18], eax
movzx eax, word [0x140069424]
mov word [rdi + 0x1c], ax
call rdi
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140037b50
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rsp + 0x78], rax
xorps xmm1, xmm1
mov rdi, rcx
cvtss2sd xmm1, xmm2
lea rcx, [rsp + 0x38]
mov rbx, r9
mov rsi, rdx
call fcn.140034d10
cmp qword [rsp + 0x50], 0xf
lea r8, [rsp + 0x38]
mov qword [rsp + 0x28], rbx
lea r9, [rsp + 0x58]
cmova r8, qword [rsp + 0x38]
mov rdx, rsi
mov rcx, rdi
mov dword [rsp + 0x20], 0x20
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x140037bf3
mov rcx, qword [rsp + 0x38]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037bee
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037bee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140057b60
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvtsd2ss xmm0, xmm0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140057a70
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140049050
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword [0x140069238]
movaps xmm8, xmm0
movss xmm9, dword [0x140068b54]
xorps xmm4, xmm4
ucomiss xmm8, xmm4
movss xmm6, dword [rax + 0x10]
movaps xmm7, xmm1
movss xmm5, dword [rax + 0x14]
xorps xmm3, xmm3
mulss xmm6, dword [0x140060260]
xorps xmm2, xmm2
mulss xmm5, dword [0x140060260]
jp 0x1400490be
je 0x140049110
comiss xmm8, xmm6
jbe 0x1400490ee
movaps xmm3, xmm6
movaps xmm0, xmm6
subss xmm3, xmm8
addss xmm0, xmm6
xorps xmm3, xmmword [0x140060500]
divss xmm3, xmm9
movaps xmm1, xmm3
addss xmm1, xmm6
comiss xmm1, xmm0
jbe 0x1400490ee
xorps xmm3, xmm3
comiss xmm6, xmm8
jbe 0x140049110
movaps xmm3, xmm8
subss xmm3, xmm6
divss xmm3, xmm9
movaps xmm0, xmm3
addss xmm0, xmm6
comiss xmm4, xmm0
jbe 0x140049110
xorps xmm3, xmm3
ucomiss xmm7, xmm4
jp 0x140049117
je 0x140049165
comiss xmm7, xmm5
jbe 0x140049145
movaps xmm2, xmm5
movaps xmm0, xmm5
subss xmm2, xmm7
addss xmm0, xmm5
xorps xmm2, xmmword [0x140060500]
divss xmm2, xmm9
movaps xmm1, xmm2
addss xmm1, xmm5
comiss xmm1, xmm0
jbe 0x140049145
xorps xmm2, xmm2
comiss xmm5, xmm7
jbe 0x140049165
movaps xmm2, xmm7
subss xmm2, xmm5
divss xmm2, xmm9
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm4, xmm0
jbe 0x140049165
xorps xmm2, xmm2
xor eax, eax
mov qword [rsp + 0x34], 0x4001
mov dword [rsp + 0x20], eax
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov edx, 0x1000
cvttss2si eax, xmm3
mov r8d, edx
lea r9d, [rcx + 0x40]
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm2
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x140049201
movups xmm0, xmmword [0x1400693e8]
mov r8d, 0x28
lea rdx, [rsp + 0x20]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x1400693f8]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x140069400]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x140069404]
mov word [rax + 0x1c], cx
lea ecx, [r8 - 0x27]
call rbx
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140057a70
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x90
pop rbx
ret
Function at 0x14004e050
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x2b0
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx], r14
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], r14
mov dword [rsp + 0x20], 1
cmp qword [rdx + 0x10], r14
jne 0x14004e0ba
mov rdx, qword [rdx + 0x18]
jmp 0x14004e1db
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14004e1cd
nop word [rax + rax]
lea rdx, [rsp + 0x8c]
lea rcx, [rsp + 0x30]
call fcn.140055b60
mov r8, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14004e112
mov rcx, qword [rbx]
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 7
jbe 0x14004e120
mov r8, qword [rax]
cmp rdx, qword [rbx + 0x10]
jne 0x14004e149
test rdx, rdx
je 0x14004e144
sub r8, rcx
nop
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x14004e149
add rcx, 2
sub rdx, 1
jne 0x14004e130
mov dil, 1
jmp 0x14004e14c
xor dil, dil
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x14004e18e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e189
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e24d
call fcn.140057b60
test dil, dil
je 0x14004e1b7
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14004e1aa
mov eax, dword [rsp + 0x68]
mov dword [rdx], eax
add qword [rsi + 8], 4
jmp 0x14004e1b7
lea r8, [rsp + 0x68]
mov rcx, rsi
call fcn.140056fd0
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14004e0f0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x14004e212
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14004e20d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004e254
mov rcx, r8
call fcn.140057b60
mov word [rbx], r14w
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r14
mov rax, rsi
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140057a70
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400556a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x48
mov rax, qword [0x140068040]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140055400
mov rcx, qword [0x1400692a8]
test rcx, rcx
jne 0x1400556e7
call fcn.14004d610
mov ecx, 0x64
mov qword [0x1400692a8], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x1400692a8]
test rcx, rcx
je 0x1400556c4
movdqa xmm0, xmmword [0x140060400]
lea rdx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [0x1400692a8]
xor edx, edx
call qword [sym.imp.USER32.dll_SetMenu]
mov rcx, qword [0x1400692a8]
mov edx, 0xfffffff0
mov r8d, 0x10000000
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x1400692a8]
mov edx, 0xffffffec
mov r8d, 0x80020
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov rcx, qword [0x1400692a8]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400692a8]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1400692a8]
mov edx, 0xffffffec
call qword [sym.imp.USER32.dll_GetWindowLongA]
mov rcx, qword [0x1400692a8]
mov edx, 0xffffffec
or eax, 0x80020
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongA]
call fcn.14004e8a0
xor r8d, r8d
lea rcx, [0x140049230]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
xor r8d, r8d
lea rcx, [0x140049490]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
xor r8d, r8d
lea rcx, [0x140049e80]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
call fcn.140055060
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140057a70
add rsp, 0x48
ret

Function at 0x14005859c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400585e6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400585e6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400585e6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400585e6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400585e6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400585e8
xor al, al
add rsp, 0x28
ret
Function at 0x1800061c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
xor ebx, ebx
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 1
jb 0x1800063e2
cmp qword [rcx + 0x18], 7
jbe 0x1800061f9
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 1
lea rax, [0x180062b30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
mov r9, rcx
lea rcx, [rbp + 0x2f]
call fcn.180006fa0
nop
mov r8d, 0x12
lea rdx, str.Preventing_Startup
lea rcx, [rbp + 0x2f]
call fcn.180006450
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov r8d, 3
lea rdx, [0x180062ae0]
lea rcx, [rbp + 7]
call fcn.180006450
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 7
cmova rdx, qword [rbp - 0x19]
mov r9d, 0x10
lea r8, [0x180062ae8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x18000630c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006307
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006307
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005d250
movdqa xmm0, xmmword [0x180069900]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], bx
mov rdx, qword [rbp + 0x1f]
cmp rdx, 7
jbe 0x180006360
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000635b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000635b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005d250
movdqa xmm0, xmmword [0x180069900]
movdqu xmmword [rbp + 0x17], xmm0
mov word [rbp + 7], bx
mov rdx, qword [rbp + 0x47]
cmp rdx, 7
jbe 0x1800063b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800063af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800063af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18005d250
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rbx, rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
mov rbx, qword [rsp + 0xc8]
add rsp, 0xb0
pop rbp
jmp qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.180001360
int3
Function at 0x18000b120
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ecx, dword [0x180078810]
mov rax, qword gs:[0x58]
mov rdi, qword [rdx]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1800793e8], ecx
jle 0x18000b182
lea rcx, [0x1800793e8]
call fcn.18005d378
cmp dword [0x1800793e8], 0xffffffff
jne 0x18000b182
lea rcx, [0x18005f1a0]
call fcn.18005d748
lea rcx, [0x1800793e8]
call fcn.18005d30c
mov rax, qword [0x180079258]
xor esi, esi
test rax, rax
je 0x18000b199
mov rcx, qword [rax + 0xa0]
jmp 0x18000b19c
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x18000b1a7
call fcn.18000d440
call fcn.18000ede0
call fcn.1800173c0
call fcn.18000a890
cmp byte [0x180077160], sil
je 0x18000b1cb
lea rcx, [0x180077148]
call fcn.180008230
xor edx, edx
lea rcx, str.UnityWndClass
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x18000b205
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18000b205
cmp byte [0x180077160], sil
sete byte [0x180077160]
call fcn.180019700
call fcn.180019b10
mov rax, qword [rdi]
lea r8, [0x180079250]
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rax, qword [0x180079258]
mov rcx, qword [rax + 0x4210]
mov rcx, qword [rcx]
add rcx, 0xa8
cmp byte [rcx], sil
cmove rcx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.18000c9e0
Function at 0x18000ede0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x40
mov rax, qword [0x180077040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x58], rsi
mov rsi, qword [0x180079258]
test rsi, rsi
je 0x18000ee0f
mov rdi, qword [rsi + 0x98]
jmp 0x18000ee11
xor edi, edi
xorps xmm0, xmm0
lea rdx, [rsp + 0x20]
movdqu xmmword [rsp + 0x20], xmm0
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x28]
sub eax, dword [rsp + 0x20]
movd xmm1, eax
mov eax, dword [rsp + 0x2c]
sub eax, dword [rsp + 0x24]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x10], xmm1
movss dword [rsi + 0x14], xmm0
cmp byte [rdi + 0x2e], 0
je 0x18000ee5b
call fcn.18000ed70
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [rdi + 0x18]
cvtsi2ss xmm0, qword [rdi + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rsi + 0x18], xmm1
mov qword [rdi + 0x18], rcx
call fcn.18000e370
mov rax, qword [0x180079258]
cmp byte [rax + 0x2f10], 0
je 0x18000eef4
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18000eef4
mov rbx, qword [0x180079258]
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x210
lea rcx, [rbx + 8]
call fcn.180012260
mov dword [rbx + 0x380], 0x210
mov dword [rbx + 0x940], 0xa0
mov rax, qword [0x180079258]
cmp byte [rax + 0x2f50], 0
je 0x18000ef45
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18000ef45
mov rbx, qword [0x180079258]
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x214
lea rcx, [rbx + 8]
call fcn.180012260
mov dword [rbx + 0x384], 0x214
mov dword [rbx + 0x950], 0xa1
mov rax, qword [0x180079258]
cmp byte [rax + 0x2f30], 0
je 0x18000ef96
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18000ef96
mov rbx, qword [0x180079258]
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x212
lea rcx, [rbx + 8]
call fcn.180012260
mov dword [rbx + 0x26c], 0x212
mov dword [rbx + 0x948], 0x5b
mov rax, qword [0x180079258]
cmp byte [rax + 0x2f70], 0
je 0x18000efe7
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18000efe7
mov rbx, qword [0x180079258]
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x216
lea rcx, [rbx + 8]
call fcn.180012260
mov dword [rbx + 0x270], 0x216
mov dword [rbx + 0x958], 0x5c
cmp byte [rsi + 0x78], 0
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
je 0x18000effe
mov eax, 0xffffffff
jmp 0x18000f00b
mov rax, qword [0x180079258]
mov eax, dword [rax + 0x43f8]
cmp dword [rdi + 0x28], eax
je 0x18000f018
mov dword [rdi + 0x28], eax
call fcn.18000e200
call fcn.18000e5e0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18005d230
add rsp, 0x40
pop rdi
ret
Function at 0x1800123f0
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 0x18001244d
lea rbx, [0x180064020]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180012434
cmp r10, 2
jb 0x180012434
cmp byte [r9], r8b
jne 0x180012434
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 0x180012410
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18001248f
lea rbx, [0x180064020]
cmp r8b, 0x23
jne 0x180012473
cmp byte [r9], r8b
jne 0x180012473
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 0x180012460
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x1800125d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x1800125ea
mov qword [r8], 0
lea rdx, [0x180068fe8]
call fcn.1800124a0
mov rbx, rax
test rax, rax
jne 0x18001260a
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 0x1800126e1
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 0x1800126e1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800126e1
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 0x1800126e1
cmp rdi, 0xffffffffffffffff
je 0x1800126e1
mov rax, qword [0x180079258]
test rax, rax
je 0x18001267e
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 0x1800126e1
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 0x1800126ce
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180079258]
test rax, rax
je 0x1800126c3
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800126ea
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x1800126dc
mov qword [r14], rdi
mov rax, rsi
jmp 0x1800126ec
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