joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400035a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rcx
xorps xmm0, xmm0
test rdx, rdx
js 0x1400035c6
cvtsi2ss xmm0, rdx
jmp 0x1400035db
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx + 0x4c]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm6, dword [0x1400890f4]
xor eax, eax
comiss xmm0, xmm6
movabs rsi, 0x8000000000000000
jb 0x14000360a
subss xmm0, xmm6
comiss xmm0, xmm6
jae 0x14000360a
mov rax, rsi
mov rcx, qword [rdi + 0x38]
cvttss2si rbx, xmm0
xorps xmm0, xmm0
add rbx, rax
test rcx, rcx
js 0x140003625
cvtsi2ss xmm0, rcx
jmp 0x14000363a
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rdi + 0x4c]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor edx, edx
comiss xmm0, xmm6
jb 0x140003657
subss xmm0, xmm6
comiss xmm0, xmm6
jae 0x140003657
mov rdx, rsi
cvttss2si rax, xmm0
mov rcx, rdi
add rax, rdx
cmp rbx, rax
cmovb rbx, rax
mov rdx, rbx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop rdi
jmp fcn.140003690
Function at 0x140005a70
Capabilities:
Hash data using fnv

Disassembly:
mov r11, rsp
push rdi
push r13
push r14
push r15
sub rsp, 0x48
mov r10, qword [r8]
mov rdi, rcx
movsxd rcx, dword [rdx]
mov r15, r8
mov r14, rdx
test ecx, ecx
js 0x140005ca8
mov r9, qword [r8 + 8]
dec rcx
sub r9, r10
movabs r13, 0x2aaaaaaaaaaaaaab
mov rax, r13
imul r9
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add rcx, rdx
cmp rcx, 0x100000
jae 0x140005ca8
movsxd rax, dword [r14 + 4]
test eax, eax
js 0x140005ca8
mov rcx, qword [r10 + 8]
dec rax
sub rcx, qword [r10]
add rcx, rax
cmp rcx, 0x100000
jae 0x140005ca8
mov rcx, qword [r8 + 8]
mov rax, r13
mov qword [r11 + 0x20], rsi
sub rcx, r10
imul rcx
mov qword [r11 + 8], rbx
xor esi, esi
sar rdx, 2
mov rax, rdx
mov qword [r11 + 0x18], rbp
shr rax, 0x3f
mov qword [r11 - 0x28], r12
add rdx, rax
je 0x140005c80
movabs rbp, 0x100000001b3
mov rax, qword [r10 + 8]
xor ebx, ebx
mov rdx, r10
cmp rax, qword [r10]
je 0x140005c54
movsxd rax, esi
lea rcx, [rax + rax*2]
lea r12, [rcx*8]
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
mov rax, qword [r12 + r10]
cmp byte [rcx + rax], 0
je 0x140005c39
mov eax, dword [r14]
mov r8d, dword [r14 + 4]
add eax, esi
add r8d, ebx
mov dword [rsp + 0x78], eax
mov r9d, eax
mov dword [rsp + 0x7c], r8d
mov r10d, eax
shr r9d, 0x18
mov r11d, eax
shr r10d, 0x10
shr r11d, 8
test eax, eax
js 0x140005cb6
cmp eax, dword [rdi]
jge 0x140005cb6
test r8d, r8d
js 0x140005cb6
cmp r8d, dword [rdi + 4]
jge 0x140005cb6
movzx edx, al
lea rcx, [rdi + 0x10]
movzx r8d, r8b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, r11b
imul rdx, rbp
xor rdx, rax
movzx eax, r10b
imul rdx, rbp
xor rdx, rax
mov eax, r9d
imul rdx, rbp
xor rdx, rax
movabs rax, 0xcbf29ce484222325
xor r8, rax
movzx eax, byte [rsp + 0x7d]
imul r8, rbp
imul rdx, rbp
xor r8, rax
movzx eax, byte [rsp + 0x7e]
imul r8, rbp
xor r8, rax
movzx eax, byte [rsp + 0x7f]
imul r8, rbp
xor r8, rax
imul r8, rbp
xor r8, rdx
lea rdx, [rsp + 0x78]
call fcn.140002ef0
mov rdx, qword [r15]
inc ebx
movsxd rcx, ebx
mov r10, rdx
mov rax, qword [rdx + 8]
sub rax, qword [rdx]
cmp rcx, rax
jb 0x140005b60
mov rcx, qword [r15 + 8]
mov r10, rdx
sub rcx, rdx
inc esi
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, esi
cmp rax, rdx
jb 0x140005b30
mov rbx, qword [rsp + 0x70]
mov al, 1
mov rbp, qword [rsp + 0x80]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x88]
add rsp, 0x48
pop r15
pop r14
pop r13
pop rdi
ret
xor al, al
add rsp, 0x48
pop r15
pop r14
pop r13
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.1400017f0
lea rdx, [0x14008d870]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x140006800
Capabilities:
Terminate process

Disassembly:
push rbp
sub rsp, 0x60
cmp byte [0x1400944d4], 0
je 0x140006835
lea rdx, [0x1400944e0]
lea rcx, [rsp + 0x40]
call fcn.1400180c0
mov rcx, qword [rax]
test rcx, rcx
je 0x14000682e
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [0x1400944d4], 0
call fcn.14001cb00
movups xmm0, xmmword [0x1400966f8]
xor edx, edx
mov ecx, 0x8892
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [0x140096708]
movaps xmmword [rsp + 0x40], xmm0
call qword [0x1400945d8]
xor edx, edx
mov ecx, 0x8893
call qword [0x1400945d8]
movaps xmm1, xmmword [rsp + 0x20]
movd eax, xmm1
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rbp, xmm0
test eax, eax
jle 0x140006988
mov qword [rsp + 0x70], rbx
lea rbx, [rbp + 8]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
lea rdi, [rbp + 0x30]
mov esi, eax
cmp byte [0x140097178], 0
je 0x1400068ea
mov ecx, dword [rbx + 0x20]
call qword [0x140094688]
xor ecx, ecx
call qword [0x140094b08]
mov ecx, 1
call qword [0x140094b08]
mov ecx, 2
call qword [0x140094b08]
mov ecx, 3
call qword [0x140094b08]
xor ecx, ecx
call qword [0x140094688]
lea rdx, [rdi - 4]
mov ecx, 1
call qword [0x140094a18]
mov rdx, rdi
mov ecx, 1
call qword [0x140094a18]
lea rdx, [rdi + 4]
mov ecx, 1
call qword [0x140094a18]
lea rdx, [rdi + 8]
mov ecx, 1
call qword [0x140094a18]
cmp byte [0x140097178], 0
je 0x14000693d
lea rdx, [rdi - 8]
mov ecx, 1
call qword [0x140094aa8]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rdi, 0x40
add rbx, 0x40
sub rsi, 1
jne 0x1400068a7
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ecx, ecx
call qword [0x140096060]
mov edx, dword [0x14009701c]
mov ecx, dword [0x140097024]
call qword [0x140094af0]
mov edx, dword [0x140097020]
mov ecx, dword [0x140097024]
call qword [0x140094af0]
mov ecx, dword [0x14009701c]
call qword [0x140094a88]
mov ecx, dword [0x140097020]
call qword [0x140094a88]
mov ecx, dword [0x140097024]
call qword [0x140094a48]
mov rcx, qword [0x140097028]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r8d, dword [0x140097024]
lea rdx, str.SHADER:__ID__i__Default_shader_unloaded_successfully
mov ecx, 3
call fcn.1400348e0
lea rdx, [0x140097008]
mov ecx, 1
call qword [0x140094a98]
mov r8d, dword [0x140097008]
lea rdx, str.TEXTURE:__ID__i__Default_texture_unloaded_successfully
mov ecx, 3
call fcn.1400348e0
mov rcx, qword [0x1400971b8]
call fcn.140040310
call fcn.140041f60
mov ecx, 1
call sub.WINMM.dll_timeEndPeriod
lea rdx, str.Window_closed_successfully
mov byte [0x1400939fc], 0
mov ecx, 3
add rsp, 0x60
pop rbp
jmp fcn.1400348e0
Function at 0x14000ad80
Capabilities:
Terminate process

Disassembly:
cmp ecx, 1
jge 0x14000ad8a
xorps xmm1, xmm1
jmp 0x14000ad9e
movsd xmm1, qword [0x1400890d0]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
lea rdx, str.TIMER:_Target_time_per_frame:__02.03f_milliseconds
mov ecx, 3
movsd qword [0x1400944b8], xmm1
mulss xmm0, dword [0x1400505f0]
cvtps2pd xmm2, xmm0
movq r8, xmm2
jmp fcn.1400348e0
Function at 0x14000b560
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
sub rsp, 0x48
cmp byte [0x1400939fd], 0
mov rcx, qword [0x1400971b8]
mov qword [rsp + 0x40], rbx
jne 0x14000b5f2
lea r8, [0x140093a08]
lea rdx, [0x140093a04]
call fcn.1400411a0
mov dword [rsp + 0x50], 0
call fcn.1400071b0
lea rcx, [rsp + 0x50]
movsxd rbx, eax
call fcn.140040f40
cmp ebx, dword [rsp + 0x50]
jge 0x14000b5d2
mov rdx, qword [rax + rbx*8]
test rdx, rdx
je 0x14000b5d2
or dword [0x1400939f8], 2
xor r9d, r9d
mov rcx, qword [0x1400971b8]
xor r8d, r8d
mov byte [0x1400939fd], 1
jmp 0x14000b60f
lea rdx, str.GLFW:_Failed_to_get_monitor
mov ecx, 4
call fcn.1400348e0
mov rcx, qword [0x1400971b8]
xor r9d, r9d
xor r8d, r8d
jmp 0x14000b600
mov r9d, dword [0x140093a08]
mov r8d, dword [0x140093a04]
and dword [0x1400939f8], 0xfffffffd
xor edx, edx
mov byte [0x1400939fd], dl
mov eax, dword [0x140093a20]
mov dword [rsp + 0x30], 0xffffffff
mov dword [rsp + 0x28], eax
mov eax, dword [0x140093a1c]
mov dword [rsp + 0x20], eax
call fcn.140041d70
test byte [0x1400939f8], 0x40
mov rbx, qword [rsp + 0x40]
je 0x14000b64c
mov ecx, 1
add rsp, 0x48
jmp fcn.140041f00
add rsp, 0x48
ret
Function at 0x140018e80
Capabilities:
Terminate process

Disassembly:
xor eax, eax
mov r10, r9
mov dword [rdx], eax
mov dword [r8], eax
mov dword [r9], eax
lea eax, [rcx - 1]
cmp eax, 0x17
ja case.default.0x140018ead
lea r11, [0x140000000]
cdqe
mov r9d, dword [r11 + rax*4 + 0x190cc]
add r9, r11
jmp r9
mov dword [rdx], 0x8229
mov dword [r8], 0x1903
mov dword [r10], 0x1401
ret
mov dword [rdx], 0x822b
mov dword [r8], 0x8227
mov dword [r10], 0x1401
ret
mov dword [rdx], 0x8d62
mov dword [r8], 0x1907
mov dword [r10], 0x8363
ret
mov dword [rdx], 0x8051
mov dword [r8], 0x1907
mov dword [r10], 0x1401
ret
mov dword [rdx], 0x8057
mov dword [r8], 0x1908
mov dword [r10], 0x8034
ret
mov dword [rdx], 0x8056
mov dword [r8], 0x1908
mov dword [r10], 0x8033
ret
mov dword [rdx], 0x8058
mov dword [r8], 0x1908
mov dword [r10], 0x1401
ret
cmp byte [0x14009717d], 0
je 0x140018f52
mov dword [rdx], 0x822e
mov dword [r8], 0x1903
mov dword [r10], 0x1406
ret
cmp byte [0x14009717d], 0
je 0x140018f70
mov dword [rdx], 0x8815
mov dword [r8], 0x1907
mov dword [r10], 0x1406
ret
cmp byte [0x14009717d], 0
je 0x140018f8e
mov dword [rdx], 0x8814
mov dword [r8], 0x1908
mov dword [r10], 0x1406
ret
cmp byte [0x14009717e], 0
je 0x140018fac
mov dword [rdx], 0x822d
mov dword [r8], 0x1903
mov dword [r10], 0x140b
ret
cmp byte [0x14009717e], 0
je 0x140018fca
mov dword [rdx], 0x881b
mov dword [r8], 0x1907
mov dword [r10], 0x140b
ret
cmp byte [0x14009717e], 0
je 0x140018fe8
mov dword [rdx], 0x881a
mov dword [r8], 0x1908
mov dword [r10], 0x140b
ret
cmp byte [0x14009717f], 0
je 0x1400190cb
mov dword [rdx], 0x83f0
ret
cmp byte [0x14009717f], 0
je 0x1400190cb
mov dword [rdx], 0x83f1
ret
cmp byte [0x14009717f], 0
je 0x1400190cb
mov dword [rdx], 0x83f2
ret
cmp byte [0x14009717f], 0
je 0x1400190cb
mov dword [rdx], 0x83f3
ret
cmp byte [0x140097180], 0
je 0x1400190cb
mov dword [rdx], 0x8d64
ret
cmp byte [0x140097181], 0
je 0x1400190cb
mov dword [rdx], 0x9274
ret
cmp byte [0x140097181], 0
je 0x1400190cb
mov dword [rdx], 0x9278
ret
cmp byte [0x140097182], 0
je 0x1400190cb
mov dword [rdx], 0x8c00
ret
cmp byte [0x140097182], 0
je 0x1400190cb
mov dword [rdx], 0x8c02
ret
cmp byte [0x140097183], 0
je 0x1400190cb
mov dword [rdx], 0x93b0
ret
cmp byte [0x140097183], 0
je 0x1400190cb
mov dword [rdx], 0x93b7
ret
mov r8d, ecx
lea rdx, str.TEXTURE:_Current_format_not_supported___i_
mov ecx, 4
jmp fcn.1400348e0
ret
Function at 0x1400327c0
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, dword [rcx]
test ebx, ebx
je 0x1400327ec
mov ecx, ebx
call fcn.14001aff0
mov r8d, ebx
lea rdx, str.TEXTURE:__ID__i__Unloaded_texture_data_from_VRAM__GPU_
mov ecx, 3
add rsp, 0x20
pop rbx
jmp fcn.1400348e0
add rsp, 0x20
pop rbx
ret
Function at 0x1400347e0
Capabilities:
Write file on windows

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, 0x20
xor sil, sil
movsxd rdi, r8d
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400348ab
mov rax, qword [0x14009efb8]
test rax, rax
je 0x140034825
mov r8d, edi
call rax
jmp 0x1400348c0
lea rdx, [0x140052e20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rbp, rax
test rax, rax
je 0x140034895
mov r8, rdi
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
test eax, eax
jne 0x14003485e
lea ecx, [rax + 4]
lea rdx, str.FILEIO:___s__Failed_to_write_file
jmp 0x14003487c
cmp eax, edi
je 0x140034870
mov ecx, 4
lea rdx, str.FILEIO:___s__File_partially_written
jmp 0x14003487c
mov ecx, 3
lea rdx, str.FILEIO:___s__File_saved_successfully
mov r8, rbx
call fcn.1400348e0
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
sete sil
jmp 0x1400348bc
mov r8, rbx
lea rdx, str.FILEIO:___s__Failed_to_open_file
mov ecx, 4
call fcn.1400348e0
jmp 0x1400348bc
lea rdx, str.FILEIO:_File_name_provided_is_not_valid
mov ecx, 4
call fcn.1400348e0
movzx eax, sil
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1400348e0
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x20], r9
push rbx
push rdi
sub rsp, 0x148
mov rax, qword [0x140093880]
xor rax, rsp
mov qword [rsp + 0x130], rax
cmp ecx, dword [0x140091c30]
mov rbx, rdx
mov edi, ecx
jl 0x140034938
mov rax, qword [0x14009efa8]
mov qword [r11 - 0x18], rsi
lea rsi, [r11 + 0x18]
test rax, rax
je 0x140034952
mov r8, rsi
call rax
mov rsi, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1400450c0
add rsp, 0x148
pop rdi
pop rbx
ret
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memset
lea eax, [rdi - 1]
cmp eax, 5
ja case.default.0x140034983
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x34aa8]
add rcx, rdx
jmp rcx
movabs rax, 0x203a4543415254
jmp 0x1400349f2
movabs rax, 0x203a4755424544
jmp 0x1400349f2
mov eax, dword [0x1400530d0]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1400530d4]
mov word [rsp + 0x34], ax
movzx eax, byte [0x1400530d6]
mov byte [rsp + 0x36], al
jmp case.default.0x140034983
movsd xmm0, qword [str.WARNING:]
movzx eax, word [0x1400530e0]
movsd qword [rsp + 0x30], xmm0
mov word [rsp + 0x38], ax
jmp case.default.0x140034983
movabs rax, 0x203a524f525245
jmp 0x1400349f2
movabs rax, 0x203a4c41544146
mov qword [rsp + 0x30], rax
mov rcx, 0xffffffffffffffff
mov rdx, rcx
inc rdx
cmp byte [rbx + rdx], 0
jne 0x140034a01
mov eax, 0xf4
cmp edx, eax
cmovb eax, edx
mov r8d, eax
lea rax, [rsp + 0x30]
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140034a20
lea rax, [rsp + 0x30]
mov rdx, rbx
add rcx, rax
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rsp + 0x30]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140034a41
movzx eax, word [0x1400530e4]
mov word [rcx], ax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rbx, rax
call fcn.1400041e0
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x30]
mov rdx, rbx
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vfprintf]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
cmp edi, 6
jne 0x140034930
lea ecx, [rdi - 5]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x14003cd10
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r12
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x140093880]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
xor edx, edx
lea rcx, [rsp + 0xa0]
mov r8d, pe_nt_image_headers64
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x1400a1232]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1d0], rdi
sub r14, 0x480
lea rbp, [0x1400a0fb8]
xor r12d, r12d
lea r15, [0x1400a12d2]
mov ebx, 0x20
movsx esi, word [rbp]
cmp esi, 0xffffffff
je 0x14003cec8
cmp ebx, 0x140
jb 0x14003ce2f
cmp ebx, 0x14e
ja 0x14003ce2f
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], 0x68
mov dword [rsp + 0x64], 0x69
mov dword [rsp + 0x68], 0x6e
mov dword [rsp + 0x6c], 0x6f
mov dword [rsp + 0x70], 0x6a
mov dword [rsp + 0x74], 0x6d
mov dword [rsp + 0x78], 0x6b
mov edi, dword [r14]
jmp 0x14003ce3e
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], 0x10
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x14003ce91
mov dword [rsp + 0x28], r12d
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xa0]
mov dword [rsp + 0x20], 0x10
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x14003cec8
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x80]
mov qword [rsp + 0x30], r12
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r15, 5
add r14, 4
add rbp, 2
cmp ebx, 0x15c
jle 0x14003cd91
mov rdi, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.1400450c0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret

Function at 0x14003d6f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
xor r10d, r10d
mov edi, r8d
mov rbx, rdx
mov r11d, 0x7fffffff
test ecx, ecx
jle 0x14003d756
mov qword [rsp + 0x10], rsi
imul edi, r9d
mov r9, rdx
mov esi, ecx
nop word [rax + rax]
mov eax, dword [rbx + 4]
mov ecx, r11d
imul eax, dword [rbx]
lea rbx, [rbx + 0x10]
mov r8, r10
mov r10, r9
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, r11d
cmovl r11d, eax
cmp eax, ecx
cmovge r10, r8
add r9, 0x10
sub rsi, 1
jne 0x14003d720
mov rsi, qword [rsp + 0x10]
mov rbx, qword [rsp + 0x18]
mov rax, r10
pop rdi
ret
Function at 0x14003f560
Capabilities:
Register raw input devices

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
mov qword [0x1400a1918], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14003f5b9
mov rcx, qword [rbx + 0x358]
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 [0x1400a1908], xmm0
movsd qword [0x1400a1910], xmm1
mov eax, dword [rbx + 0x84]
cmp eax, 0x34001
je 0x14003f5d1
cmp eax, 0x34004
je 0x14003f5d1
xor ecx, ecx
jmp 0x14003f5f0
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14003f5e0
mov rcx, qword [rcx + 8]
jmp 0x14003f5f0
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
lea r8, [rsp + 0x40]
mov rcx, rbx
lea rdx, [rsp + 0x48]
call qword [0x14009f110]
movd xmm2, dword [rsp + 0x40]
mov rcx, rbx
movd xmm1, dword [rsp + 0x48]
cvtdq2pd xmm2, xmm2
cvtdq2pd xmm1, xmm1
mulsd xmm2, qword [0x1400505b0]
mulsd xmm1, qword [0x1400505b0]
call qword [0x14009f018]
mov rcx, rbx
call fcn.14003d290
cmp dword [rbx + 0x200], 0
je 0x14003f685
mov rax, qword [rbx + 0x358]
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 0x14003f685
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.140039600
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14003f690
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 0x14003f6d2
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.140039600
add rsp, 0x38
ret
Function at 0x14003f6e0
Capabilities:
Register raw input devices

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x200], 0
mov rbx, rcx
je 0x14003f730
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 0x14003f730
lea rdx, str.Win32:_Failed_to_remove_raw_input_device
mov ecx, 0x10008
call fcn.140039600
xor ecx, ecx
mov qword [0x1400a1918], 0
call qword [sym.imp.USER32.dll_ClipCursor]
cvttsd2si ecx, qword [0x1400a1908]
mov qword [0x1400a1920], 0
lea rdx, [rsp + 0x40]
cvttsd2si eax, qword [0x1400a1910]
mov dword [rsp + 0x40], ecx
mov dword [rbx + 0x394], ecx
mov rcx, qword [rbx + 0x358]
mov dword [rsp + 0x44], eax
mov dword [rbx + 0x398], 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 + 0x84]
cmp eax, 0x34001
je 0x14003f7b4
cmp eax, 0x34004
je 0x14003f7b4
xor ecx, ecx
add rsp, 0x30
pop rbx
jmp qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbx + 0x58]
test rcx, rcx
je 0x14003f7cd
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 0x14003f7f0
Capabilities:
Register raw input devices

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x358]
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 0x14003f832
lea rdx, str.Win32:_Failed_to_register_raw_input_device
mov ecx, 0x10008
call fcn.140039600
add rsp, 0x38
ret

Function at 0x14003fce0
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