joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002add0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov bl, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x14002ae23
mov al, byte [rbp + 0x60]
movzx edx, bl
mov rbx, qword [rcx]
mov dword [rsp + 0x28], edx
mov byte [rsp + 0x20], al
mov rdx, rsi
mov r8, rdi
call qword [rbx + 0x30]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea r14, [rbp - 0x20]
mov rcx, r9
mov rdx, r14
call fcn.1400e2d10
lea rdx, [0x140220f10]
mov rcx, r14
call fcn.1400e34e0
mov r14, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x14002ae5c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rbp - 0x20]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [r15], xmm0
mov rax, qword [r14]
xor bl, 1
movzx ebx, bl
mov rcx, r14
mov rdx, r15
call qword [rax + rbx*8 + 0x28]
movzx r9d, byte [r15 + 0x17]
test r9b, r9b
mov rcx, qword [r15]
mov r8, qword [r15 + 8]
mov rax, r9
cmovs rax, r8
test rax, rax
je 0x14002af13
test r9b, r9b
mov rbx, r15
cmovs rbx, rcx
test rdi, rdi
je 0x14002af01
mov al, byte [rbx]
movzx eax, al
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x14002af05
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
cmp eax, 0xffffffff
jne 0x14002aed6
xor edi, edi
mov r9b, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
inc rbx
test r9b, r9b
mov rax, r15
cmovs rax, rcx
movzx edx, r9b
cmovs rdx, r8
add rdx, rax
cmp rbx, rdx
jne 0x14002aeb1
jmp 0x14002af13
xor edi, edi
jmp 0x14002aee2
mov r8, qword [rdi]
mov rcx, rdi
mov edx, eax
call qword [r8 + 0x60]
jmp 0x14002aecf
shr r9b, 7
mov qword [rsi], rdi
test r9b, r9b
je 0x14002ae13
call fcn.1401109f8
jmp 0x14002ae13
Function at 0x14003e6e0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor eax, eax
mov qword [rcx], rax
mov rbp, qword [rdx]
mov qword [rdx], rax
lea rdi, [rbp + 1]
cmp rdi, 2
jb 0x14003e71e
call fcn.1400e8390
cmp qword [rsi], rbp
je 0x14003e753
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x14003e80a
cmp rdi, 2
jb 0x14003e74a
mov qword [rsi], rbp
call fcn.1400e8390
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsi + 8], 0xffffffffffffffff
lea r15, [rsi + 0x10]
xor eax, eax
mov qword [rsp + 0x28], rax
mov rdi, qword [r14]
mov qword [r14], rax
cmp rdi, 0xffffffffffffffff
je 0x14003e77c
test rdi, rdi
je 0x14003e7a0
call fcn.1400e8390
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14003e798
mov qword [rsp + 0x28], rdi
call fcn.1400e8390
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsp + 0x28]
mov rcx, r15
call fcn.140175830
mov rax, qword [rbx]
inc rax
cmp rax, 2
jb 0x14003e7cd
call fcn.1400e8390
mov rcx, qword [rbx]
call fcn.1400f0600
mov qword [rbx], 0
mov rax, qword [r14]
inc rax
cmp rax, 2
jb 0x14003e7ed
call fcn.1400e8390
mov rcx, qword [r14]
call fcn.1400f0600
mov qword [r14], 0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140111870
mov rax, rsi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400e8390
mov rcx, qword [rsi]
call fcn.1400f0600
mov qword [rsi], 0
jmp 0x14003e73c
Function at 0x140041890
Capabilities:
Get session information

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x140041955
lea r9, [rsp + 0x48]
mov qword [r9], 0
lea rcx, [rsp + 0x44]
mov dword [rcx], 0
mov qword [rsp + 0x20], rcx
xor ecx, ecx
mov edx, eax
mov r8d, 0x18
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
test eax, eax
je 0x140041955
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x38]
mov qword [r14], rax
mov rdi, qword [rsp + 0x48]
mov ecx, 0x30
call fcn.1401109bc
mov rbx, rax
lea rdx, [0x140042690]
lea r8, [0x1400265a0]
mov rcx, rax
call fcn.1400e5560
lea rax, [0x1401d4f70]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rdi
lea rdx, [rsp + 0x30]
mov qword [rdx], rbx
mov rcx, r14
call fcn.1400f3340
cmp dword [rsp + 0x44], 0xd7
ja 0x14004195e
mov qword [rsi], 0
jmp 0x140041972
mov qword [rsi], 0
jmp 0x14004197c
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0xc8]
mov rcx, rsi
call fcn.14007bd20
lea rcx, [rsp + 0x38]
call fcn.1400f3370
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140111870
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400456f0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140221c70]
test rdi, rdi
jne 0x140045793
mov ecx, 0x48
call fcn.1401109bc
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov ecx, 0x18
call fcn.1401109bc
mov qword [rsi + 0x10], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x20], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x18], rcx
lea rax, [rsi + 0x30]
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x40], 1
mov qword [0x140221c70], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400457b5
mov rcx, rax
call fcn.14012c3a4
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400457c0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x140046be0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, byte [0x140221c78]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x140046d87
mov qword [rsp + 0x40], rdx
mov rbx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdi, qword [rcx + 8]
xor r13d, r13d
lea r12, [0x1401f03b0]
movabs rcx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1401e90c0]
lea rsi, [rsp + 0x60]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x48]
mov rax, r13
shl rax, 4
mov qword [rsp + 0x70], rcx
movaps xmmword [rsp + 0x60], xmm6
mov rdx, qword [rax + r12]
mov rbp, qword [rax + r12 + 8]
mov byte [rsp + 0x77], bpl
mov r8, rbp
add r8, rbp
mov r15, rsi
mov rcx, rsi
call fcn.140113df0
mov word [rsp + rbp*2 + 0x60], 0
movzx eax, byte [rsp + 0x77]
mov rcx, rax
test al, al
jns 0x140046ca9
mov rcx, qword [rsp + 0x68]
cmp rdi, rcx
jb 0x140046de1
mov r14b, 1
test rcx, rcx
mov rsi, r15
je 0x140046dec
mov rdx, rsi
test al, al
jns 0x140046ccd
mov rdx, qword [rsp + 0x60]
xor ebp, ebp
movzx edi, word [rbx + rbp*2]
cmp di, word [rdx + rbp*2]
jne 0x140046d1e
inc rbp
cmp rcx, rbp
jne 0x140046ccf
mov rbp, rcx
test al, al
js 0x140046df3
test r14b, r14b
jne 0x140046d28
mov qword [rsp + 0x28], rbp
inc r13
movzx eax, byte [0x140221c78]
xor rax, 3
cmp r13, rax
mov rdi, qword [rsp + 0x30]
movabs rcx, 0xaaaaaaaaaaaaaaaa
jb 0x140046c61
jmp 0x140046d87
xor r14d, r14d
mov rbp, qword [rsp + 0x28]
jmp 0x140046ce4
test rbp, rbp
je 0x140046d87
mov rsi, qword [rsp + 0x38]
cmp rbp, qword [rsi + 8]
mov rdi, qword [rsp + 0x40]
je 0x140046d87
lea rax, [0x1401f03e0]
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], 1
movups xmm0, xmmword [rsi]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx], xmm0
xor r8d, r8d
call fcn.1400f41f0
mov rdx, qword [rsi + 8]
sub rdx, rbp
jb 0x140046e05
sub rax, rbp
mov rcx, qword [rdi + 8]
cmp rdx, rax
cmovb rax, rdx
cmp rax, rcx
je 0x140046db4
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov bl, 1
test rcx, rcx
je 0x140046d89
mov rax, qword [rdi]
add rbp, rbp
add rbp, qword [rsi]
xor edx, edx
mov rdi, rbp
movzx ebp, word [rbp + rdx*2]
cmp bp, word [rax + rdx*2]
jne 0x140046d87
inc rdx
cmp rcx, rdx
mov rbp, rdi
jne 0x140046dc6
jmp 0x140046d89
xor r14d, r14d
mov rsi, r15
jmp 0x140046d21
xor ebp, ebp
jmp 0x140046ce4
mov rcx, qword [rsp + 0x60]
call fcn.1401109f8
mov rsi, r15
jmp 0x140046cec
int3
Function at 0x140047cf0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea rbp, [rbx + 1]
cmp rbp, 2
jb 0x140047d1f
call fcn.1400e8390
cmp qword [rsi], rbx
je 0x140047d50
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140047d8d
cmp rbp, 2
jb 0x140047d47
mov qword [rsi], rbx
call fcn.1400e8390
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
call fcn.1400e6740
lea rcx, [rsi + 0x20]
call fcn.1400f43d0
mov dword [rsi + 0x24], 0
mov byte [rsi + 0x28], 0
mov byte [rsi + 0x29], r14b
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x140047da3
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400e8390
mov rcx, qword [rsi]
call fcn.1400f0600
mov qword [rsi], 0
jmp 0x140047d39
call fcn.1400e8390
mov rcx, qword [rdi]
call fcn.1400f0600
mov qword [rdi], 0
jmp 0x140047d7d

Function at 0x140047dc0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.1400f0010
mov qword [rsi], 0
test rax, rax
je 0x140047e13
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140047e47
lea rax, [rbx + 1]
cmp rax, 2
jb 0x140047e0b
mov qword [rsi], rbx
call fcn.1400e8390
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.1400e6760
lea rcx, [rsi + 0x20]
call fcn.1400f43d0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.1400e8390
mov rcx, qword [rsi]
call fcn.1400f0600
mov qword [rsi], 0
jmp 0x140047df9
Function at 0x140049890
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf0
movaps xmmword [rsp + 0xe0], xmm6
mov rsi, r8
mov r14, rdx
mov r12, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0xd8], rax
test r8, r8
je 0x1400498db
cmp byte [rsi + 0x17], 0
js 0x140049aa4
xor eax, eax
mov byte [rsi], al
mov byte [rsi + 0x17], al
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.140129974
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x80]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.ReadStreamToStringWithMaxSize
lea r8, str..._.._base_files_file_util.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0xc8
call fcn.1400e8370
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400f4950
xorps xmm6, xmm6
movaps xmmword [rbx + 0x20], xmm6
movaps xmmword [rbx + 0x10], xmm6
movaps xmmword [rbx], xmm6
mov dword [rbx + 0x30], 0
mov rcx, r12
call fcn.140121f20
mov ecx, eax
call fcn.1401229bc
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140049ab7
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
shl rax, 0x20
or rax, rcx
test rax, rax
mov edi, 0xffff
cmovg rdi, rax
cmp rdi, r14
cmova rdi, r14
lea r15, [rsp + 0x20]
movaps xmmword [r15], xmm6
mov qword [r15 + 0x10], 0
inc rdi
xor ebx, ebx
mov rcx, r15
mov rdx, rdi
xor r8d, r8d
call fcn.1400e4770
mov r13d, 0x10000
cmp byte [rsp + 0x37], 0
mov rcx, r15
jns 0x1400499dc
mov rcx, qword [rsp + 0x20]
add rcx, rbx
mov edx, 1
mov r8, rdi
mov r9, r12
call fcn.1401296f4
test rax, rax
je 0x140049a1d
mov rcx, r14
sub rcx, rbx
cmp rcx, rax
jb 0x140049ac1
test rbx, rbx
cmove rdi, r13
add rbx, rax
mov rcx, r12
call fcn.1401292a0
test eax, eax
je 0x140049ac8
mov rcx, r12
call fcn.1401292cc
test eax, eax
sete dil
mov r14, rbx
test rsi, rsi
je 0x140049a63
movups xmm0, xmmword [rsi]
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsp + 0x30]
mov qword [rsi + 0x10], rcx
movaps xmm1, xmmword [rsp + 0x20]
movups xmmword [rsi], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov rdx, r14
xor r8d, r8d
call fcn.1400e4770
cmp byte [rsp + 0x37], 0
js 0x140049ade
lea rcx, [rsp + 0x80]
call fcn.1400f49b0
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140111870
mov eax, edi
movaps xmm6, xmmword [rsp + 0xe0]
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsi]
mov byte [rax], 0
mov qword [rsi + 8], 0
jmp 0x1400498db
mov edi, 0xffff
jmp 0x14004999c
xor edi, edi
jmp 0x140049a2e
lea rdx, [rbx + rdi]
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.1400e4770
jmp 0x1400499cd
mov rcx, qword [rsp + 0x20]
call fcn.1401109f8
jmp 0x140049a6a
Function at 0x140049f30
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.1400e56b0
test al, al
je 0x140049f89
call fcn.1400e56a0
mov rdi, rax
lea rbx, [0x1401f7bbe]
mov rcx, rax
mov rdx, rbx
call fcn.1400e5750
test al, al
jne 0x140049fb8
lea rdx, str.vmodule
mov rcx, rdi
call fcn.1400e5750
test al, al
jne 0x140049fb8
mov eax, dword [rsi]
mov dword [0x14021d288], eax
mov bl, 1
test al, 1
jne 0x14004a079
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp qword [0x140221c80], 0
jne 0x14004a10a
mov rax, qword [0x140221c88]
mov qword [0x140221c80], rax
mov ecx, 0x20
call fcn.1401109bc
mov r14, rax
lea rcx, str.vmodule
lea r15, [rsp + 0x48]
mov qword [r15], rcx
call fcn.14012c0f0
mov qword [r15 + 8], rax
lea r12, [rsp + 0x58]
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.1400e5860
lea r15, [rsp + 0x20]
mov qword [r15], rbx
mov rcx, rbx
call fcn.14012c0f0
mov qword [r15 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
mov r8, r15
call fcn.1400e5860
lea r9, [0x140221c90]
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.1401772e0
mov qword [0x140221c88], r14
cmp byte [rbx + 0x17], 0
jns 0x14004a05f
mov rcx, qword [rsp + 0x30]
call fcn.1401109f8
cmp byte [rsp + 0x6f], 0
jns 0x140049f89
mov rcx, qword [rsp + 0x58]
call fcn.1401109f8
jmp 0x140049f89
mov rcx, qword [0x140221cb8]
test rcx, rcx
jne 0x14004a093
mov rcx, qword [0x140221c98]
test rcx, rcx
je 0x14004a0b7
jmp 0x14004a0d9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140221cb8], 0
mov rcx, qword [0x140221c98]
test rcx, rcx
jne 0x14004a0d9
and byte [0x14021d288], 0xfe
mov ecx, 0x18
call fcn.1401109bc
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140221c98], rax
mov rdx, qword [rsi + 8]
call fcn.140031360
cmp dword [rsi + 0x14], 0
jne 0x14004a0fe
mov rcx, qword [0x140221c98]
cmp byte [rcx + 0x17], 0
jns 0x14004a0f8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.14015ecb0
mov ebx, eax
jmp 0x140049f9b
int3
Function at 0x14004fe30
Capabilities:
Get file version info

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x50]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.CreateFileVersionInfoWin
lea r8, str..._.._base_file_version_info_win.cc
lea rbx, [rsp + 0x28]
mov rcx, rbx
mov r9d, 0x4d
call fcn.1400e8370
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400f4950
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rdi + 0x17], 0
jns 0x14004fec2
mov rdi, qword [rdi]
lea rdx, [rsp + 0x24]
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x14004ffdf
mov ebp, eax
mov esi, eax
mov rcx, rsi
call fcn.1401109bc
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.140114200
mov edx, dword [rsp + 0x24]
mov rcx, rdi
mov r8d, ebp
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14004ffe8
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea r9, [rsp + 0x4c]
mov dword [r9], 0xaaaaaaaa
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14004ffe8
mov rbp, qword [rsp + 0x28]
test rbp, rbp
je 0x14004ffe8
mov rdi, rbx
add rdi, rsi
mov ecx, 0x38
call fcn.1401109bc
mov rsi, rax
mov eax, dword [rbp]
lea rcx, fcn.1400502a0
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
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea r9, [rsp + 0x4c]
mov dword [r9], 0xaaaaaaaa
lea rdx, [0x1401f0922]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14004fffe
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x30], rax
mov qword [r14], rsi
lea rcx, [rsp + 0x50]
call fcn.1400f49b0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140111870
mov rax, r14
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov qword [r14], 0
jmp 0x14004ffb4
mov qword [r14], 0
test rbx, rbx
je 0x14004ffb4
mov rcx, rbx
call fcn.1401109f8
jmp 0x14004ffb4
int3
Function at 0x1400500a0
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, 0x278
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx eax, word [rcx + 0x28]
mov word [rsp + 0x260], ax
movzx eax, word [rcx + 0x2a]
mov word [rsp + 0x262], ax
mov rsi, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call rsi
mov word [rsp + 0x264], ax
movzx eax, word [rbx + 0x2a]
mov word [rsp + 0x266], ax
movzx eax, word [rbx + 0x28]
mov word [rsp + 0x268], ax
mov bp, 0x4e4
mov word [rsp + 0x26a], bp
call rsi
mov word [rsp + 0x26c], ax
mov word [rsp + 0x26e], bp
xor ebp, ebp
lea rsi, [rsp + 0x50]
lea r15, str.StringFileInfo_04x_04x_ls
lea r12, [rsp + 0x48]
lea r13, [rsp + 0x44]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140114200
movzx eax, word [rsp + rbp + 0x262]
movzx ecx, word [rsp + rbp + 0x260]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
mov r9, r15
call fcn.140050210
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x44], 0xaaaaaaaa
mov rcx, qword [rbx + 0x20]
mov rdx, rsi
mov r8, r12
mov r9, r13
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400501f7
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x1400501f7
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x1400501f7
dec r8d
mov rcx, r14
call fcn.1400ef9b0
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add rbp, 4
cmp rbp, 0x10
jne 0x140050145
xor esi, esi
jmp 0x1400501d1
Function at 0x140050410
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4b0
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x4a8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0x450]
mov qword [rbp + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x20], xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmmword [rbp], xmm0
lea rdx, [0x1401f0973]
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x240]
mov rcx, rsi
mov r9d, 0x1c7
call fcn.1400e8370
mov rcx, rbp
mov rdx, rsi
xor r8d, r8d
call fcn.1400f4950
lea rbp, [rsp + 0x240]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.140114200
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400504bf
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, rbp
call fcn.1400ec790
mov rcx, rbp
call fcn.1400df050
lea rbp, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbp
mov dl, 0xaa
call fcn.140114200
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x1400504f6
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, rbp
call fcn.1400ec790
mov rcx, rbp
call fcn.1400df050
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x140050518
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140050524
mov rcx, qword [rdi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x140050585
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140051d00
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x140050557
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140050560
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne dil
jne 0x140050588
test r14, r14
je 0x140050588
cmp ebp, 0xfffffffc
je 0x1400505b5
mov dword [r14], ebp
xor edi, edi
jmp 0x140050588
mov dil, 1
lea rcx, [rsp + 0x450]
call fcn.1400f49b0
mov rcx, qword [rsp + 0x4a8]
xor rcx, rsp
call fcn.140111870
mov eax, edi
add rsp, 0x4b0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
call fcn.1401634b0
mov ebp, eax
jmp 0x14005057e

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1fa
call fcn.1400e8370
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400f4950
cmp byte [rdi + 0x17], 0
jns 0x140050644
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400f49b0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140111870
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret