joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011a40
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 0x140011a9d
lea rbx, [0x14006df50]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140011a84
cmp r10, 2
jb 0x140011a84
cmp byte [r9], r8b
jne 0x140011a84
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 0x140011a60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140011adf
lea rbx, [0x14006df50]
cmp r8b, 0x23
jne 0x140011ac3
cmp byte [r9], r8b
jne 0x140011ac3
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 0x140011ab0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140011ca0
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 0x140011cbe
mov qword [r8], r14
lea rdx, [0x14006da60]
call fcn.140011af0
mov rbx, rax
test rax, rax
jne 0x140011ce3
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 0x140011e0d
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 0x140011e0d
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140011e0d
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 0x140011e0d
cmp rdi, 0xffffffffffffffff
je 0x140011e0d
mov rcx, rdi
call fcn.140015c40
mov rbp, rax
test rax, rax
je 0x140011e0d
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 0x140011dfa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140080da0]
test r8, r8
je 0x140011def
movsx rdx, word [r8 + 0x60d0]
lea rcx, [r8 + 0x60d4]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140011de4
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 + 0x60d0], cx
movsx rax, cx
lea rcx, [r8 + 0x60d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x60cc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140011e16
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140011e08
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140011e18
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 0x140018ec0
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 [0x140080040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140080da0]
mov ebp, edx
mov r10, rcx
mov r9d, dword [rdi + 0x4a08]
mov rbx, qword [rdi + 0x4008]
bts r9d, 8
mov dword [rdi + 0x4a08], r9d
mov dword [rdi + 0x4a40], 1
cmp qword [rbx + 0x1b8], 0
jne 0x140018f37
cmp qword [rdi + 0x4df8], 0
mov eax, 0x260
je 0x140018f3c
mov eax, 0x230
movss xmm2, dword [rbx + rax]
lea rcx, [rsp + 0x30]
movss xmm3, dword [rbx + rax + 4]
subss xmm3, dword [rbx + 0x114]
subss xmm2, dword [rbx + 0x110]
mov rdx, qword [r8]
call fcn.140022450
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r9d, 2
movsd qword [rdi + 0x4a28], xmm0
xor edx, edx
mov dword [rdi + 0x4a08], r9d
mov dword [rdi + 0x4a10], 1
mov r9, qword [rbx + 8]
test r10, r10
je 0x140018fae
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.1400118a0
jmp 0x140018fbe
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.1400118a0
mov rcx, qword [rsp + 0x30]
xor edx, edx
movss xmm6, dword [rdi + 0x3918]
mov r8d, 0x1000107
call fcn.14001c0a0
mov rsi, qword [rdi + 0x4008]
movzx r14d, al
movss dword [rdi + 0x3918], xmm6
cmp word [rsi + 0xcc], 1
mov dword [rsi + 0x88], ebp
jne 0x140019008
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x110], xmm0
mov r9d, ebp
lea rdx, [0x14006cdf1]
not r9d
lea r10, [0x14006df50]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140019035
cmp byte [rdx], r8b
jne 0x140019035
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 0x140019022
not ebx
cmp dword [rdi + 0x406c], ebx
jne 0x140019065
xor edx, edx
xor ecx, ecx
call fcn.1400157d0
cmp dword [rdi + 0x4b40], ebp
jne 0x1400190aa
cmp word [rsi + 0x16c], 0
jne 0x140019080
cmp byte [rsi + 0x172], 0
je 0x1400190aa
xor edx, edx
mov rcx, rsi
call fcn.14001e960
xor edx, edx
mov rcx, rsi
call fcn.140024c40
mov rdx, rsi
mov ecx, ebx
call fcn.1400157d0
mov eax, dword [rdi + 0x4b6c]
mov dword [rdi + 0x4098], eax
movzx eax, r14b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400683d0
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 0x14001f430
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x14006df50]
mov rax, qword [rcx + 0x108]
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 + 0x4054], ebx
jne 0x14001f4c6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.140029930
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140023180
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x140080da0]
mov edi, ecx
cmp byte [rbx + 0x4d2d], 0
jne 0x1400231e1
cmp byte [rbx + 0x4d2e], 0
jne 0x1400231e1
movsx r9d, word [rbx + 0x5e98]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140011820
test dil, 2
je 0x14002330f
jmp 0x14002326a
movss xmm1, dword [rbx + 0x39c4]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5e98]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140075e3c]
mulss xmm1, dword [0x140075e2c]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xf8]
addss xmm1, dword [rbx + 0xfc]
mov qword [rbx + 0x4a20], rax
mov dword [rbx + 0x4a0c], 1
movss dword [rbx + 0x4a18], xmm0
movss dword [rbx + 0x4a1c], xmm1
movss xmm0, dword [rbx + 0x3a20]
mulss xmm0, dword [0x140075db4]
or dword [rbx + 0x4a08], 0x41
movss dword [rbx + 0x4a68], xmm0
call fcn.140011820
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400232c0
lea r11, [0x14006df50]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x1400232a3
cmp byte [r8], r9b
jne 0x1400232a3
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 0x140023290
not ecx
call fcn.1400193c0
test rax, rax
je 0x14002330f
cmp byte [rax + 0xbe], 0
je 0x14002330f
mov byte [rax + 0xc3], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xc6], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xe4], 1
mov edx, 0x10
inc word [rbx + 0x5e98]
movsx r9d, word [rbx + 0x5e98]
call fcn.140011820
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x2030347
call fcn.14001c0a0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400683d0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140028150
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 + 0x5ff0], 0
lea rbx, [rcx + 0x5ff8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400281f7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400281aa
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.14002a9e0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400123e0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ff0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6000]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140080d98]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400281ff
mov rcx, rbx
call fcn.1400123e0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x140028520
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 [0x140080da0]
xor ebp, ebp
cmp byte [rbx + 0x5f48], bpl
jne 0x1400285ff
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400285f8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140011ca0
mov rsi, rax
test rax, rax
je 0x1400285f8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140028584
mov rcx, rax
call fcn.140028750
mov r8, qword [0x140080da0]
test r8, r8
je 0x1400285ef
movsx rdx, word [r8 + 0x60d0]
lea rcx, [r8 + 0x60d4]
mov r9d, dword [r8 + 0x3f60]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x1400285e4
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 + 0x60d0], cx
movsx rax, cx
lea rcx, [r8 + 0x60d4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60cc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f48], 1
movss xmm0, dword [rbx + 0x5f4c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14002868e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f4c], xmm0
jb 0x14002868e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140028681
mov rax, qword [0x140080da0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f4c], ebp
call fcn.1400289b0
lea rdx, [0x14006da64]
mov rcx, rdi
mov rsi, rax
call fcn.140011af0
mov rdi, rax
test rax, rax
je 0x140028688
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 0x140028688
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f4c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1400286b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140080da0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140028713
mov qword [rsp], rbx
lea rbx, [0x14006df50]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400286f3
cmp byte [r8], r9b
jne 0x1400286f3
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 0x1400286e0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f60]
not eax
mov r8, qword [r10 + 0x5f68]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14002873f
cmp dword [r8 + 8], eax
je 0x140028746
add r8, 0x48
cmp r8, rcx
jne 0x140028730
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003d830
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140080da0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003da4e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003da4e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140080da0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14003d904
movsx rdx, word [r8 + 0x60d0]
lea rax, [r8 + 0x60d4]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14003d8f9
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 + 0x60d0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60d4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60c8]
test rdi, rdi
je 0x14003d921
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14003d924
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140074358]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14003d967
mov rsi, qword [r8 + 0x90]
jmp 0x14003d96a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003d995
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140080da0]
mov rcx, qword [rax + 0x4b18]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003da0e
inc rbx
cmp rbx, 5
jl 0x14003d9f0
jmp 0x14003da3a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14003da50
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400683d0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
mov rcx, qword [0x140080ef0]
jmp 0x14003d830
Function at 0x14003da70
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140080040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140080da0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003da4e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003da4e
mov qword [rsp + 0x80], rbx
mov ecx, 0x50
mov qword [rsp + 0x88], rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r8, qword [0x140080da0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14003d904
movsx rdx, word [r8 + 0x60d0]
lea rax, [r8 + 0x60d4]
mov r9d, dword [r8 + 0x3f60]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14003d8f9
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 + 0x60d0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60d4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60c8]
test rdi, rdi
je 0x14003d921
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
jmp 0x14003d924
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140074358]
mov qword [rsi + 0x80], rax
mov qword [rsi + 0x90], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x14003d967
mov rsi, qword [r8 + 0x90]
jmp 0x14003d96a
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rsi + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14003d995
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140080da0]
mov rcx, qword [rax + 0x4b18]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbp
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x30], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x38], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x50], rax
mov byte [rdi + 0x31], 1
nop word [rax + rax]
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003da0e
inc rbx
cmp rbx, 5
jl 0x14003d9f0
jmp 0x14003da3a
lea rdx, str.XInputGetCapabilities
mov qword [rdi + 0x38], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.XInputGetState
mov rcx, rsi
mov qword [rdi + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x48], rax
mov rdi, qword [rsp + 0x88]
mov al, 1
mov rbx, qword [rsp + 0x80]
jmp 0x14003da50
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400683d0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
mov rcx, qword [0x140080ef0]
jmp 0x14003d830
Function at 0x14004ca30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400810ec], eax
jle 0x14004cc46
lea rcx, [0x1400810ec]
call fcn.14006873c
cmp dword [0x1400810ec], 0xffffffff
jne 0x14004cc46
movsd xmm0, qword [str._O__TX]
movsd qword [rsp + 0x20], xmm0
mov eax, dword [0x1400754d0]
mov dword [rsp + 0x28], eax
xor ebx, ebx
cmp byte [0x1400754d3], bl
je 0x14004cbe0
mov r8d, ebx
cmp dword [0x140080088], 2
jl 0x14004cba5
movdqa xmm4, xmmword [0x140076080]
movdqa xmm2, xmmword [0x140075f70]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140075fa0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140075ff0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [str._O__TX]
xorps xmm2, xmm0
movd dword [rsp + 0x20], xmm2
movdqa xmm3, xmmword [0x140075f90]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140075fa0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140075ff0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
movd xmm0, dword [rsp + 0x24]
xorps xmm2, xmm0
movd dword [rsp + 0x24], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x20]
add r9, rax
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x33
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x14004cbb0
lea rax, [rsp + 0x20]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], bl
jne 0x14004cbf0
lea rcx, [rdi + 1]
call fcn.140068a64
test rdi, rdi
je 0x14004cc22
nop word [rax + rax]
movzx edx, byte [rsp + rbx + 0x20]
not dl
mov byte [rax + rbx], dl
inc rbx
cmp rbx, rdi
jb 0x14004cc10
mov byte [rax + rdi], 0
mov qword [0x140081288], rax
lea rcx, [0x14006ade0]
call fcn.1400689dc
nop
lea rcx, [0x1400810ec]
call fcn.1400686d0
mov rax, qword [0x140081288]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14004cc90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
movaps xmmword [rsp + 0x50], xmm6
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140081154], eax
jle 0x14004cee6
lea rcx, [0x140081154]
call fcn.14006873c
cmp dword [0x140081154], 0xffffffff
jne 0x14004cee6
movups xmm0, xmmword [str.__AF_r]
movups xmmword [rsp + 0x30], xmm0
mov eax, dword [0x140075770]
mov dword [rsp + 0x40], eax
movzx eax, word [0x140075774]
mov word [rsp + 0x44], ax
movzx eax, byte [0x140075776]
mov byte [rsp + 0x46], al
xor ebx, ebx
mov ecx, ebx
cmp dword [0x140080088], 2
jl 0x14004ce52
movdqa xmm5, xmmword [0x140075f70]
movdqa xmm4, xmmword [0x140076080]
movdqa xmm6, xmmword [0x140075fa0]
movdqa xmm0, xmmword [str.3333333333333333]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x30]
mov r8d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140075ff0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140075ff0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx + 4]
xorps xmm2, xmm0
movd dword [rdx + 4], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x14004cd50
cmp ecx, 0x17
jge 0x14004ce8c
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0x51eb851f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
sub al, dl
add al, 0x33
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x17
jl 0x14004ce60
lea rax, [rsp + 0x30]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], bl
jne 0x14004ce98
lea rcx, [rdi + 1]
call fcn.140068a64
test rdi, rdi
je 0x14004cec2
nop
movzx edx, byte [rsp + rbx + 0x30]
not dl
mov byte [rax + rbx], dl
inc rbx
cmp rbx, rdi
jb 0x14004ceb0
mov byte [rax + rdi], 0
mov qword [0x140081200], rax
lea rcx, [0x14006adf0]
call fcn.1400689dc
nop
lea rcx, [0x140081154]
call fcn.1400686d0
mov rax, qword [0x140081200]
mov rbx, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret