joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006d3d8
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18006d408
xor eax, eax
jmp 0x18006d4cb
mov rbp, rbx
cmp word [rax], si
je 0x18006d42d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18006d414
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18006d410
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18006bc6c
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x18006d46e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18006d401
call fcn.180067260
mov rdi, rax
test rax, rax
jne 0x18006d484
xor ecx, ecx
call fcn.1800618f0
jmp 0x18006d463
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18006bc6c
test eax, eax
jne 0x18006d4b5
mov rcx, rdi
call fcn.1800618f0
jmp 0x18006d4bf
xor ecx, ecx
call fcn.1800618f0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1800713a8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x18007141b
cmp word [rcx], si
je 0x18007141b
lea rdx, [0x18008c630]
call fcn.180073d9c
test eax, eax
je 0x18007141b
lea rdx, [0x18008c648]
mov rcx, rbx
call fcn.180073d9c
test eax, eax
jne 0x180071411
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x180071438
mov eax, dword [rsp + 0x30]
jmp 0x18007144a
mov rcx, rbx
call fcn.180061794
jmp 0x18007144a
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x18007143c
xor eax, eax
jmp 0x18007144a
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x18007144a
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18007145c
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1800636fc
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800714ff
cmp edi, dword [rsp + 0x30]
je 0x1800714f8
test ebp, ebp
je 0x1800714f8
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1800714d4
sub dx, 0x61
cmp dx, 0x19
ja 0x1800714e0
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1800714c1
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1800714e4
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x180071501
mov eax, 1
jmp 0x180071501
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x180073aac
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.180066e14
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.180066e14
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x180073bf9
cmp rax, 0xffffffffffffffff
je 0x180073bf9
xor edi, edi
test rbp, rbp
jle 0x180073ba7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.180061870
mov rbx, rax
test rax, rax
jne 0x180073b34
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x180073b9d
mov edx, 0x8000
mov ecx, r14d
call fcn.180073930
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.180065c58
cmp eax, 0xffffffff
je 0x180073b7d
cdqe
sub rbp, rax
test rbp, rbp
jg 0x180073b44
mov edx, r15d
mov ecx, r14d
call fcn.180073930
jmp 0x180073b9d
cmp byte [rsi + 0x38], dil
je 0x180073b94
cmp dword [rsi + 0x34], 5
jne 0x180073b94
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x180073b9d
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800618f0
jmp 0x180073c0b
jns 0x180073c0b
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.180066e14
cmp rax, 0xffffffffffffffff
jne 0x180073bc5
cmp byte [rsi + 0x30], dil
je 0x180073c0b
jmp 0x180073c01
mov ecx, r14d
call fcn.18006dda8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x180073c0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x180073c0b
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x180073c06
mov edi, dword [rsi + 0x2c]
jmp 0x180073c0b
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.180066e14
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x180074ab0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180074ad8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180074ad8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001350
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x98
movups xmm0, xmmword [0x140051ba8]
mov eax, dword [0x140051bd0]
xor ecx, ecx
cmp dword [0x14009b010], 2
movups xmm1, xmmword [0x140051bb8]
mov dword [rsp + 0x78], eax
movups xmmword [rsp + 0x50], xmm0
movsd xmm0, qword [0x140051bc8]
movsd qword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm1
jl 0x1400014ce
movdqa xmm0, xmmword [0x140092780]
lea rdx, [rsp + 0x54]
movdqa xmm4, xmmword [0x140092650]
movdqa xmm3, xmmword [0x140092a10]
movdqa xmm5, xmmword [str.22224444777788889999]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x140092710]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm4
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x1400013e0
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x2c
jge 0x14000150d
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x2c
jl 0x1400014e0
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x1400fc0d0], rax
test rax, rax
je 0x140001557
cmp rax, 0xffffffffffffffff
setne al
add rsp, 0x98
ret
add rsp, 0x98
ret
Function at 0x140004560
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14009b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.14004df90
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140004900]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400045d3
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004df70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x1400045f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14009b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.14004df90
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140004930]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x140004663
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004df70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x140004680
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14009b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov ecx, 1
call fcn.14004df90
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140004960]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400046f3
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004df70
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14000ec00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x1360]
mov eax, 0x1460
call fcn.14004f0d0
sub rsp, rax
mov rax, qword [0x14009b040]
xor rax, rsp
mov qword [rbp + 0x1350], rax
mov rdi, rcx
mov qword [rsp + 0x30], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
movaps xmm0, xmmword [0x140090280]
movaps xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [0x140090290]
movaps xmmword [rsp + 0x50], xmm1
movaps xmm0, xmmword [0x1400902a0]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm1, xmmword [0x1400902b0]
movaps xmmword [rsp + 0x70], xmm1
movaps xmm0, xmmword [0x1400902c0]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [0x1400902d0]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [0x1400902e0]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [0x1400902f0]
movsd qword [rbp - 0x50], xmm0
mov eax, dword [0x1400902f8]
mov dword [rbp - 0x48], eax
movzx eax, word [0x1400902fc]
mov word [rbp - 0x44], ax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
mov dword [rbp + 0x1344], 0xffffffff
mov dword [rbp - 0x3c], eax
mov edx, 1
nop dword [rax]
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
mov dword [rbp + rdx*4 - 0x3c], ecx
inc rdx
cmp rdx, 0x270
jb 0x14000ece0
mov dword [rbp - 0x40], 0x270
lea rax, [rsp + 0x40]
mov rsi, 0xffffffffffffffff
inc rsi
cmp word [rax + rsi*2], r15w
jne 0x14000ed12
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
mov dword [rsp + 0x20], 1
mov r14d, 0x10
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
test rsi, rsi
jne 0x14000ed6d
lea rcx, [rbp - 0x40]
call fcn.140015610
mov ebx, eax
shl rbx, 0x20
lea rcx, [rbp - 0x40]
call fcn.140015610
mov eax, eax
or rbx, rax
jmp 0x14000ed7d
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140015420
mov rbx, rax
movzx r9d, word [rsp + rbx*2 + 0x40]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000edb1
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 7
jbe 0x14000eda4
mov rax, qword [rdi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r15w
jmp 0x14000edb9
mov rcx, rdi
call fcn.1400150a0
sub r14, 1
jne 0x14000ed40
mov rax, rdi
mov rcx, qword [rbp + 0x1350]
xor rcx, rsp
call fcn.14004df70
lea r11, [rsp + 0x1460]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140015610
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140015671
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140015630
mov ecx, dword [r9]
jmp 0x14001575b
cmp ecx, 0x4e0
jb 0x14001575b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140015690
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400156e0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x140016c50
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x14009b040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1400fc1a8]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140016e6e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140016e6e
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 [0x1400fc1a8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140016d24
movsx rdx, word [r8 + 0x6260]
lea rax, [r8 + 0x6264]
mov r9d, dword [r8 + 0x3ff0]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140016d19
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 + 0x6260], cx
movsx rax, cx
lea rax, [rax*8 + 0x6264]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x6258]
test rdi, rdi
je 0x140016d41
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 0x140016d44
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140090b98]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], 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 0x140016d87
mov rsi, qword [r8 + 0x98]
jmp 0x140016d8a
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 0x140016db5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1400fc1a8]
mov rcx, qword [rax + 0x4bd0]
mov rax, qword [rcx]
mov qword [rax + 0x30], 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 0x140016e2e
inc rbx
cmp rbx, 5
jl 0x140016e10
jmp 0x140016e5a
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 0x140016e70
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14004df70
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140019ae0
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 0x140019b3d
lea rbx, [0x14008b730]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140019b24
cmp r10, 2
jb 0x140019b24
cmp byte [r9], r8b
jne 0x140019b24
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 0x140019b00
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140019b7f
lea rbx, [0x14008b730]
cmp r8b, 0x23
jne 0x140019b63
cmp byte [r9], r8b
jne 0x140019b63
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 0x140019b50
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140019d40
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 0x140019d5e
mov qword [r8], r14
lea rdx, [0x14009052c]
call fcn.140019b90
mov rbx, rax
test rax, rax
jne 0x140019d83
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 0x140019eaf
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140019eaf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140019eaf
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 0x140019eaf
cmp rdi, 0xffffffffffffffff
je 0x140019eaf
mov rcx, rdi
call fcn.14001e4d0
mov rbp, rax
test rax, rax
je 0x140019eaf
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 0x140019e9c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x1400fc1a8]
test r8, r8
je 0x140019e91
movsx rdx, word [r8 + 0x6260]
lea rcx, [r8 + 0x6264]
mov r9d, dword [r8 + 0x3ff0]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140019e86
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 + 0x6260], cx
movsx rax, cx
lea rcx, [r8 + 0x6264]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x625c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140019eb8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140019eaa
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140019eba
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 0x140021df0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14009b040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, qword [0x1400fc1a8]
mov r11, r8
mov r15d, dword [rsp + 0x90]
mov edi, 1
mov r9d, r15d
mov r14d, edx
mov r10, rcx
mov rbx, qword [rsi + 0x40a8]
mov r8d, dword [rsi + 0x4ac0]
mov eax, dword [rbx + 0x14]
and eax, 4
or eax, 0x1000103
or r15d, eax
mov eax, 3
bt r9d, 0x1e
cmovae eax, edi
bts r8d, 8
mov dword [rsi + 0x4ac0], r8d
mov dword [rsi + 0x4af8], eax
cmp qword [rbx + 0x1c0], 0
jne 0x140021e90
cmp qword [rsi + 0x4ec0], 0
mov eax, 0x268
je 0x140021e95
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 [r11]
call fcn.14002bbe0
movsd xmm0, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
or r8d, 2
movsd qword [rsi + 0x4ae0], xmm0
xor edx, edx
mov dword [rsi + 0x4ac0], r8d
mov dword [rsi + 0x4ac8], edi
mov r9, qword [rbx + 8]
test r10, r10
je 0x140021f04
mov dword [rsp + 0x28], r14d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140019940
jmp 0x140021f15
lea r8, str._s__08X
mov dword [rsp + 0x20], r14d
call fcn.140019940
mov rcx, qword [rsp + 0x30]
mov r8d, r15d
movss xmm6, dword [rsi + 0x3960]
xor edx, edx
call fcn.140025140
mov rdi, qword [rsi + 0x40a8]
movzx ebp, al
movss dword [rsi + 0x3960], xmm6
cmp word [rdi + 0xd8], 1
mov dword [rdi + 0x90], r14d
jne 0x140021f5c
movsd xmm0, qword [rdi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, r14d
lea rdx, [0x140091001]
not r9d
lea r10, [0x14008b730]
mov ebx, r9d
mov r8b, 0x23
cmp r8b, 0x23
jne 0x140021f89
cmp byte [rdx], r8b
jne 0x140021f89
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 0x140021f76
not ebx
cmp dword [rsi + 0x4114], ebx
jne 0x140021fb9
xor edx, edx
xor ecx, ecx
call fcn.14001de90
cmp dword [rsi + 0x4bec], r14d
jne 0x140022004
test r15d, r15d
js 0x140022004
cmp word [rdi + 0x174], 0
jne 0x140021fda
cmp byte [rdi + 0x17a], 0
je 0x140022004
xor edx, edx
mov rcx, rdi
call fcn.140027a60
xor edx, edx
mov rcx, rdi
call fcn.14002e8a0
mov rdx, rdi
mov ecx, ebx
call fcn.14001de90
mov eax, dword [rsi + 0x4c20]
mov dword [rsi + 0x4140], eax
movzx eax, bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14004df70
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r14
pop rdi
ret