joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400517d0
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 0x14005182d
lea rbx, [0x1400bf460]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140051814
cmp r10, 2
jb 0x140051814
cmp byte [r9], r8b
jne 0x140051814
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 0x1400517f0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14005186f
lea rbx, [0x1400bf460]
cmp r8b, 0x23
jne 0x140051853
cmp byte [r9], r8b
jne 0x140051853
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 0x140051840
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140051a30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
xor r14d, r14d
mov rsi, r8
test r8, r8
je 0x140051a4e
mov qword [r8], r14
lea rdx, [0x1400be49c]
call fcn.140051880
mov rbx, rax
test rax, rax
jne 0x140051a73
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140051b9d
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 0x140051b9d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140051b9d
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 0x140051b9d
cmp rdi, 0xffffffffffffffff
je 0x140051b9d
mov rcx, rdi
call fcn.140056100
mov rbp, rax
test rax, rax
je 0x140051b9d
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 0x140051b8a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400e1080]
test r8, r8
je 0x140051b7f
movsx rdx, word [r8 + 0x6220]
lea rcx, [r8 + 0x6224]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140051b74
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6220], cx
movsx rax, cx
lea rcx, [r8 + 0x6224]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x621c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140051ba6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140051b98
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140051ba8
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 rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400592e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x1400db040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1400e1080]
mov ebp, edx
mov r10, rcx
mov r9d, dword [rdi + 0x4a88]
mov rbx, qword [rdi + 0x4078]
bts r9d, 8
mov dword [rdi + 0x4a88], r9d
mov dword [rdi + 0x4ac0], 1
cmp qword [rbx + 0x1c0], 0
jne 0x140059357
cmp qword [rdi + 0x4e88], 0
mov eax, 0x268
je 0x14005935c
mov eax, 0x238
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r8]
call fcn.140063400
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4aa8], xmm0
xor edx, edx
mov dword [rdi + 0x4a88], r9d
mov dword [rdi + 0x4a90], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x1400593ce
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140051630
jmp 0x1400593de
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.140051630
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3930]
mov r8d, 0x1000107
call fcn.14005c670
mov rsi, qword [rdi + 0x4078]
movzx r14d, al
movss dword [rdi + 0x3930], xmm6
cmp word [rsi + 0xd8], 1
mov dword [rsi + 0x90], ebp
jne 0x140059428
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, ebp
lea rdx, [0x1400c5ec1]
not r9d
lea r10, [0x1400bf460]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140059455
cmp byte [rdx], r8b
jne 0x140059455
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 0x140059442
not ebx
cmp dword [rdi + 0x40e4], ebx
jne 0x140059485
xor edx, edx
xor ecx, ecx
call fcn.140055ab0
cmp dword [rdi + 0x4bb4], ebp
jne 0x1400594ca
cmp word [rsi + 0x174], 0
jne 0x1400594a0
cmp byte [rsi + 0x17a], 0
je 0x1400594ca
xor edx, edx
mov rcx, rsi
call fcn.14005ef70
xor edx, edx
mov rcx, rsi
call fcn.140066060
mov rdx, rsi
mov ecx, ebx
call fcn.140055ab0
mov eax, dword [rdi + 0x4be8]
mov dword [rdi + 0x4110], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008b9e0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
ret
Function at 0x140059700
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140059750
lea r11, [0x1400bf460]
nop dword [rax]
cmp r9b, 0x23
jne 0x140059733
cmp byte [r8], r9b
jne 0x140059733
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140059720
mov rcx, qword [0x1400e1080]
not eax
movsxd rdx, dword [rcx + 0x4058]
mov r9, qword [rcx + 0x4060]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x1400597b1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1400597a9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1400597ac
mov rdx, r8
test rdx, rdx
jne 0x140059780
cmp r9, r10
je 0x1400597c0
cmp dword [r9], eax
jne 0x1400597c0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x14005fbb0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x1400bf460]
mov rax, qword [rcx + 0x110]
mov r9, rcx
movsxd r10, edx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, r10b
movzx r8d, bl
shr ebx, 8
xor r8, rax
mov eax, r10d
shr eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r10d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x40cc], ebx
jne 0x14005fc46
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14006aff0
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14005fc50
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0x110]
lea r9, [0x1400bf460]
movss xmm2, dword [rcx + 0x128]
movss xmm3, dword [rcx + 0x12c]
movsxd rcx, dword [rcx + 0x108]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140069900
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 + 0x6140], 0
lea rbx, [rcx + 0x6148]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400699a7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14006995a
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.14004ca80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140052220
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6140]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6150]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1400e1074]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400699af
mov rcx, rbx
call fcn.140052220
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140069c10
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
mov rbx, qword [0x1400e1080]
xor ebp, ebp
cmp byte [rbx + 0x6090], bpl
jne 0x140069cef
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140069ce8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140051a30
mov rsi, rax
test rax, rax
je 0x140069ce8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140069c74
mov rcx, rax
call fcn.140069e40
mov r8, qword [0x1400e1080]
test r8, r8
je 0x140069cdf
movsx rdx, word [r8 + 0x6220]
lea rcx, [r8 + 0x6224]
mov r9d, dword [r8 + 0x3fc0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140069cd4
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6220], cx
movsx rax, cx
lea rcx, [r8 + 0x6224]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x621c]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x6090], 1
movss xmm0, dword [rbx + 0x6094]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x140069d7e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x6094], xmm0
jb 0x140069d7e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140069d71
mov rax, qword [0x1400e1080]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x6094], ebp
call fcn.14006a0a0
lea rdx, [0x1400c6c5c]
mov rcx, rdi
mov rsi, rax
call fcn.140051880
mov rdi, rax
test rax, rax
je 0x140069d78
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x140069d78
mov byte [rbx + 0xe6], 1
mov dword [rbx + 0x6094], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140069da0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400e1080]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140069e03
mov qword [rsp], rbx
lea rbx, [0x1400bf460]
nop dword [rax]
cmp r9b, 0x23
jne 0x140069de3
cmp byte [r8], r9b
jne 0x140069de3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140069dd0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x60a8]
not eax
mov r8, qword [r10 + 0x60b0]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x140069e2f
cmp dword [r8 + 8], eax
je 0x140069e36
add r8, 0x48
cmp r8, rcx
jne 0x140069e20
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x140089ff0
Capabilities:
Encode data using xor

Disassembly:
mov rdx, qword [rcx + 0x10]
sub rdx, qword [rcx + 8]
mov rcx, qword [rcx + 8]
jmp 0x140089ff0
mov qword [rsp + 8], rbx
and r8d, 0x1f
mov r9, rdx
movabs r11, 0xc2b2ae3d27d4eb4f
movabs r10, 0x9e3779b185ebca87
cmp r8, 8
jb 0x140089f57
mov edx, r8d
movabs rbx, 0x7a1435883d4d519d
shr rdx, 3
imul rax, rdx, 0xfffffffffffffff8
add r8, rax
nop
mov rax, qword [r9]
add r9, 8
imul rax, r11
rol rax, 0x1f
imul rax, r10
xor rcx, rax
rol rcx, 0x1b
imul rcx, r10
sub rcx, rbx
sub rdx, 1
jne 0x140089f30
movabs rbx, 0x165667b19e3779f9
cmp r8, 4
jb 0x140089f84
mov edx, dword [r9]
add r9, 4
imul rdx, r10
xor rcx, rdx
rol rcx, 0x17
imul rcx, r11
add rcx, rbx
sub r8, 4
test r8, r8
je 0x140089fbd
movabs rdx, 0x27d4eb2f165667c5
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9]
lea r9, [r9 + 1]
imul rax, rdx
xor rcx, rax
rol rcx, 0xb
imul rcx, r10
sub r8, 1
jne 0x140089fa0
mov rax, rcx
shr rax, 0x21
xor rax, rcx
imul rax, r11
mov rcx, rax
shr rcx, 0x1d
xor rcx, rax
imul rcx, rbx
mov rbx, qword [rsp + 8]
mov rax, rcx
shr rax, 0x20
xor rax, rcx
ret
push rbx
sub rsp, 0x20
mov rbx, rdx
mov rdx, rcx
cmp rbx, 0x20
jb 0x14008a145
mov qword [rsp + 0x30], rsi
lea r11, [rcx - 0x1f]
mov qword [rsp + 0x38], rdi
add r11, rbx
movabs rdi, 0x9e3779b185ebca87
movabs rcx, 0x60ea27eeae0b1da0
movabs rsi, 0xc2b2ae3d27d4eb4f
movabs r8, 0xc2b2ae3d281f5319
mov r9d, 0x4a67ca
movabs r10, 0x61c8864e7a5e9d43
nop
mov rax, qword [rdx]
imul rax, rsi
add rcx, rax
mov rax, qword [rdx + 8]
imul rax, rsi
rol rcx, 0x1f
add r8, rax
mov rax, qword [rdx + 0x10]
imul rax, rsi
imul rcx, rdi
add r9, rax
rol r8, 0x1f
mov rax, qword [rdx + 0x18]
add rdx, 0x20
imul rax, rsi
imul r8, rdi
add r10, rax
rol r9, 0x1f
rol r10, 0x1f
imul r10, rdi
imul r9, rdi
cmp rdx, r11
jb 0x14008a050
mov r11, r10
mov rax, r9
rol r11, 0x12
rol rax, 0xc
add r11, rax
mov rax, r8
rol rax, 7
add r11, rax
mov rax, rcx
imul rcx, rsi
imul r8, rsi
imul r9, rsi
imul r10, rsi
mov rsi, qword [rsp + 0x30]
rol rcx, 0x1f
imul rcx, rdi
rol rax, 1
add r11, rax
rol r8, 0x1f
xor r11, rcx
rol r9, 0x1f
imul r11, rdi
imul r8, rdi
imul r9, rdi
movabs rax, 0x7a1435883d4d519d
rol r10, 0x1f
sub r11, rax
xor r11, r8
mov r8, rbx
imul r11, rdi
imul r10, rdi
sub r11, rax
xor r11, r9
imul r11, rdi
sub r11, rax
xor r11, r10
imul r11, rdi
mov rdi, qword [rsp + 0x38]
sub r11, rax
lea rcx, [r11 + rbx]
add rsp, 0x20
pop rbx
jmp 0x140089ef0
movabs r11, 0x27d4eb2f16a0cf8f
mov r8, rbx
lea rcx, [r11 + rbx]
add rsp, 0x20
pop rbx
jmp 0x140089ef0
Function at 0x14008b5d0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14008b60a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14008b60f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14008b658
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400a1b80]
cmp byte [rcx + rax], 0
je 0x14008b658
dec r8
sub rdx, 1
jne 0x14008b63e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14008c6b8
Capabilities:
Parse pe header

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

Function at 0x140090f40
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x1400e0838], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140090f99
mov rcx, qword [rbx + 0x360]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm0, dword [rsp + 0x40]
movd xmm1, dword [rsp + 0x44]
cvtdq2pd xmm0, xmm0
cvtdq2pd xmm1, xmm1
movsd qword [0x1400e0828], xmm0
movsd qword [0x1400e0830], xmm1
mov eax, dword [rbx + 0x8c]
cmp eax, 0x34001
je 0x140090fb6
cmp eax, 0x34004
je 0x140090fb6
mov rcx, qword [0x1400e0858]
jmp 0x140090fd5
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x140090fc5
mov rcx, qword [rcx + 8]
jmp 0x140090fd5
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, rbx
call fcn.140092a70
mov rcx, rbx
call fcn.140090560
cmp dword [rbx + 0x208], 0
je 0x140091032
mov rax, qword [rbx + 0x360]
lea rcx, [rsp + 0x20]
mov edx, 1
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140091032
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.140096b50
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x140091040
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x140091082
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.140096b50
add rsp, 0x38
ret
Function at 0x140091090
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x208], 0
mov rbx, rcx
je 0x1400910e0
mov edx, 1
mov dword [rsp + 0x20], 0x20001
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], edx
mov qword [rsp + 0x28], 0
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400910e0
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.140096b50
xor ecx, ecx
mov qword [0x1400e0838], 0
call qword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si ecx, qword [0x1400e0828]
mov qword [0x1400e0840], 0
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x1400e0830]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x3a0], ecx
mov rcx, qword [rbx + 0x360]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x3a4], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov eax, dword [rbx + 0x8c]
cmp eax, 0x34001
je 0x140091169
cmp eax, 0x34004
je 0x140091169
mov rcx, qword [0x1400e0858]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x140091182
mov rcx, qword [rcx + 8]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]

Function at 0x1400911a0
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x360]
mov edx, 1
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], 0x20001
mov qword [rsp + 0x28], rax
lea r8d, [rdx + 0xf]
call qword [sym.imp.USER32.dll_RegisterRawInputDevices]
test eax, eax
jne 0x1400911e2
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.140096b50
add rsp, 0x38
ret

Function at 0x140091290
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, 0x11
shr ebx, 0xf
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, ebx
mov ecx, 0x12
or edi, 2
test ax, ax
cmovns edi, ebx
call qword [sym.imp.USER32.dll_GetKeyState]
mov esi, edi
mov ecx, 0x5c
or esi, 4
test ax, ax
cmovns esi, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x5b
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetKeyState]
mov edi, esi
mov ecx, 0x14
or edi, 8
or bx, ax
cmovns edi, esi
call qword [sym.imp.USER32.dll_GetKeyState]
mov ebx, edi
mov ecx, 0x90
or ebx, 0x10
test al, 1
cmove ebx, edi
call qword [sym.imp.USER32.dll_GetKeyState]
mov rsi, qword [rsp + 0x38]
mov ecx, ebx
or ecx, 0x20
test al, 1
cmove ecx, ebx
mov rbx, qword [rsp + 0x30]
mov eax, ecx
add rsp, 0x20
pop rdi
ret