joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140050804
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140050824
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400427cc
or eax, 0xffffffff
jmp 0x140050826
xor eax, eax
add rsp, 0x28
ret

Function at 0x140051bc4
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140051bda
mov al, 1
jmp 0x140051c3a
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140051beb
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140051c38
mov ecx, dword [rcx + 0x18]
nop
call fcn.140051818
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140051c38
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140051c38
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140051c38
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140051c3a
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x1400528d4
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140039390
sub rsp, rax
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140044008
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140052923
mov rax, rbp
jmp 0x140052a2b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x875f0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140051fa0
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x875f0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140052a27
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140052a27
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140051fa0
test rax, rax
js 0x140052a27
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140052a27
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140052a19
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140052a19
cmp byte [rcx], 0xd
jne 0x1400529ff
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140052a0e
cmp byte [rcx + 1], 0xa
jne 0x140052a0e
inc rcx
jmp 0x140052a0e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x826b0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400529e1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140052a2b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140038a00
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140052bc0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400875f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140052c17
cmp word [rdx], r13w
jne 0x140052c17
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140052c1c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140052d41
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140052d62
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140052c55
mov rdx, r9
mov word [rbx], cx
jmp 0x140052c7c
cmp r9, r8
jae 0x140052c8c
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140052c36
jmp 0x140052d41
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140052d36
cmp dword [rsp + 0x80], esi
je 0x140052d36
lea r8, [0x1400875f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140052d0e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140052cde
mov word [rbx], r13w
jmp 0x140052d3e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140052ceb
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x140052d3e
cmp word [rsp + 0x70], r13w
jne 0x140052d1b
cmp rbx, r14
je 0x140052cd8
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140051fa8
cmp word [rsp + 0x70], r13w
je 0x140052d41
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400875f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x140052d3b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140052d41
Function at 0x140055db8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140055e3f
mov rsi, rbx
cmp word [rax], bp
je 0x140055dfe
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140055de8
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140055de4
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14004bae0
mov rdi, rax
test rax, rax
je 0x140055e2c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14005e240
mov rbp, rdi
xor ecx, ecx
call fcn.14004baa4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140058a68
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14004beb8
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140058b09
cmp ebx, dword [rsp + 0x30]
je 0x140058b02
test esi, esi
je 0x140058b02
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x140058add
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140058aea
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x140058ac7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140058aee
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140058b0b
mov eax, 1
jmp 0x140058b0b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14005bd68
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x14005bdb2
call fcn.140042838
mov dword [rax], 0xf
call fcn.140042858
mov dword [rax], 0xd
call fcn.140042e1c
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140038a00
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14005bdbd
lea eax, [rbx + 1]
jmp 0x14005bd9f
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x14005bd9d
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x14005bd9f
Function at 0x14005d3fc
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.140051fa8
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140051fa8
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14005d54c
cmp rax, 0xffffffffffffffff
je 0x14005d54c
xor edi, edi
test rbp, rbp
jle 0x14005d4f7
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14004ba2c
mov rbx, rax
test rax, rax
jne 0x14005d484
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14005d4ed
mov edx, 0x8000
mov ecx, r14d
call fcn.140049678
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.1400500f8
cmp eax, 0xffffffff
je 0x14005d4cd
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14005d494
mov edx, r15d
mov ecx, r14d
call fcn.140049678
jmp 0x14005d4ed
cmp byte [rsi + 0x38], dil
je 0x14005d4e4
cmp dword [rsi + 0x34], 5
jne 0x14005d4e4
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14005d4ed
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14004baa4
jmp 0x14005d560
jns 0x14005d560
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140051fa8
cmp rax, 0xffffffffffffffff
jne 0x14005d518
cmp byte [rsi + 0x30], dil
je 0x14005d560
mov edi, dword [rsi + 0x2c]
jmp 0x14005d560
mov ecx, r14d
call fcn.140051818
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14005d560
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 0x14005d560
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14005d559
mov eax, dword [rsi + 0x2c]
jmp 0x14005d55e
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140051fa8
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 0x14005de50
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14005de78
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14005de78
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400030c0
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 0x14000311d
lea rbx, [0x140115d90]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003104
cmp r10, 2
jb 0x140003104
cmp byte [r9], r8b
jne 0x140003104
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 0x1400030e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000315f
lea rbx, [0x140115d90]
cmp r8b, 0x23
jne 0x140003143
cmp byte [r9], r8b
jne 0x140003143
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 0x140003130
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003320
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 0x14000333e
mov qword [r8], r14
lea rdx, [0x140115890]
call fcn.140003170
mov rbx, rax
test rax, rax
jne 0x140003363
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 0x14000348f
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 0x14000348f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000348f
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 0x14000348f
cmp rdi, 0xffffffffffffffff
je 0x14000348f
mov rcx, rdi
call fcn.140009cb0
mov rbp, rax
test rax, rax
je 0x14000348f
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 0x14000347c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140167bf8]
test r8, r8
je 0x140003471
movsx rdx, word [r8 + 0x5488]
lea rcx, [r8 + 0x548c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140003466
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 + 0x5488], cx
movsx rax, cx
lea rcx, [r8 + 0x548c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x5484]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140003498
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000348a
mov qword [rsi], rdi
mov rax, rbp
jmp 0x14000349a
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 0x14000d130
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rdi, qword [0x140167bf8]
mov ebp, edx
movaps xmmword [rsp + 0x30], xmm6
mov r10, rcx
mov rbx, qword [rdi + 0x40a0]
mov esi, dword [rbx + 0x14]
and esi, 4
or esi, 0x1000103
cmp qword [rbx + 0x1c0], 0
jne 0x14000d181
cmp qword [rdi + 0x4ec0], 0
lea rax, [rbx + 0x268]
je 0x14000d188
lea rax, [rbx + 0x238]
movss xmm2, dword [rax]
lea rcx, [rsp + 0x60]
movss xmm3, dword [rax + 4]
subss xmm3, dword [rbx + 0x11c]
subss xmm2, dword [rbx + 0x118]
mov rdx, qword [r8]
call fcn.140017cf0
mov eax, dword [rdi + 0x4ac0]
test al, 2
je 0x14000d1ea
test byte [rdi + 0x4ac8], 1
je 0x14000d1ea
movss xmm0, dword [rdi + 0x4ae0]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14000d1d7
movss dword [rsp + 0x60], xmm0
movss xmm0, dword [rdi + 0x4ae4]
comiss xmm0, xmm1
jbe 0x14000d1ea
movss dword [rsp + 0x64], xmm0
movsd xmm0, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
movsd qword [rdi + 0x4ae0], xmm0
or eax, 0x102
mov dword [rdi + 0x4ac8], 1
xor r14d, r14d
xor edx, edx
mov dword [rdi + 0x4ac0], eax
mov dword [rdi + 0x4af8], r14d
mov r9, qword [rbx + 8]
test r10, r10
je 0x14000d23e
mov dword [rsp + 0x28], ebp
lea r8, str._s__s__08X
mov qword [rsp + 0x20], r10
call fcn.140002f20
jmp 0x14000d24e
lea r8, str._s__08X
mov dword [rsp + 0x20], ebp
call fcn.140002f20
movss xmm6, dword [rdi + 0x3958]
mov r8d, esi
mov rcx, qword [rsp + 0x60]
xor edx, edx
mov dword [rdi + 0x3958], r14d
call fcn.140010420
mov rsi, qword [rdi + 0x40a0]
movzx r14d, al
movss dword [rdi + 0x3958], xmm6
cmp word [rsi + 0xd8], 1
mov dword [rsi + 0x90], ebp
jne 0x14000d29c
movsd xmm0, qword [rsi + 0x28]
movsd qword [rbx + 0x118], xmm0
mov r9d, ebp
lea rdx, [0x140114601]
not r9d
lea r10, [0x140115d90]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x14000d2c9
cmp byte [rdx], r8b
jne 0x14000d2c9
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 0x14000d2b6
not ebx
cmp dword [rdi + 0x4114], ebx
jne 0x14000d2f5
call fcn.140009530
cmp dword [rdi + 0x4bec], ebp
jne 0x14000d33a
cmp word [rsi + 0x174], 0
jne 0x14000d310
cmp byte [rsi + 0x17a], 0
je 0x14000d33a
xor edx, edx
mov rcx, rsi
call fcn.140012fa0
xor edx, edx
mov rcx, rsi
call fcn.14001aab0
mov rdx, rsi
mov ecx, ebx
call fcn.1400093d0
mov eax, dword [rdi + 0x4c20]
mov dword [rdi + 0x4140], eax
mov rbx, qword [rsp + 0x68]
movzx eax, r14b
mov rbp, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x140013b60
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x108]
lea r11, [0x140115d90]
mov rax, qword [rcx + 0x110]
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
sar eax, 8
movzx edx, al
mov eax, r10d
xor ebx, dword [r11 + r8*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
sar eax, 0x10
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
mov eax, r10d
xor rdx, rcx
sar eax, 0x18
xor ebx, dword [r11 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
mov rcx, qword [r9]
xor ebx, dword [r11 + rdx*4]
not ebx
cmp dword [rcx + 0x40f8], ebx
jne 0x140013bf8
mov r8, r10
mov edx, 4
mov ecx, ebx
call fcn.14001f710
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x14001df50
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 + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001dff7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001dfaa
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.140020b90
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400039a0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140167bf0]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001dfff
mov rcx, rbx
call fcn.1400039a0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001e320
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 [0x140167bf8]
xor ebp, ebp
cmp byte [rbx + 0x52a8], bpl
jne 0x14001e3ff
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001e3f8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.140003320
mov rsi, rax
test rax, rax
je 0x14001e3f8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x14001e384
mov rcx, rax
call fcn.14001e550
mov r8, qword [0x140167bf8]
test r8, r8
je 0x14001e3ef
movsx rdx, word [r8 + 0x5488]
lea rcx, [r8 + 0x548c]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14001e3e4
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 + 0x5488], cx
movsx rax, cx
lea rcx, [r8 + 0x548c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x5484]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x52a8], 1
movss xmm0, dword [rbx + 0x52ac]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14001e48e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x52ac], xmm0
jb 0x14001e48e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x14001e481
mov rax, qword [0x140167bf8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x52ac], ebp
call fcn.14001e7b0
lea rdx, [0x140115894]
mov rcx, rdi
mov rsi, rax
call fcn.140003170
mov rdi, rax
test rax, rax
je 0x14001e488
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 0x14001e488
mov byte [rbx + 0xb4], 1
mov dword [rbx + 0x52ac], ebp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14001e4b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x140167bf8]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14001e513
mov qword [rsp], rbx
lea rbx, [0x140115d90]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001e4f3
cmp byte [r8], r9b
jne 0x14001e4f3
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 0x14001e4e0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x52c0]
not eax
mov r8, qword [r10 + 0x52c8]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x14001e53f
cmp dword [r8 + 8], eax
je 0x14001e546
add r8, 0x48
cmp r8, rcx
jne 0x14001e530
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x1400334c0
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x140162900]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x140167bf8]
mov rbp, rcx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400336df
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400336df
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 [0x140167bf8]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x140033594
movsx rdx, word [r8 + 0x5488]
lea rax, [r8 + 0x548c]
mov r9d, dword [r8 + 0x3fe8]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x140033589
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 + 0x5488], cx
movsx rax, cx
lea rax, [rax*8 + 0x548c]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x5480]
test rdi, rdi
je 0x1400335b1
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 0x1400335b4
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x140146e48]
mov qword [rsi + 0x88], rax
mov qword [rsi + 0x98], rdi
mov qword [rdi], rbp
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x38]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
test r8, r8
je 0x1400335f7
mov rsi, qword [r8 + 0x98]
jmp 0x1400335fa
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 0x140033625
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x140167bf8]
mov rcx, qword [rax + 0x4bd0]
mov rax, qword [rdi]
mov rdx, qword [rcx]
mov qword [rdx + 0x30], rax
mov qword [rdx + 0x28], rax
lea rax, str.xinput1_4.dll
mov qword [rsp + 0x40], rax
lea rax, str.xinput1_3.dll
mov qword [rsp + 0x48], rax
lea rax, str.xinput9_1_0.dll
mov qword [rsp + 0x50], rax
lea rax, str.xinput1_2.dll
mov qword [rsp + 0x58], rax
lea rax, str.xinput1_1.dll
mov qword [rsp + 0x60], rax
mov byte [rdi + 0x31], 1
mov rcx, qword [rsp + rbx*8 + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x14003369f
inc rbx
cmp rbx, 5
jl 0x140033681
jmp 0x1400336cb
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 0x1400336e1
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400e1010
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret