joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140066760
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400042e3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.14000a0e0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140064960
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x1400042c0
cmp byte [0x14020d1eb], 0
je 0x140066775
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x1400639a0
jmp 0x1400042c0

Function at 0x140066780
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x14020d4c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x14020d1eb], 0
je 0x1400667b5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x14020d7e0]
aesenc xmm0, xmmword [0x14020d7f0]
aesenc xmm0, xmmword [0x14020d800]
movq rax, xmm0
ret
jmp 0x14000a300

Function at 0x1400667c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x14020d4c0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x14020d1eb], 0
je 0x1400667f6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x14020d7e0]
aesenc xmm0, xmmword [0x14020d7f0]
aesenc xmm0, xmmword [0x14020d800]
movq rax, xmm0
ret
jmp 0x14000a360

Function at 0x140071ea0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x140071f6a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.140003840
xorps xmm15, xmm15
mov r14, qword [0x14020d3f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x140071f4f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x1400cdfe0]
xor ebx, ebx
mov rcx, rdx
call fcn.14004bf20
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.140072280
inc rbx
cmp rcx, rbx
jae 0x140071f3e
mov edi, 1
lea rsi, [0x1400cdfe0]
call fcn.14004c000
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x140109e28]
lea rsi, [0x1401098d0]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.140064960
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.140071ea0
Function at 0x140078450
Capabilities:
Encode data using xor

Disassembly:
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rsp + 0x20]
test rdx, 0xf
jne 0x1400784ca
mov rax, 0
nop word [rax + rax]
nop dword [rax]
movdqu xmm0, xmmword [rsi + rax]
movdqu xmm1, xmmword [rcx + rax]
pxor xmm0, xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x10
cmp rdx, rax
jne 0x140078480
ret
sub rdx, 1
mov dil, byte [rsi + rdx]
mov al, byte [rcx + rdx]
xor dil, al
mov byte [rbx + rdx], dil
test rdx, 7
jne 0x1400784a0
cmp rdx, 0
je 0x1400784ec
test rdx, 0xf
je 0x14007846d
test rdx, 7
jne 0x1400784a0
sub rdx, 8
mov rdi, qword [rsi + rdx]
mov rax, qword [rcx + rdx]
xor rdi, rax
mov qword [rbx + rdx], rdi
cmp rdx, 0x10
jge 0x14007846d
ret
Function at 0x14007b500
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword [rsp + 8]
mov rax, qword [rsp + 0x10]
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rbx]
add rax, 0x10
pxor xmm0, xmm1
sub rcx, 0xc
je 0x14007b53f
jb 0x14007b554
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
add rax, 0x20
movups xmm1, xmmword [rax]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x10]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x20]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x30]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x40]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x50]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x60]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x70]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x80]
aesdec xmm0, xmm1
movups xmm1, xmmword [rax + 0x90]
aesdeclast xmm0, xmm1
movups xmmword [rdx], xmm0
ret
Function at 0x14007b5c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push rbp
mov rbp, rsp
mov rcx, qword [rsp + 0x10]
mov rax, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
add rbx, 0x10
pxor xmm4, xmm4
cmp ecx, 0xc
je 0x14007b694
jb 0x14007b6f3
movups xmm2, xmmword [rax + 0x10]
movups xmmword [rbx], xmm2
add rbx, 0x10
aeskeygenassist xmm1, xmm2, 1
call fcn.14007b4a0
aeskeygenassist xmm1, xmm0, 1
call fcn.14007b4c0
aeskeygenassist xmm1, xmm2, 2
call fcn.14007b4a0
aeskeygenassist xmm1, xmm0, 2
call fcn.14007b4c0
aeskeygenassist xmm1, xmm2, 4
call fcn.14007b4a0
aeskeygenassist xmm1, xmm0, 4
call fcn.14007b4c0
aeskeygenassist xmm1, xmm2, 8
call fcn.14007b4a0
aeskeygenassist xmm1, xmm0, 8
call fcn.14007b4c0
aeskeygenassist xmm1, xmm2, 0x10
call fcn.14007b4a0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.14007b4c0
aeskeygenassist xmm1, xmm2, 0x20
call fcn.14007b4a0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.14007b4c0
aeskeygenassist xmm1, xmm2, 0x40
call fcn.14007b4a0
jmp 0x14007b761
movq xmm2, qword [rax + 0x10]
aeskeygenassist xmm1, xmm2, 1
call fcn.14007b400
aeskeygenassist xmm1, xmm2, 2
call fcn.14007b460
aeskeygenassist xmm1, xmm2, 4
call fcn.14007b400
aeskeygenassist xmm1, xmm2, 8
call fcn.14007b460
aeskeygenassist xmm1, xmm2, 0x10
call fcn.14007b400
aeskeygenassist xmm1, xmm2, 0x20
call fcn.14007b460
aeskeygenassist xmm1, xmm2, 0x40
call fcn.14007b400
aeskeygenassist xmm1, xmm2, 0x80
call fcn.14007b460
jmp 0x14007b761
aeskeygenassist xmm1, xmm0, 1
call fcn.14007b3c0
aeskeygenassist xmm1, xmm0, 2
call fcn.14007b3c0
aeskeygenassist xmm1, xmm0, 4
call fcn.14007b3c0
aeskeygenassist xmm1, xmm0, 8
call fcn.14007b3c0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.14007b3c0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.14007b3c0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.14007b3c0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.14007b3c0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.14007b3c0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.14007b3c0
sub rbx, 0x10
movups xmm1, xmmword [rbx]
movups xmmword [rdx], xmm1
dec rcx
movups xmm1, xmmword [rbx - 0x10]
aesimc xmm0, xmm1
movups xmmword [rdx + 0x10], xmm0
sub rbx, 0x10
add rdx, 0x10
dec rcx
jne 0x14007b76e
movups xmm0, xmmword [rbx - 0x10]
movups xmmword [rdx + 0x10], xmm0
pop rbp
ret
Function at 0x140084f80
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400856bf
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x140084fad
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x140085231
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x14008525d
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x14010b1e0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x1400cdee0]
lea rbx, [0x140109d80]
call fcn.140036a40
inc rax
cmp rax, r8
jge 0x140085282
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x1400852b7
lea rdi, [0x1400cdf60]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x140084fa3
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x14008529b
jmp 0x140085270
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.140064960
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.140084f80

Function at 0x140085860
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x140085877
inc rax
cmp rax, 4
jge 0x14008588f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x140085874
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x1400858a0
inc rax
cmp rax, 4
jge 0x1400858ae
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x1400858d7
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x1400858bb
jmp 0x14008589d
Function at 0x1400a6d00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400a7dc0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400a7dc0
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400a6d70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1402119b4]
mov rbx, rcx
test esi, esi
jle 0x1400a6ea0
mov rax, qword [0x1402119b8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400a6dbb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400a6e45
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400a6da0
mov rcx, rbx
call fcn.1400a77c0
mov rdi, rax
test rax, rax
je 0x1400a6ec2
mov rax, qword [0x1402119b8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1400a7900
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1402119b8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400a6ea7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400a6e3e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400a6e50
add dword [0x1402119b4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1402119b8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400a6e3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400a6d00
nop dword [rax]
xor esi, esi
jmp 0x1400a6dc8
mov rax, qword [0x1402119b8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1400a6d00
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1400a6d00
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400a7430
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140211a20]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140211a00]
test rbx, rbx
je 0x1400a748c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400a7483
test rsi, rsi
je 0x1400a7483
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400a7468
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400a77c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140180d50]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400a77e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400a77e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400a77e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1400a783d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x1400a7834
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400a77e0
add rax, 0x28
cmp rax, r9
jne 0x1400a7820
xor eax, eax
ret

Function at 0x1400a7840
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140180d50]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400a785f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400a7868
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400a785f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x1400a7900
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140180d50]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1400a791f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1400a7928
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001a10
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001a5a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001a5a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001a5a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001a5a
cmp dword [rcx + 0x84], 0xe
jbe 0x140001a5a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001a5c
xor al, al
add rsp, 0x28
ret
Function at 0x140145820
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 0x14014587d
lea rbx, [0x1402020e0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140145864
cmp r10, 2
jb 0x140145864
cmp byte [r9], r8b
jne 0x140145864
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 0x140145840
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1401458bf
lea rbx, [0x1402020e0]
cmp r8b, 0x23
jne 0x1401458a3
cmp byte [r9], r8b
jne 0x1401458a3
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 0x140145890
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140148220
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
lea r11, [0x1402020e0]
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 + 0x4084], ebx
jne 0x1401482b6
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14015b6d0
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140159d00
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 + 0x6000], 0
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
je 0x140159d83
xor edx, edx
add rcx, 0x6008
call fcn.14015c630
mov r8, rsi
lea rcx, [rbx + 0x6008]
mov rdx, rbp
call fcn.140145f10
mov eax, dword [rbx + 0x6008]
xor edx, edx
mov r9, qword [rbx + 0x6000]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rbx + 0x6010]
cmove ecx, edx
test rax, rax
movsxd r8, ecx
mov edx, 1
lea rcx, [0x1402178d0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140159d8f
add rcx, 0x6008
call fcn.140145f10
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140159ff0
Capabilities:
Read file on windows
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 [0x1402178c0]
cmp byte [rbx + 0x5f58], 0
jne 0x14015a0fd
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14015a0f6
lea rdx, [0x140207610]
call fcn.1401458d0
mov rdi, rax
test rax, rax
je 0x14015a0f6
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14015a0ed
xor edx, edx
mov rcx, rdi
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14015a0ed
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14015a0ed
xor r8d, r8d
mov edx, ebp
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14015a0ed
cmp rsi, 0xffffffffffffffff
je 0x14015a0ed
mov rcx, rsi
call fcn.1401487c0
mov rbp, rax
test rax, rax
je 0x14015a0ed
mov r9, rdi
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, rsi
je 0x14015a0cd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rbp
call fcn.140148870
jmp 0x14015a0f6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14015a0e3
mov rdx, rsi
mov rcx, rbp
call fcn.14015a360
mov rcx, rbp
call fcn.140148870
jmp 0x14015a0f6
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov byte [rbx + 0x5f58], 1
movss xmm0, dword [rbx + 0x5f5c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14015a18c
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f5c], xmm0
jb 0x14015a18c
mov rdi, qword [rbx + 0x20]
xor ebp, ebp
test rdi, rdi
je 0x14015a17f
mov rax, qword [0x1402178c0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f5c], ebp
call fcn.14015a5a0
lea rdx, [0x140207614]
mov rcx, rdi
mov rsi, rax
call fcn.1401458d0
mov rdi, rax
test rax, rax
je 0x14015a186
mov r8, qword [rsp + 0x30]
lea edx, [rbp + 1]
mov r9, rax
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 0x14015a186
mov byte [rbx + 0xce], 1
mov dword [rbx + 0x5f5c], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14015a2c0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1402178c0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14015a323
mov qword [rsp], rbx
lea rbx, [0x1402020e0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14015a303
cmp byte [r8], r9b
jne 0x14015a303
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 0x14015a2f0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5f70]
not eax
mov r8, qword [r10 + 0x5f78]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14015a34f
cmp dword [r8 + 8], eax
je 0x14015a356
add r8, 0x48
cmp r8, rcx
jne 0x14015a340
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14016eba0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140217010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x1402178c0]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14016edbe
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14016edbe
mov rdx, qword [0x1402178c8]
mov ecx, 0x50
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], rdi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov r8, qword [0x1402178c0]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14016ec7a
movsx rdx, word [r8 + 0x60d8]
lea rax, [r8 + 0x60dc]
mov r9d, dword [r8 + 0x3f90]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14016ec6f
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 + 0x60d8], cx
movsx rax, cx
lea rax, [rax*8 + 0x60dc]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60d0]
test rdi, rdi
je 0x14016ec97
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 0x14016ec9a
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, str.imgui_impl_win32
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 0x14016ecdd
mov rsi, qword [r8 + 0x90]
jmp 0x14016ece0
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 0x14016ed0b
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x1402178c0]
mov rcx, qword [rax + 0x4b30]
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
mov rcx, qword [rsp + rbx*8 + 0x30]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14016ed7e
inc rbx
cmp rbx, 5
jl 0x14016ed60
jmp 0x14016edaa
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 0x14016edc0
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401e2ec0
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret