joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1fc376ec0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x38
movups xmmword [rsp], xmm6
movups xmmword [rsp + 0x10], xmm7
movups xmmword [rsp + 0x20], xmm8
movdqu xmm6, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm5, xmmword [rcx + 0x30]
movd xmm0, r8d
lea rax, [rdx - 0x40]
pxor xmm0, xmm6
cmp rax, 0x3f
jle 0x1fc377100
lea r8, [rdx - 0x80]
movdqu xmm4, xmmword [0x1fc3c4860]
lea rax, [rcx + 0x40]
mov rdx, r8
and rdx, 0xffffffffffffffc0
lea rdx, [rcx + rdx + 0x80]
nop dword [rax]
movdqu xmm7, xmm3
movdqu xmm6, xmm2
movdqu xmm1, xmm5
add rax, 0x40
movdqu xmm8, xmm0
pclmulqdq xmm7, xmm4, 0
pclmulqdq xmm6, xmm4, 0
pclmulqdq xmm8, xmm4, 0
pclmulqdq xmm5, xmm4, 0x11
pclmulqdq xmm1, xmm4, 0
pclmulqdq xmm0, xmm4, 0x11
pclmulqdq xmm3, xmm4, 0x11
pclmulqdq xmm2, xmm4, 0x11
pxor xmm0, xmm8
pxor xmm3, xmm7
pxor xmm2, xmm6
movdqu xmm8, xmmword [rax - 0x40]
pxor xmm1, xmm5
movdqu xmm7, xmmword [rax - 0x30]
movdqu xmm6, xmmword [rax - 0x20]
movdqu xmm5, xmmword [rax - 0x10]
pxor xmm0, xmm8
pxor xmm3, xmm7
pxor xmm2, xmm6
pxor xmm5, xmm1
cmp rax, rdx
jne 0x1fc376f20
mov rax, r8
shr rax, 6
lea rdx, [rax + 2]
shl rax, 6
mov r9, rax
mov rax, r8
shl rdx, 6
sub rax, r9
movdqu xmm1, xmmword [0x1fc3c4850]
movdqu xmm4, xmm0
pclmulqdq xmm4, xmm1, 0
pclmulqdq xmm0, xmm1, 0x11
pxor xmm0, xmm4
pxor xmm3, xmm0
movdqu xmm0, xmm3
pclmulqdq xmm3, xmm1, 0x11
pclmulqdq xmm0, xmm1, 0
pxor xmm3, xmm0
pxor xmm2, xmm3
movdqu xmm3, xmm2
pclmulqdq xmm2, xmm1, 0x11
pclmulqdq xmm3, xmm1, 0
movdqu xmm0, xmm2
pxor xmm0, xmm3
pxor xmm0, xmm5
cmp rax, 0xf
jle 0x1fc377081
movdqu xmm2, xmm0
movdqu xmm7, xmmword [rcx + rdx]
pclmulqdq xmm0, xmm1, 0x11
pclmulqdq xmm2, xmm1, 0
pxor xmm0, xmm2
pxor xmm0, xmm7
cmp rax, 0x1f
jle 0x1fc377081
movdqu xmm2, xmm0
movdqu xmm7, xmmword [rcx + rdx + 0x10]
pclmulqdq xmm0, xmm1, 0x11
pclmulqdq xmm2, xmm1, 0
pxor xmm0, xmm2
pxor xmm0, xmm7
cmp rax, 0x2f
jle 0x1fc377081
movdqu xmm2, xmm0
movdqu xmm3, xmmword [rcx + rdx + 0x20]
pclmulqdq xmm0, xmm1, 0x11
pclmulqdq xmm2, xmm1, 0
pxor xmm0, xmm2
pxor xmm0, xmm3
movdqu xmm2, xmm0
psrldq xmm0, 8
movups xmm6, xmmword [rsp]
movdqu xmm3, xmmword [0x1fc3c4890]
pclmulqdq xmm2, xmm1, 0x10
movups xmm7, xmmword [rsp + 0x10]
movups xmm8, xmmword [rsp + 0x20]
pxor xmm2, xmm0
movdqu xmm1, xmm2
movdqu xmm0, xmm2
movdqu xmm2, xmmword [0x1fc3c4870]
psrldq xmm0, 4
pand xmm1, xmm2
pclmulqdq xmm1, xmmword [0x1fc3c4880], 0
pxor xmm1, xmm0
movdqu xmm0, xmm1
pand xmm0, xmm2
pclmulqdq xmm0, xmm3, 0x10
pand xmm0, xmm2
pclmulqdq xmm0, xmm3, 0
pxor xmm0, xmm1
pextrd eax, xmm0, 1
add rsp, 0x38
ret
mov edx, 0x40
jmp 0x1fc376fc2
Function at 0x1fc377110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rsi
push rbx
test rdx, rdx
mov eax, r8d
lea r8, [rdx + 7]
mov r9, rcx
cmovns r8, rdx
mov r10, rdx
xor r11d, r11d
lea rcx, [0x1fc3c48a0]
sar r8, 3
cmp rdx, 7
jle 0x1fc3771f8
nop
mov ebx, dword [r9 + r11*8 + 4]
xor eax, dword [r9 + r11*8]
add r11, 1
mov esi, ebx
movzx edx, bl
shr esi, 0x18
mov edx, dword [rcx + rdx*4 + 0xc00]
xor edx, dword [rcx + rsi*4]
movzx esi, al
xor edx, dword [rcx + rsi*4 + 0x1c00]
mov esi, eax
shr esi, 0x18
xor edx, dword [rcx + rsi*4 + 0x1000]
movzx esi, bh
shr ebx, 0x10
movzx ebx, bl
mov esi, esi
xor edx, dword [rcx + rsi*4 + 0x800]
xor edx, dword [rcx + rbx*4 + 0x400]
movzx ebx, ah
shr eax, 0x10
movzx eax, al
mov ebx, ebx
xor edx, dword [rcx + rbx*4 + 0x1800]
xor edx, dword [rcx + rax*4 + 0x1400]
mov eax, edx
cmp r8, r11
jg 0x1fc377140
shl r8, 3
mov edx, 8
cmp r10, 7
cmovle r8, rdx
cmp r10, r8
jle 0x1fc3771f0
add r8, r9
lea rcx, [0x1fc3c48a0]
add r9, r10
nop dword [rax]
movzx edx, byte [r8]
add r8, 1
xor edx, eax
shr eax, 8
movzx edx, dl
xor eax, dword [rcx + rdx*4]
cmp r9, r8
jne 0x1fc3771d8
pop rbx
pop rsi
ret
xor r8d, r8d
jmp 0x1fc3771bf
Function at 0x1fc39b040
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.1fc3a4eb0
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.1fc3a4eb0
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 0x1fc39b0b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1fc3d9f24]
mov rbx, rcx
test esi, esi
jle 0x1fc39b1e0
mov rax, qword [0x1fc3d9f28]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1fc39b0fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1fc39b185
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1fc39b0e0
mov rcx, rbx
call fcn.1fc39b910
mov rdi, rax
test rax, rax
je 0x1fc39b202
mov rax, qword [0x1fc3d9f28]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.1fc39ba50
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1fc3d9f28]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1fc39b1e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1fc39b17e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1fc39b190
add dword [0x1fc3d9f24], 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 [0x1fc3d9f28]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1fc39b17e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1fc39b040
nop dword [rax]
xor esi, esi
jmp 0x1fc39b108
mov rax, qword [0x1fc3d9f28]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.1fc39b040
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.1fc39b040
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1fc39b580
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1fc3d9f60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1fc3d9f40]
test rbx, rbx
je 0x1fc39b5dc
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 0x1fc39b5d3
test rsi, rsi
je 0x1fc39b5d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1fc39b5b8
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 0x1fc39b910
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1fc3cd730]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1fc39b930
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1fc39b938
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1fc39b930
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x1fc39b98d
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 0x1fc39b984
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1fc39b930
add rax, 0x28
cmp rax, r9
jne 0x1fc39b970
xor eax, eax
ret

Function at 0x1fc39b990
Capabilities:
Parse pe header

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

Function at 0x1fc39ba50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1fc3cd730]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x1fc39ba6f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x1fc39ba78
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140003cd0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1400a2318]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x1400a47d8], 0
je 0x140003cf5
xor esi, esi
jmp 0x140003db5
mov ecx, 0x30
call fcn.14005a670
mov rsi, rax
mov ecx, 0x20
call fcn.14005a670
mov qword [rsi], rax
lea rcx, [rax + 0x20]
mov qword [rsi + 0x10], rcx
mov edx, 7
movq xmm0, rdx
pslldq xmm0, 8
movdqu xmmword [rax + 0x10], xmm0
mov word [rax], 0
mov qword [rsi + 8], rcx
mov qword [rsi + 0x20], 0
mov ecx, 0x60
call fcn.14005a670
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x28], 1
mov qword [0x1400a47d8], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140003d9e
cmp word [rax], 0
je 0x140003d9e
xor ecx, ecx
nop word cs:[rax + rax]
nop dword [rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140003d90
jmp 0x140003da0
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.140003dd0
mov sil, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005aa40
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x140003dd0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
lea rbp, [rsp + 0x80]
movdqa xmmword [rbp + 0x20], xmm7
movaps xmmword [rbp + 0x10], xmm6
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1400a2318]
xor rax, rbp
mov qword [rbp + 8], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x18]
lea rdx, [rbp - 0x30]
mov r8d, 3
call fcn.140020e60
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x140003f9d
mov dword [rbp - 0x34], 0
mov rcx, qword [rsi]
lea rdx, [rbp - 0x34]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
xorps xmm0, xmm0
movaps xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0
movsxd rax, dword [rbp - 0x34]
test rax, rax
js 0x140003fcc
test eax, eax
je 0x140003f7d
lea rdi, [r15 + rax*8]
lea rbx, [rbp - 0x18]
lea r13, [rbp - 0x60]
lea r12, [rbp - 0x50]
xorps xmm6, xmm6
mov eax, 7
movq xmm7, rax
pslldq xmm7, 8
mov rsi, r15
nop word cs:[rax + rax]
nop
mov rax, qword [rsi]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140003ed0
cmp word [rax], 0
je 0x140003ed0
xor ecx, ecx
nop word cs:[rax + rax]
nop
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140003ec0
jmp 0x140003ed2
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov rcx, rbx
mov rdx, r13
call fcn.140017010
mov rax, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
cmp rdx, rax
je 0x140003f20
movups xmmword [rax + 0x10], xmm6
movups xmm0, xmmword [rbp - 0x18]
movups xmm1, xmmword [rbp - 8]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
movdqu xmmword [rbp - 8], xmm7
mov word [rbp - 0x18], 0
add rax, 0x20
mov qword [rbp - 0x48], rax
jmp 0x140003f70
mov rcx, r12
mov r8, rbx
call fcn.140006900
mov rax, qword [rbp]
cmp rax, 8
jb 0x140003f70
mov rcx, qword [rbp - 0x18]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x140003f68
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x140003fc5
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14005a6e0
nop dword [rax]
add rsi, 8
cmp rsi, rdi
jne 0x140003ea0
lea rsi, [rbp - 0x50]
mov rcx, r14
mov rdx, rsi
call fcn.140003b10
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call fcn.140007090
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.14005aa40
movaps xmm6, xmmword [rbp + 0x10]
movaps xmm7, xmmword [rbp + 0x20]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call fcn.140066430
ud2
int3
Function at 0x1400083e0
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x1400a2318]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rdx, str.CreateFileVersionInfoWin
lea r8, str..._.._base_file_version_info_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r9d, 0x50
call fcn.140021a10
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.140021c90
cmp qword [rsi + 0x18], 7
jbe 0x14000843c
mov rsi, qword [rsi]
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14000846f
mov ebp, eax
mov edi, eax
cmp eax, 0x1000
jb 0x14000847b
lea rcx, [rdi + 0x27]
call fcn.14005a670
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140008486
mov qword [r14], 0
jmp 0x14000857c
mov rcx, rdi
call fcn.14005a670
mov rbx, rax
mov rcx, rbx
xor edx, edx
mov r8, rdi
call fcn.14005f150
mov edx, dword [rsp + 0x2c]
mov rcx, rsi
mov r8d, ebp
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000853a
mov qword [rsp + 0x30], 0
lea rdx, str.VarFileInfoTranslation
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x6c]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000853a
mov r15, qword [rsp + 0x30]
test r15, r15
je 0x14000853a
add rdi, rbx
mov ecx, 0x38
call fcn.14005a670
mov rsi, rax
mov eax, dword [r15]
lea rcx, [0x14007e580]
mov qword [rsi], rcx
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rbx
mov dword [rsi + 0x28], eax
mov qword [rsp + 0x30], 0
lea rdx, [0x14007e870]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x6c]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140008573
mov rax, qword [rsp + 0x30]
jmp 0x140008575
mov qword [r14], 0
test rbx, rbx
je 0x14000857c
cmp ebp, 0x1000
jb 0x140008566
mov rax, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x1400085a3
add rdi, 0x27
mov rbx, rax
mov rcx, rbx
mov rdx, rdi
call fcn.14005a6e0
jmp 0x14000857c
xor eax, eax
mov qword [rsi + 0x30], rax
mov qword [r14], rsi
lea rcx, [rsp + 0x50]
call fcn.140021dc0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14005aa40
mov rax, r14
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140066430
ud2
Function at 0x140009430
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 [0x1400a2318]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx ebp, word [rcx + 0x28]
movzx r14d, word [rcx + 0x2a]
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], r14d
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
lea rbp, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rbp
call fcn.140009680
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 0x1400094e3
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x140009605
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.140009680
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 0x140009543
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x140009605
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.140009680
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 0x1400095a4
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x140009605
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.140009680
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 0x140009679
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x140009679
mov rcx, rbp
call fcn.14006e7d0
mov rsi, rax
mov rax, qword [r15 + 0x18]
cmp rax, rsi
jae 0x140009629
mov rcx, r15
mov rdx, rsi
mov r9, rbp
call fcn.140001a70
jmp 0x140009650
mov rdi, r15
cmp rax, 8
jb 0x140009635
mov rdi, qword [r15]
mov qword [r15 + 0x10], rsi
mov r8, rsi
add r8, rsi
mov rcx, rdi
mov rdx, rbp
call fcn.14005ece0
mov word [rdi + rsi*2], 0
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005aa40
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 0x140009653
Function at 0x14000cb40
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x1400a2318]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, [0x14007e924]
lea r8, [0x14007e8a8]
lea rbp, [rsp + 0x30]
mov rcx, rbp
mov r9d, 0x184
call fcn.140021a10
lea rcx, [rsp + 0x50]
mov rdx, rbp
xor r8d, r8d
call fcn.140021c90
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x14000cba0
mov rdx, qword [rbx]
cmp qword [rdi + 0x18], 7
mov rcx, rdi
jbe 0x14000cbad
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov bpl, 1
test eax, eax
jne 0x14000cc1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140026360
mov r14d, eax
cmp qword [rdi + 0x18], 7
jbe 0x14000cbd4
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 7
jbe 0x14000cbde
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x14000cc1d
test rsi, rsi
je 0x14000cc1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140026360
cmp eax, 0xfffffffc
cmovne r14d, eax
mov dword [rsi], r14d
xor ebp, ebp
lea rcx, [rsp + 0x50]
call fcn.140021dc0
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14005aa40
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1400a2318]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.PathExists
lea r8, [0x14007e8a8]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1ab
call fcn.140021a10
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140021c90
cmp qword [rsi + 0x18], 7
jbe 0x14000cca7
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.140021dc0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005aa40
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1400a2318]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rdx, str.DirectoryExists
lea r8, [0x14007e8a8]
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1bd
call fcn.140021a10
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140021c90
cmp qword [rsi + 0x18], 7
jbe 0x14000cd37
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
mov rcx, rdi
call fcn.140021dc0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14005aa40
mov eax, esi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000cd70
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x290
mov rsi, rcx
mov rax, qword [0x1400a2318]
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 0x14000cdb0
xor esi, esi
jmp 0x14000ce15
mov qword [rsp + 0x20], rdi
cmp word [rsp + 0x70], 0
je 0x14000cdce
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x72], 0
lea rax, [rax + 1]
jne 0x14000cdc0
jmp 0x14000cdd0
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400098c0
lea rbx, [rsp + 0x50]
mov rcx, rdi
mov rdx, rbx
call fcn.14000bb10
mov rcx, rsi
mov rdx, rbx
call fcn.140009a50
mov rcx, rbx
call fcn.140009970
mov rcx, rdi
call fcn.140009970
mov sil, 1
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.14005aa40
mov eax, esi
add rsp, 0x290
pop rbx
pop rdi
pop rsi
ret

Function at 0x14000ce40
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x1400a2318]
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 0x14000ceb0
movzx eax, word [rsp + 0x70]
test ax, ax
je 0x14000ceb0
mov qword [rsp + 0x40], rdi
xor eax, eax
cmp word [rsp + rax*2 + 0x72], 0
lea rax, [rax + 1]
jne 0x14000ce90
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400098c0
jmp 0x14000cf04
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.140009790
mov rcx, rdi
call fcn.14000cd70
test al, al
je 0x14000ced8
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.140009880
jmp 0x14000cefa
lea rax, [0x14007e94c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400098c0
lea rcx, [rsp + 0x50]
call fcn.140009970
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14005aa40
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret