joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140025cf0
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 + 0x6000], 0
lea rbx, [rcx + 0x6008]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140025d97
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140025d4a
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.140028720
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000d480
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x6000]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x6010]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14008b560]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140025d9f
mov rcx, rbx
call fcn.14000d480
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400260d0
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 [0x14008b550]
xor ebp, ebp
cmp byte [rbx + 0x5f58], bpl
jne 0x1400261af
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1400261a8
lea r8, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
call fcn.14000cb20
mov rsi, rax
test rax, rax
je 0x1400261a8
mov rdx, qword [rsp + 0x30]
test rdx, rdx
je 0x140026134
mov rcx, rax
call fcn.140026300
mov r8, qword [0x14008b550]
test r8, r8
je 0x14002619f
movsx rdx, word [r8 + 0x60e0]
lea rcx, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f68]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140026194
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 + 0x60e0], cx
movsx rax, cx
lea rcx, [r8 + 0x60e4]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], ebp
inc word [rcx + 6]
inc dword [r8 + 0x60dc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5f58], 1
movss xmm0, dword [rbx + 0x5f5c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x14002623e
subss xmm0, dword [rbx + 0x18]
comiss xmm1, xmm0
movss dword [rbx + 0x5f5c], xmm0
jb 0x14002623e
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x140026231
mov rax, qword [0x14008b550]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rbp
mov dword [rax + 0x5f5c], ebp
call fcn.140026560
lea rdx, [0x14007b28c]
mov rcx, rdi
mov rsi, rax
call fcn.14000c970
mov rdi, rax
test rax, rax
je 0x140026238
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 0x140026238
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 0x140026260
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14008b550]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1400262c3
mov qword [rsp], rbx
lea rbx, [0x140075ac0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400262a3
cmp byte [r8], r9b
jne 0x1400262a3
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 0x140026290
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 0x1400262ef
cmp dword [r8 + 8], eax
je 0x1400262f6
add r8, 0x48
cmp r8, rcx
jne 0x1400262e0
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x14003b840
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x70
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, qword [0x14008b550]
mov rbp, rcx
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003ba5e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003ba5e
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 [0x14008b550]
xor ebx, ebx
mov rdi, rax
test r8, r8
je 0x14003b914
movsx rdx, word [r8 + 0x60e0]
lea rax, [r8 + 0x60e4]
mov r9d, dword [r8 + 0x3f68]
lea rax, [rax + rdx*8]
cmp dword [rax], r9d
je 0x14003b909
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 + 0x60e0], cx
movsx rax, cx
lea rax, [rax*8 + 0x60e4]
add rax, r8
mov dword [rax], r9d
mov dword [rax + 4], ebx
inc word [rax + 4]
inc dword [r8 + 0x60d8]
test rdi, rdi
je 0x14003b931
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 0x14003b934
mov rdi, rbx
or dword [rsi + 0xc], 6
lea rax, [0x14007ba38]
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 0x14003b977
mov rsi, qword [r8 + 0x90]
jmp 0x14003b97a
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 0x14003b9a5
mov dword [rsi + 0x2c], ebx
mov rax, qword [0x14008b550]
mov rcx, qword [rax + 0x4b28]
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 0x14003ba1e
inc rbx
cmp rbx, 5
jl 0x14003ba00
jmp 0x14003ba4a
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 0x14003ba60
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140070840
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rsi
ret
Function at 0x140054460
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x1400544ec
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400544c0
lea r11, [0x140075ac0]
nop
cmp r9b, 0x23
jne 0x1400544a3
cmp byte [r8], r9b
jne 0x1400544a3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140054490
mov rcx, qword [0x14008b550]
not eax
cmp dword [rcx + 0x4074], eax
jne 0x1400544d7
mov dword [rcx + 0x4078], eax
cmp dword [rcx + 0x40a4], eax
jne 0x140054549
mov byte [rcx + 0x40a8], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x14008b550]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x4010]
movsxd rax, dword [rbx + 0x108]
mov r8, qword [rbx + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14000c8c0
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x405c], eax
jne 0x140054542
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.140027460
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14005d190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rcx, qword [0x14008b708]
xor edi, edi
mov rbx, rdx
movq xmm6, r8
test rcx, rcx
jne 0x14005d266
xorps xmm0, xmm0
mov dword [rbp + 7], 0x756f4d38
movups xmmword [rbp + 0x17], xmm0
mov dword [rbp + 0xb], 0x65536573
lea rax, [rbp + 8]
mov dword [rbp + 0xf], 0x63697672
mov r8, 0xffffffffffffffff
mov word [rbp + 0x13], 0x65
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x2f], rdi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], dil
jne 0x14005d210
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x17]
call fcn.140009600
lea r8, [rbp + 0x17]
lea rdx, [rbp + 7]
lea rcx, [0x14008b598]
call fcn.14005cdb0
mov rdx, qword [rbp + 7]
test rdx, rdx
je 0x14005d31b
add rdx, 0xf0
call fcn.14005e730
mov qword [0x14008b708], rax
mov rcx, rax
test rax, rax
je 0x14005d2ef
lea rax, [rcx + 0xdc]
movsd qword [rbp + 7], xmm6
mov qword [rbp + 0x1f], rax
lea rax, [rbp + 7]
mov qword [rbp + 0x27], rax
mov eax, dword [0x14008b228]
mov dword [rbp + 0x38], edi
mov word [rbp + 0x3c], di
mov byte [rbp + 0x3e], dil
mov dword [rbp + 0x17], 0x12b2d92
mov qword [rbp + 0x2f], 8
mov dword [rbp + 0x1b], eax
mov byte [rbp + 0x37], 1
test eax, eax
je 0x14005d2ef
mov rax, qword [0x14008b220]
test rax, rax
je 0x14005d2ef
mov qword [rsp + 0x38], rdi
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x30], rdi
lea r8, [rbp + 0x17]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov qword [rsp + 0x20], rcx
mov edx, 0x224a14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, qword [0x14008b708]
mov qword [rbx], rcx
mov rax, rbx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140070840
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
movdqa xmm0, xmmword [0x14007ce80]
lea rcx, [rbp + 0x18]
movdqu xmmword [rbp + 0x17], xmm0
mov dword [rbp + 0x27], 0x6f6e2065
mov dword [rbp + 0x2b], 0x6f662074
mov dword [rbp + 0x2f], 0x2e646e75
mov word [rbp + 0x33], 0xa
call fcn.14000a270
xor eax, eax
mov qword [rbx], rax
jmp 0x14005d2f2
Function at 0x14005db80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14005dba8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14005dbce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14005dbd0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14005dc29
test ecx, ecx
jle 0x14005dc09
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14005dc29
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14005dc29
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14005dc50
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14005dc72
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14005dc88
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14005dca4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14005dca6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14005dce2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14005dd7e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14005dd1d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14005dd5e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14005dd7e
cmp rbx, rax
ja 0x14005dd30
test rbx, rbx
je 0x14005dd7e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14005e1e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14005e20d
xor eax, eax
jmp 0x14005e379
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14005e247
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14005e247
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14005e379
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14005e36c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14005e28a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14005e2b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14005e371
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14005e324
sub eax, 1
je 0x14005e324
cmp eax, 2
jne 0x14005e36c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14005e371
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14005e352
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14005e36c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14005e371
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140070840
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14005e580
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14005e653
cmp byte [rcx + 0x71], 0
je 0x14005e653
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14005e64f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14005e614
sub eax, 1
je 0x14005e618
cmp eax, 2
jne 0x14005e64f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140070840
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14005e646
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14005e64f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14005e5fc
xor al, al
jmp 0x14005e5fc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140070840
add rsp, 0x60
pop rbx
ret
Function at 0x1400617e0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x14008a040]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
xorps xmm0, xmm0
test eax, eax
js 0x1400618d5
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140061845
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140009150
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1400087c0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400618fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400618ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400618ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070c04
jmp 0x1400618fa
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
xor r8d, r8d
lea rdx, [0x140074bd2]
mov rcx, rbx
call fcn.140009600
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140070840
add rsp, 0x280
pop rbx
ret
Function at 0x14006a8d0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x14006aadb
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
xor rcx, rax
mov qword [rsp + 0x30], rdx
movzx eax, byte [r14 + 0x11]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x14]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x15]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x16]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x17]
imul rcx, r8
xor rcx, rax
mov rax, qword [rsi + 0x30]
imul rcx, r8
and rax, rcx
shl rax, 4
add rax, rdx
mov qword [rsp + 0x20], rax
mov rcx, qword [rax]
mov r15, qword [rax + 8]
mov qword [rsp + 0x28], rcx
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140070c04
dec qword [rsi + 0x10]
cmp rdi, r15
je 0x14006a9e9
cmp rbx, rbp
jne 0x14006a9b0
cmp qword [rsp + 0x28], r14
jne 0x14006aab4
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rbx
jmp 0x14006aab4
mov rcx, qword [rsp + 0x20]
cmp qword [rsp + 0x28], r14
jne 0x14006a9fd
mov qword [rcx], r12
mov rax, r12
jmp 0x14006aa00
mov rax, r13
mov qword [rcx + 8], rax
cmp rbx, rbp
je 0x14006aab4
nop dword [rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x14]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x15]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x16]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x17]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.140070c04
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x14006aae7
cmp rbx, rbp
jne 0x14006aa90
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x14006aa10
jmp 0x14006aab4