joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d080
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rdi, rcx
mov rax, qword [0x140081338]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [rcx + 0x18], 7
jbe 0x14000d0a7
mov rdi, qword [rdi]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test eax, eax
je 0x14000d1d4
mov r14d, ebx
cmp ebx, 0x1000
jb 0x14000d0e0
lea rcx, [r14 + 0x27]
call fcn.140041250
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000d0eb
mov rcx, r14
call fcn.140041250
mov rsi, rax
xor edx, edx
mov rcx, rsi
mov r8, r14
call fcn.1400445c0
mov edx, dword [rsp + 0x28]
mov rcx, rdi
mov r8d, ebx
mov r9, rsi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000d1a3
mov qword [rsp + 0x30], 0
lea rdx, str.VarFileInfoTranslation
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000d1a3
mov r15, qword [rsp + 0x30]
test r15, r15
je 0x14000d1a3
add r14, rsi
mov ecx, 0x38
call fcn.140041250
mov rdi, rax
mov eax, dword [r15]
lea rcx, [0x1400664f0]
mov qword [rdi], rcx
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov qword [rdi + 0x20], rsi
mov dword [rdi + 0x28], eax
mov qword [rsp + 0x30], 0
lea rdx, [0x1400667a2]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x2c]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000d1f2
mov rax, qword [rsp + 0x30]
mov qword [rdi + 0x30], rax
jmp 0x14000d1d6
test rsi, rsi
je 0x14000d1d4
mov rcx, rsi
cmp ebx, 0x1000
jb 0x14000d1cf
test sil, 0x1f
jne 0x14000d1fa
mov rcx, qword [rsi - 8]
cmp rcx, rsi
jae 0x14000d1fa
add rsi, 0xfffffffffffffff8
sub rsi, rcx
cmp rsi, 0x20
jae 0x14000d1fa
call fcn.140041240
xor edi, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140041210
mov rax, rdi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
mov qword [rdi + 0x30], rax
jmp 0x14000d1d6
call fcn.1400476b0
ud2
Function at 0x14000d690
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov r15, r8
mov r13, rdx
mov rdi, rcx
mov rax, qword [0x140081338]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx ebp, word [rcx + 0x2a]
movzx r14d, word [rcx + 0x28]
mov r12, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r12
mov esi, eax
movzx ebx, word [rdi + 0x2a]
movzx eax, word [rdi + 0x28]
mov dword [rsp + 0x40], eax
call r12
mov r12d, eax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r14d
lea r9, str.StringFileInfo_04x_04x_ls
lea rbp, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbp
call fcn.14000d8e0
mov qword [rsp + 0x48], 0
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x44]
mov rdx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000d743
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x14000d865
movzx eax, si
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
lea rsi, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14000d8e0
mov qword [rsp + 0x48], 0
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000d7a3
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x14000d865
mov qword [rsp + 0x30], r13
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
lea rsi, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14000d8e0
mov qword [rsp + 0x48], 0
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000d804
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x14000d865
movzx eax, r12w
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
lea rsi, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.14000d8e0
mov qword [rsp + 0x48], 0
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x48]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000d8d9
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x14000d8d9
mov rcx, rbp
call fcn.1400478b0
mov rsi, rax
mov rax, qword [r15 + 0x18]
cmp rax, rsi
jae 0x14000d889
mov rcx, r15
mov rdx, rsi
mov r9, rbp
call fcn.140001a00
jmp 0x14000d8b0
mov rdi, r15
cmp rax, 8
jb 0x14000d895
mov rdi, qword [r15]
mov qword [r15 + 0x10], rsi
mov r8, rsi
add r8, rsi
mov rcx, rdi
mov rdx, rbp
call fcn.1400440e0
mov word [rdi + rsi*2], 0
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140041210
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x14000d8b3
Function at 0x14000db40
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx], rdx
je 0x14000dbc3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
add rax, 1
cmp rax, 2
jb 0x14000db8e
call fcn.1400226e0
mov r8, qword [rsp + 0x38]
mov rcx, qword [rsi]
mov rdx, rsi
mov r9, rax
call fcn.140022760
mov rcx, qword [rsi]
call fcn.1400226f0
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb case.default.0x14000dbbc
mov qword [rsi], rdi
call fcn.1400226e0
mov r8, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
mov r9, rax
call fcn.140022720
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
rcr byte [rbx], 1
shl byte [rdi - 0x641380b], 0xf0
cmp eax, 0x2b754c38
cmp byte [rbp + rsi*2 + 0x2b], cl
invalid
mov ebp, 0xa5285610

Function at 0x14000e340
Capabilities:
Hash data with crc32

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm8
movapd xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm6
mov r14, r8
mov edi, ecx
cvtsi2sd xmm0, edx
call fcn.14004b5c0
movapd xmm6, xmm0
mov rax, qword [r14]
mov dword [rax + 4], edi
mov rax, qword [r14]
mov rbx, qword [r14 + 8]
sub rbx, rax
sar rbx, 2
lea rcx, [rbx - 1]
cmp rcx, 3
jb 0x14000e41e
add rbx, 0xfffffffffffffffd
mov esi, 8
movdqa xmm8, xmmword [0x1400667b0]
movapd xmm7, xmmword [0x1400667c0]
nop dword [rax]
xorps xmm0, xmm0
cvtsi2sd xmm0, edi
call fcn.14004b5c0
movapd xmm1, xmm6
subsd xmm1, xmm0
movq xmm2, rbx
punpckldq xmm2, xmm8
subpd xmm2, xmm7
pshufd xmm3, xmm2, 0x4e
addpd xmm3, xmm2
divsd xmm1, xmm3
addsd xmm0, xmm1
call fcn.14004baf0
call fcn.14004bef0
cvttsd2si eax, xmm0
cmp edi, eax
jl 0x14000e3fa
add edi, 1
mov eax, edi
mov rcx, qword [r14]
mov dword [rcx + rsi], eax
add rsi, 4
mov edi, eax
add rbx, 0xffffffffffffffff
jne 0x14000e3b0
mov rax, qword [r14]
mov rcx, qword [r14 + 8]
sub rcx, rax
sar rcx, 2
add rcx, 0xffffffffffffffff
mov edx, dword [0x140067080]
mov dword [rax + rcx*4], edx
mov rcx, r14
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140026bf0
Function at 0x140011c80
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r13, r8
mov r14, rdx
mov r15, rcx
movzx eax, byte [r8]
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rcx, rax
movzx edx, byte [r8 + 1]
xor rdx, rcx
imul rdx, rax
movzx ecx, byte [r8 + 2]
xor rcx, rdx
imul rcx, rax
movzx edx, byte [r8 + 3]
xor rdx, rcx
imul rdx, rax
and rdx, qword [r15 + 0x30]
mov rax, qword [r15 + 8]
mov r8, qword [r15 + 0x18]
lea rdi, [rdx + rdx]
add rdi, 1
shl rdx, 4
mov rcx, qword [r8 + rdx]
mov ebx, dword [r13]
mov rdx, rcx
jmp 0x140011d03
mov rdx, qword [rdx]
mov rsi, rcx
cmp rcx, rax
je 0x140011d12
mov rsi, qword [r8 + rdi*8]
mov rsi, qword [rsi]
cmp rsi, rdx
je 0x140011d2b
cmp dword [rdx + 0x10], ebx
jne 0x140011d00
cmp rdx, rax
je 0x140011d2b
mov qword [r14], rdx
mov byte [r14 + 8], 0
jmp 0x140011da0
mov rdi, qword [rax]
mov r12, qword [rdi + 8]
mov ecx, 0x38
call fcn.140041250
mov rsi, rax
test rdi, rdi
mov rax, r12
cmove rax, rsi
mov rcx, rdi
cmove rcx, rsi
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov eax, dword [r13]
mov dword [rsi + 0x10], eax
lea rcx, [rsi + 0x18]
call fcn.140008b90
mov rax, qword [r15 + 0x10]
movabs rcx, 0x492492492492491
cmp rax, rcx
je 0x140011db3
add rax, 1
mov qword [r15 + 0x10], rax
mov qword [rdi + 8], rsi
mov qword [r12], rsi
mov rax, qword [r15 + 8]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
mov rcx, r15
mov rdx, r14
call fcn.140011dd0
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.list_T__too_long
call fcn.140042740
ud2
Function at 0x140012140
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, qword [0x140081338]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r15d, edx
mov rsi, rcx
mov rax, qword [rcx + 0x10]
mov dil, 1
test rax, rax
je 0x1400122ef
cmp rax, 0x103
jbe 0x140012180
xor edi, edi
jmp 0x1400122ef
lea rbp, [rsp + 0x40]
mov rcx, rsi
mov rdx, rbp
call fcn.140009d30
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x58], 7
jbe 0x1400121a2
mov rbp, qword [rsp + 0x40]
test rax, rax
je 0x1400121e1
jle 0x1400121e1
lea rax, [rax*2]
add rax, rbp
mov rbx, rbp
nop word [rax + rax]
movzx ecx, word [rbx]
cmp ecx, 0x3f
je 0x14001230b
movzx ecx, cx
cmp ecx, 0x2a
je 0x14001230b
add rbx, 2
cmp rbx, rax
jb 0x1400121c0
lea rcx, [rsp + 0x40]
call fcn.140008cc0
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x1400121f8
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
je 0x1400122ef
test bl, 1
je 0x14001222e
mov edx, ebx
and edx, 0xfffffffe
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x140012220
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x140012179
test bl, 0x10
jne 0x14001224b
cmp qword [rsi + 0x18], 7
jbe 0x14001223d
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1400122e9
test r15b, r15b
je 0x1400122d6
movaps xmm0, xmmword [0x140066430]
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x40], 0x2a
lea rdx, [rsp + 0x40]
mov r8b, 1
mov rcx, rsi
call fcn.140012370
mov ebx, eax
mov rax, qword [rsp + 0x58]
cmp rax, 8
jb 0x1400122ce
add rax, 1
js 0x140012364
mov rcx, qword [rsp + 0x40]
add rax, rax
cmp rax, 0x1000
jb 0x1400122c9
test cl, 0x1f
jne 0x140012364
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x140012364
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
mov rcx, rax
jae 0x140012364
call fcn.140041240
test bl, bl
je 0x140012179
cmp qword [rsi + 0x18], 7
jbe 0x1400122e0
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140041210
mov eax, edi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
sub rbx, rbp
lea rcx, [rsp + 0x40]
call fcn.140008cc0
cmp rbx, 0xfffffffffffffffe
je 0x1400121eb
lea r14, [rsp + 0x40]
mov rcx, rsi
mov rdx, r14
call fcn.140009d30
lea rbx, [rsp + 0x20]
mov rcx, rsi
mov rdx, rbx
call fcn.140009980
mov rcx, rbx
mov rdx, r14
mov r8d, r15d
call fcn.140012370
mov edi, eax
mov rcx, rbx
call fcn.140008cc0
mov rcx, r14
call fcn.140008cc0
jmp 0x1400122ef
call fcn.1400476b0
ud2
Function at 0x140012370
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x578
mov ebx, r8d
mov r14, rdx
mov rax, rcx
mov rcx, qword [0x140081338]
xor rcx, rsp
mov qword [rsp + 0x570], rcx
mov qword [rsp + 0x20], rdx
lea rdi, [rsp + 0x2a0]
xor r8d, r8d
mov r9d, 3
mov rcx, rdi
mov rdx, rax
call fcn.140029500
lea rsi, [rsp + 0x280]
mov rcx, rdi
mov rdx, rsi
call fcn.140029670
cmp qword [rsp + 0x290], 0
je 0x1400124e7
mov r15b, 1
lea rdi, [rsp + 0x2a0]
lea rbp, [rsp + 0x30]
mov r13, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r12, qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop
mov rcx, rdi
mov rdx, rbp
call fcn.1400295e0
mov edx, dword [rsp + 0x30]
test dl, 1
je 0x140012444
test bl, bl
jne 0x140012428
mov rcx, rbp
call fcn.1400293e0
test al, al
jne 0x140012444
mov edx, dword [rsp + 0x30]
and edx, 0xfffffffe
cmp qword [rsp + 0x298], 7
mov rcx, rsi
jbe 0x140012441
mov rcx, qword [rsp + 0x280]
call r12
mov rcx, rbp
call fcn.1400293e0
test al, al
je 0x140012490
test bl, bl
je 0x1400124b0
mov r8b, 1
mov rcx, rsi
mov rdx, r14
call fcn.140012370
test al, al
je 0x1400124ad
cmp qword [rsp + 0x298], 7
mov rcx, rsi
jbe 0x14001247c
mov rcx, qword [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400124b0
jmp 0x1400124ad
cmp qword [rsp + 0x298], 7
mov rcx, rsi
jbe 0x1400124a6
mov rcx, qword [rsp + 0x280]
call r13
test eax, eax
jne 0x1400124b0
xor r15d, r15d
mov rcx, rbp
call fcn.140025bf0
mov rcx, rdi
mov rdx, rbp
call fcn.140029670
mov rcx, rsi
mov rdx, rbp
call fcn.140008da0
mov rcx, rbp
call fcn.140008cc0
cmp qword [rsp + 0x290], 0
jne 0x140012400
jmp 0x1400124ea
mov r15b, 1
lea rcx, [rsp + 0x280]
call fcn.140008cc0
and r15b, 1
lea rcx, [rsp + 0x2a0]
call fcn.140029530
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.140041210
mov eax, r15d
add rsp, 0x578
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140012530
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 7
jbe 0x14001254d
mov rdx, qword [rdi]
cmp qword [rbx + 0x18], 7
mov rcx, rbx
jbe 0x14001255a
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov bpl, 1
test eax, eax
jne 0x1400125ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14002a170
mov r14d, eax
cmp qword [rbx + 0x18], 7
jbe 0x140012581
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 7
jbe 0x14001258b
mov rdi, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x1400125ca
test rsi, rsi
je 0x1400125c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14002a170
cmp eax, 0xfffffffc
cmovne r14d, eax
mov dword [rsi], r14d
xor ebp, ebp
mov eax, ebp
add rsp, 0x30
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400125e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x1400125ee
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret

Function at 0x140012600
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 7
jbe 0x14001260e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
add rsp, 0x28
ret

Function at 0x140012630
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rcx
mov rax, qword [0x140081338]
xor rax, rsp
mov qword [rsp + 0x288], rax
lea rdi, [rsp + 0x70]
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x102
jbe 0x140012670
xor esi, esi
jmp 0x1400126c2
mov qword [rsp + 0x20], rdi
mov rcx, rdi
call fcn.1400478b0
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140008c10
lea rbx, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.14000ab30
mov rcx, rsi
mov rdx, rbx
call fcn.140008da0
mov rcx, rbx
call fcn.140008cc0
mov rcx, rdi
call fcn.140008cc0
mov sil, 1
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.140041210
mov eax, esi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400126e0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x140081338]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14001274a
movzx eax, word [rsp + 0x70]
test ax, ax
je 0x14001274a
mov qword [rsp + 0x40], rdi
mov rcx, rdi
call fcn.1400478b0
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140008c10
jmp 0x14001279e
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.140008b90
mov rcx, rdi
call fcn.140012630
test al, al
je 0x140012772
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140008bd0
jmp 0x140012794
lea rax, [0x140066c48]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140008c10
lea rcx, [rsp + 0x50]
call fcn.140008cc0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140041210
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x140012ca0
Capabilities:
Check if file exists
Create directory

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140081338]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 0x18], 7
mov r15, rcx
jbe 0x140012ccd
mov r15, qword [rdi]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012cf8
mov bl, 1
test al, 0x10
jne 0x140012dca
test r14, r14
je 0x140012cf1
mov dword [r14], 0xfffffff7
xor ebx, ebx
jmp 0x140012dca
lea rsi, [rsp + 0x28]
mov rcx, rdi
mov rdx, rsi
call fcn.140009980
mov rax, qword [rdi + 0x10]
cmp qword [rsp + 0x38], rax
jne 0x140012d61
test rax, rax
je 0x140012d53
cmp qword [rdi + 0x18], 7
mov rcx, rdi
jbe 0x140012d25
mov rcx, qword [rdi]
cmp qword [rsp + 0x40], 7
jbe 0x140012d32
mov rsi, qword [rsp + 0x28]
xor edx, edx
nop word cs:[rax + rax]
nop
movzx ebx, word [rsi + rdx*2]
cmp bx, word [rcx + rdx*2]
jne 0x140012d61
add rdx, 1
cmp rax, rdx
jne 0x140012d40
test r14, r14
je 0x140012dbe
mov dword [r14], 0xfffffffc
jmp 0x140012dbe
lea rcx, [rsp + 0x28]
mov rdx, r14
call fcn.140012ca0
test al, al
je 0x140012dbe
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x140012dc0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0xb7
jne 0x140012daf
cmp qword [rdi + 0x18], 7
jbe 0x140012d9c
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140012daf
and eax, 0x10
jne 0x140012dc0
test r14, r14
je 0x140012dbe
mov ecx, esi
call fcn.14002a170
mov dword [r14], eax
xor ebx, ebx
lea rcx, [rsp + 0x28]
call fcn.140008cc0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140041210
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14001d820
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rax, qword [0x140081338]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov dil, 1
cmp qword [rcx + 0x68], 0
je 0x14001d9dc
cmp byte [rsi + 0x71], 0
je 0x14001d9dc
mov rax, qword [rsi]
mov edx, 0xffffffff
mov rcx, rsi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001d992
movaps xmm0, xmmword [0x140066ed0]
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x30], 0
mov byte [rsp + 0x38], 0
lea r14, [rsi + 0x74]
mov eax, 0xf
xor r8d, r8d
mov r9d, 8
lea r15, [rsp + 0x30]
lea r12, [rsp + 0x28]
jmp 0x14001d8bf
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
cmp rax, 0xf
cmovbe r8, r15
mov rcx, qword [rsi + 0x68]
add r9, r8
mov rax, qword [rcx]
mov qword [rsp + 0x20], r12
mov rdx, r14
call qword [rax + 0x40]
mov dil, 1
test eax, eax
je 0x14001d8f0
cmp eax, 1
je 0x14001d8f4
jmp 0x14001d996
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
cmp qword [rsp + 0x48], 0xf
mov rcx, r15
jbe 0x14001d909
mov rcx, qword [rsp + 0x30]
sub rbx, rcx
je 0x14001d927
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8, rbx
call fcn.14004c9d0
cmp rbx, rax
jne 0x14001d99b
cmp byte [rsi + 0x71], 0
je 0x14001d99d
test rbx, rbx
jne 0x14001d8b0
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
mov rdx, rcx
sub rdx, rax
cmp rdx, 8
jae 0x14001d969
mov byte [rsp + 0x20], 0
mov edx, 8
mov r9d, 8
mov rcx, r15
call fcn.14000ca60
jmp 0x14001d8b0
lea rdx, [rax + 8]
mov qword [rsp + 0x40], rdx
mov rdx, r15
cmp rcx, 0xf
jbe 0x14001d980
mov rdx, qword [rsp + 0x30]
mov qword [rdx + rax], 0
mov byte [rdx + rax + 8], 0
jmp 0x14001d8b0
xor edi, edi
jmp 0x14001d9dc
cmp eax, 3
je 0x14001d99d
xor edi, edi
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x14001d9dc
mov rcx, qword [rsp + 0x30]
add rax, 1
cmp rax, 0x1000
jb 0x14001d9d7
test cl, 0x1f
jne 0x14001d9f9
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x14001d9f9
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
mov rcx, rax
jae 0x14001d9f9
call fcn.140041240
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140041210
mov eax, edi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400476b0
ud2
Function at 0x140024950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r12, r8
mov r15, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
jbe 0x140024972
mov r12, qword [r12]
movabs rbx, 0xcbf29ce484222325
test r15, r15
mov qword [rsp + 0x20], rdx
je 0x1400249a5
movabs rax, 0x100000001b3
lea rdx, [r15 - 1]
mov r8d, r15d
and r8d, 3
cmp rdx, 3
jae 0x1400249aa
xor esi, esi
jmp 0x1400249fc
mov rdx, rbx
jmp 0x140024a27
mov rbp, r15
sub rbp, r8
xor esi, esi
nop word cs:[rax + rax]
nop dword [rax]
movzx edx, byte [r12 + rsi]
xor rdx, rbx
imul rdx, rax
movzx ebx, byte [r12 + rsi + 1]
xor rbx, rdx
imul rbx, rax
movzx edx, byte [r12 + rsi + 2]
xor rdx, rbx
imul rdx, rax
movzx ebx, byte [r12 + rsi + 3]
xor rbx, rdx
imul rbx, rax
add rsi, 4
cmp rbp, rsi
jne 0x1400249c0
mov rdx, rbx
test r8, r8
je 0x140024a27
add rsi, r12
xor ebp, ebp
nop dword [rax]
movzx edx, byte [rsi + rbp]
xor rdx, rbx
imul rdx, rax
add rbp, 1
mov rbx, rdx
cmp r8, rbp
jne 0x140024a10
and rdx, qword [rcx + 0x30]
mov rbx, qword [rcx + 8]
mov r13, qword [rcx + 0x18]
mov rax, rdx
shl rax, 4
mov rbp, qword [r13 + rax]
lea r14, [rdx + rdx]
add r14, 1
mov rdi, rbp
cmp rbp, rbx
jne 0x140024a68
jmp 0x140024a90
mov rdi, qword [rdi]
cmp rbp, rbx
je 0x140024a90
mov rax, qword [r13 + r14*8]
mov rax, qword [rax]
cmp rax, rdi
je 0x140024ac8
cmp qword [rdi + 0x20], r15
jne 0x140024a60
cmp qword [rdi + 0x28], 0xf
jbe 0x140024aa0
mov rsi, qword [rdi + 0x10]
jmp 0x140024aa4
mov rax, rbx
cmp rax, rdi
jne 0x140024a75
jmp 0x140024ac8
lea rsi, [rdi + 0x10]
mov rcx, rsi
mov rdx, r12
mov r8, r15
call fcn.140044780
test eax, eax
jne 0x140024a60
mov rcx, r12
mov rdx, rsi
mov r8, r15
call fcn.140044780
test eax, eax
je 0x140024ae1
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x20]
mov qword [rax], rdi
jmp 0x140024ad0

Function at 0x140026b60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
mov r8, qword [rcx]
mov rax, qword [rcx + 8]
sub rax, r8
mov r9, rax
sar r9, 2
test rax, rax
je 0x140026be1
xor r11d, r11d
lea r10, [0x140067580]
mov edx, r9d
nop word cs:[rax + rax]
nop
mov eax, dword [r8 + r11*4]
mov esi, eax
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 8
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
mov esi, eax
shr esi, 0x10
xor esi, edx
movzx esi, sil
shr edx, 8
xor edx, dword [r10 + rsi*4]
movzx esi, dl
shr eax, 0x18
xor eax, esi
shr edx, 8
xor edx, dword [r10 + rax*4]
add r11, 1
cmp r11, r9
jb 0x140026b90
jmp 0x140026be4
mov edx, r9d
cmp edx, dword [rcx + 0x18]
sete al
pop rsi
ret