joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800dab64
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x1805ba458]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1805ba458]
mov edx, dword [0x1805ba45c]
test ax, ax
je 0x1800dac0e
movss xmm3, dword [0x180221b3c]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1800dac0e
movss xmm4, dword [0x1801f65f4]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x1800dac0e
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm1, xmm0
jae 0x1800dac0e
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm2, xmm0
jae 0x1800dac0e
cmp byte [0x1805ba40b], 0
mov al, 1
mov byte [0x1805ba409], al
jne 0x1800dac18
subss xmm1, xmm3
mov byte [0x1805ba40b], al
subss xmm2, xmm4
movss dword [0x1805ba460], xmm1
movss dword [0x1805ba464], xmm2
jmp 0x1800dac14
mov al, byte [0x1805ba409]
test al, al
je 0x1800dac46
movd xmm0, ecx
movd xmm1, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x1805ba460]
subss xmm1, dword [0x1805ba464]
movss dword [0x180221b3c], xmm0
movss dword [0x1801f65f4], xmm1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800dac62
mov byte [0x1805ba409], al
mov byte [0x1805ba40b], al
add rsp, 0x38
ret

Function at 0x1800dac68
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x1805ba7f8]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1805ba7f8]
mov edx, dword [0x1805ba7fc]
test ax, ax
je 0x1800dad12
movss xmm3, dword [0x1803a5118]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1800dad12
movss xmm4, dword [0x1803a5114]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x1800dad12
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm1, xmm0
jae 0x1800dad12
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm2, xmm0
jae 0x1800dad12
cmp byte [0x1805ba7f5], 0
mov al, 1
mov byte [0x1805ba7f6], al
jne 0x1800dad1c
subss xmm1, xmm3
mov byte [0x1805ba7f5], al
subss xmm2, xmm4
movss dword [0x1805ba804], xmm1
movss dword [0x1805ba800], xmm2
jmp 0x1800dad18
mov al, byte [0x1805ba7f6]
test al, al
je 0x1800dad4a
movd xmm0, ecx
movd xmm1, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x1805ba804]
subss xmm1, dword [0x1805ba800]
movss dword [0x1803a5118], xmm0
movss dword [0x1803a5114], xmm1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800dad66
mov byte [0x1805ba7f6], al
mov byte [0x1805ba7f5], al
add rsp, 0x38
ret
Function at 0x1800dad6c
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x1805ba480]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1805ba480]
mov edx, dword [0x1805ba484]
test ax, ax
je 0x1800dae16
movss xmm3, dword [0x18026b970]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1800dae16
movss xmm4, dword [0x18026b96c]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x1800dae16
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm1, xmm0
jae 0x1800dae16
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm2, xmm0
jae 0x1800dae16
cmp byte [0x1805ba40d], 0
mov al, 1
mov byte [0x1805ba40c], al
jne 0x1800dae20
subss xmm1, xmm3
mov byte [0x1805ba40d], al
subss xmm2, xmm4
movss dword [0x1805ba488], xmm1
movss dword [0x1805ba48c], xmm2
jmp 0x1800dae1c
mov al, byte [0x1805ba40c]
test al, al
je 0x1800dae4e
movd xmm0, ecx
movd xmm1, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x1805ba488]
subss xmm1, dword [0x1805ba48c]
movss dword [0x18026b970], xmm0
movss dword [0x18026b96c], xmm1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800dae6a
mov byte [0x1805ba40c], al
mov byte [0x1805ba40d], al
add rsp, 0x38
ret

Function at 0x1800dae70
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
lea rcx, [0x1805ba4d0]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
mov rcx, qword [0x1805ba4d0]
mov edx, dword [0x1805ba4d4]
test ax, ax
je 0x1800daf1a
movss xmm3, dword [0x1802c2f78]
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm3
jbe 0x1800daf1a
movss xmm4, dword [0x1802c2f74]
movd xmm2, edx
cvtdq2ps xmm2, xmm2
comiss xmm2, xmm4
jbe 0x1800daf1a
movss xmm0, dword [rsp + 0x20]
addss xmm0, xmm3
comiss xmm1, xmm0
jae 0x1800daf1a
movss xmm0, dword [rsp + 0x24]
addss xmm0, xmm4
comiss xmm2, xmm0
jae 0x1800daf1a
cmp byte [0x1805ba40f], 0
mov al, 1
mov byte [0x1805ba434], al
jne 0x1800daf24
subss xmm1, xmm3
mov byte [0x1805ba40f], al
subss xmm2, xmm4
movss dword [0x1805ba4dc], xmm1
movss dword [0x1805ba4d8], xmm2
jmp 0x1800daf20
mov al, byte [0x1805ba434]
test al, al
je 0x1800daf52
movd xmm0, ecx
movd xmm1, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm0, dword [0x1805ba4dc]
subss xmm1, dword [0x1805ba4d8]
movss dword [0x1802c2f78], xmm0
movss dword [0x1802c2f74], xmm1
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x1800daf6e
mov byte [0x1805ba434], al
mov byte [0x1805ba40f], al
add rsp, 0x38
ret
Function at 0x1800de4cc
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 0x1800de543
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1800de543
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1800de530
cmp rbx, rcx
jae 0x1800de543
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1800de51b
cmp rbx, rcx
jae 0x1800de543
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x1800de545
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 0x1800f7d20
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
movdqa xmm1, xmmword [0x1800c3bd0]
xor edi, edi
mov r8, qword [0x1803f8fe0]
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
or rcx, 0xffffffffffffffff
mov byte [rbp - 9], dil
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movdqu xmmword [rbp + 7], xmm1
inc rcx
cmp byte [rdx + rcx], dil
jne 0x1800f7d60
movabs rax, 0x7fffffffffffffff
sub rax, r8
cmp rax, rcx
jb 0x1800f7ef9
cmp qword [0x1803f8fe8], 0xf
lea r9, [0x1803f8fd0]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x17]
cmova r9, qword [0x1803f8fd0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
call fcn.1800c6fec
mov rcx, qword [rbp + 0x27]
mov edx, 4
mov rax, qword [rbp + 0x2f]
sub rax, rcx
cmp rax, rdx
jb 0x1800f7deb
cmp qword [rbp + 0x2f], 0xf
lea rax, [rcx + 4]
mov qword [rbp + 0x27], rax
lea rax, [rbp + 0x17]
cmova rax, qword [rbp + 0x17]
mov dword [rax + rcx], 0x6766632e
mov byte [rax + rcx + 4], dil
lea rax, [rbp + 0x17]
jmp 0x1800f7e00
lea r9, [0x1800bf0d4]
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x17]
call fcn.1800c6ad0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], rdi
mov byte [rax], dil
mov edi, 0x1000
mov qword [rax + 0x18], 0xf
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1800f7e4e
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800f7e49
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f7e84
call fcn.180134b64
mov rdx, qword [rbp + 0x2f]
movups xmmword [rbp - 9], xmm6
movups xmmword [rbp + 7], xmm7
cmp rdx, 0xf
jbe 0x1800f7e90
mov rcx, qword [rbp + 0x17]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800f7e8b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800f7e8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180134b64
cmp qword [rbp + 0xf], 0xf
lea rcx, [rbp - 9]
cmova rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x1800f7ede
mov rcx, qword [rbp - 9]
inc rdx
mov rax, rcx
cmp rdx, rdi
jb 0x1800f7ed9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800f7ed9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180134b64
lea r11, [rsp + 0xa0]
mov rdi, qword [r11 + 0x10]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1800c6664
int3
Function at 0x180107b8c
Capabilities:
Enumerate gui resources

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
lea rcx, [0x1800bdac0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [0x1800bdca8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call fcn.1800d5c10
call fcn.1800d6218
call fcn.1800d70bc
jmp 0x180107bdb
lea rdx, [0x1805ba630]
lea rcx, [0x180107d5c]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rbx, qword [0x1805ba630]
test rbx, rbx
je 0x180107bc7
and qword [rbp + 0x6f], 0
lea rcx, [rbp - 9]
and qword [rbp + 0x7f], 0
xor edx, edx
and qword [rbp + 0x77], 0
mov dword [rbp + 0x67], 0xb000
lea r8d, [rdx + 0x48]
call sub.VCRUNTIME140.dll_memset
and dword [rbp + 0xb], 0
lea rax, [rbp + 0x77]
and dword [rbp + 0xf], 0
mov esi, 1
and dword [rbp + 0x33], 0
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
and qword [rsp + 0x50], 0
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x48], rax
mov edx, esi
lea rax, [rbp + 0x6f]
mov dword [rbp + 0x1f], esi
mov qword [rsp + 0x40], rax
xor ecx, ecx
lea rax, [rbp - 9]
mov dword [rbp + 7], 0x1c
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x67]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1b], 0x20
mov qword [rbp + 0x27], rbx
mov dword [rbp + 0x13], esi
mov dword [rbp + 0x2f], esi
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jns 0x180107caa
lea r9d, [rsi + 0xf]
xor ecx, ecx
lea r8, [0x1800c2178]
lea rdx, [0x1800c2190]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x180107d33
mov rax, qword [rbp + 0x6f]
mov rcx, qword [rbp + 0x77]
mov rbx, qword [rax]
mov rax, qword [rbx + 0x40]
mov qword [0x1805ba490], rax
mov rax, qword [rbx + 0x68]
mov qword [0x1805ba4b8], rax
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1805ba630]
lea r8, [0x180105fd4]
mov edx, 0xfffffffc
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rbx + 0x40]
lea r8, [0x18010664c]
lea rdx, [0x1805ba490]
mov qword [0x1805ba850], rax
call fcn.1800f42bc
mov rcx, qword [rbx + 0x68]
lea r8, [0x1801065c4]
lea rdx, [0x1805ba4b8]
call fcn.1800f42bc
cmp byte [0x1805ba4ce], 0
jne 0x180107d4e
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov byte [0x1805ba4ce], sil
add rsp, 0xb0
pop rsi
pop rbx
pop rbp
ret

Function at 0x180107f44
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
je 0x180107f51
xor al, al
jmp 0x180107f80
and qword [rsp + 0x28], 0
lea r8, [0x180107dac]
and dword [rsp + 0x20], 0
mov r9, rcx
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180107f7e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
add rsp, 0x38
ret
Function at 0x18010b958
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
movzx eax, byte [r8 + rcx]
movabs rdx, 0x100000001b3
xor rbp, rax
inc rcx
imul rbp, rdx
cmp rcx, 4
jb 0x18010b983
mov rcx, qword [0x1805f0fe0]
mov rdx, qword [0x1805f0fc8]
and rcx, rbp
mov rdi, qword [0x1805f0fb8]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, rdi
je 0x18010ba06
mov r8, qword [rdx + rcx*8]
mov ecx, dword [r14]
jmp 0x18010b9d9
cmp rax, r8
je 0x18010ba03
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18010b9d0
mov qword [rsi], rax
mov byte [rsi + 8], 0
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rdi, rax
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x1805f0fc0], rax
jne 0x18010ba27
lea rcx, [0x1800bc7a0]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov ecx, 0x18
call fcn.180134b28
mov ecx, dword [r14]
mov rbx, rax
xorps xmm1, xmm1
mov dword [rax + 0x10], ecx
mov rdx, qword [0x1805f0fc0]
lea rcx, [rdx + 1]
test rcx, rcx
js 0x18010ba54
cvtsi2ss xmm1, rcx
jmp 0x18010ba69
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
mov rcx, qword [0x1805f0fe8]
xorps xmm0, xmm0
test rcx, rcx
js 0x18010ba7f
cvtsi2ss xmm0, rcx
jmp 0x18010ba94
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x1805f0fb0]
comiss xmm0, xmm1
jae 0x18010baf0
call fcn.18010bba4
mov rcx, qword [0x1805f0fe0]
mov rdx, qword [0x1805f0fc8]
and rcx, rbp
mov rdi, qword [0x1805f0fb8]
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, rdi
je 0x18010bae9
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rbx + 0x10]
jmp 0x18010bae1
cmp rax, r8
je 0x18010bb33
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x18010bad8
mov rdi, qword [rax]
mov rdx, qword [0x1805f0fc0]
mov r8, qword [rdi + 8]
inc rdx
mov qword [0x1805f0fc0], rdx
mov qword [rbx], rdi
mov qword [rbx + 8], r8
mov qword [r8], rbx
mov qword [rdi + 8], rbx
mov rax, qword [0x1805f0fe0]
mov rcx, qword [0x1805f0fc8]
and rax, rbp
add rax, rax
mov rdx, qword [rcx + rax*8]
cmp rdx, qword [0x1805f0fb8]
jne 0x18010bb38
mov qword [rcx + rax*8], rbx
jmp 0x18010bb4a
mov rdi, rax
jmp 0x18010bae9
cmp rdx, rdi
jne 0x18010bb43
mov qword [rcx + rax*8], rbx
jmp 0x18010bb4f
cmp qword [rcx + rax*8 + 8], r8
jne 0x18010bb4f
mov qword [rcx + rax*8 + 8], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 1
jmp 0x18010b9e5
Function at 0x18010bba4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rcx, qword [0x1805f0fc0]
mov esi, 1
add rcx, rsi
xorps xmm1, xmm1
js 0x18010bbce
cvtsi2ss xmm1, rcx
jmp 0x18010bbe3
mov rax, rcx
and rcx, rsi
shr rax, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm1, dword [0x1805f0fb0]
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x18010bc16
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x18010bc16
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, esi
xor eax, esi
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
movss xmm0, dword [0x1800c3b30]
xor ecx, ecx
comiss xmm1, xmm0
jb 0x18010bc3b
subss xmm1, xmm0
comiss xmm1, xmm0
jae 0x18010bc3b
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1805f0fe8]
cvttss2si rax, xmm1
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x18010bc70
cmp rdx, 0x200
jae 0x18010bc6d
shl rdx, 3
cmp rdx, rcx
jae 0x18010bc70
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov rax, rsi
shl rax, cl
cmp rdx, rax
jbe 0x18010bc97
lea rcx, [0x1800bc7c0]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x1805f0fb8]
lea rax, [rdx - 1]
or rax, rsi
mov rdi, rsi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1805f0fc8]
lea rdx, [rdi + rdi]
call fcn.1800cc1ac
mov rax, qword [0x1805f0fb8]
lea r9, [rdi - 1]
mov qword [0x1805f0fe0], r9
mov qword [0x1805f0fe8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18010bde2
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
add r8, rsi
imul r11, r10
cmp r8, 4
jb 0x18010bcfc
mov rdi, qword [0x1805f0fc8]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18010bd3a
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18010bda8
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18010bd7d
mov r10, qword [r10]
cmp r10, rax
je 0x18010bd33
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18010bd33
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x18010bdbc
cmp qword [rdi + r11*8], r10
jne 0x18010bd73
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x18010bde2
mov r9, qword [0x1805f0fe0]
jmp 0x18010bcec
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18010bda8
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18010d8dc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18010d936
mov r11b, 0x23
lea rbx, [0x1800b6f30]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x18010d920
cmp rdx, 2
jb 0x18010d920
cmp byte [r10], r11b
jne 0x18010d920
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x18010d8fe
jmp 0x18010d977
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18010d977
mov r11b, 0x23
lea rbx, [0x1800b6f30]
cmp dl, r11b
jne 0x18010d95b
cmp byte [r10], r11b
jne 0x18010d95b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x18010d949
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18010daac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x18010dacc
and qword [r8], 0
lea rdx, [0x1800c2e08]
call fcn.18010d988
mov rbx, rax
test rax, rax
je 0x18010dbbd
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18010dbb4
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 0x18010dbb4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18010dbb4
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 0x18010dbb4
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x18010dbb4
mov rax, qword [0x1805ba8a8]
test rax, rax
je 0x18010db51
inc dword [rax + 0xf8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x18010dbb4
mov r9, rbx
mov r8, rbp
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, rbp
je 0x18010dba1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1805ba8a8]
test rax, rax
je 0x18010db96
dec dword [rax + 0xf8]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18010dbbd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x18010dbaf
mov qword [rsi], rbp
mov rax, rdi
jmp 0x18010dbbf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x18010fa24
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800b6f30]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18010fa53
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f18], ebx
jne 0x18010fa8d
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.18011efe4
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x18010fa98
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x1800b6f30]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18010fb06
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x18011dc94
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c68], 0
lea rbx, [rcx + 0x5c70]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18011dd2d
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18011dce5
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.18011fc64
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18010e2a4
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c68]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1805ba7f7]
movsxd r8, eax
mov rax, qword [rdi + 0x5c78]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18011dd35
mov rcx, rbx
call fcn.18010e2a4
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18011e3dc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1805ba8a8]
mov rbx, rcx
and dword [rax + 0x5bcc], 0
test rcx, rcx
je 0x18011e445
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18011e450
lea rdx, [0x1800c2e0c]
mov rcx, rbx
mov rdi, rax
call fcn.18010d988
mov rbx, rax
test rax, rax
je 0x18011e445
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret