joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004a8a0
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, reloc.SHELL32.dll_IsUserAnAdmin
mov rdi, rdx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
add rcx, 8
lea rdx, str.chrome.exe
mov qword [rsp + 0x278], rdx
cmp word [str.chrome.exe], 0
jne 0x14004a8e2
xor eax, eax
jmp 0x14004a8f0
xor eax, eax
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14004a8e4
lea r8, [rsp + 0x278]
mov qword [r8 + 8], rax
lea rsi, [rsp + 0x288]
mov rdx, rsi
call fcn.140051c50
lea rbx, [rsp + 0x240]
mov rcx, rbx
mov rdx, rsi
call fcn.14004c010
mov edx, dword [rdi + 0x28]
lea rdi, [rsp + 0x50]
mov rcx, rdi
call fcn.140059fa0
lea rdx, str.try_chrome_again
lea r14, [rsp + 0x1d0]
mov rcx, r14
call fcn.1400029a0
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.14004d2a0
cmp byte [r14 + 0x17], 0
jns 0x14004a968
mov rcx, qword [rsp + 0x1d0]
call fcn.140180390
cmp byte [rsp + 0x67], 0
jns 0x14004a979
mov rcx, qword [rsp + 0x50]
call fcn.140180390
xorps xmm0, xmm0
movaps xmmword [rsp + 0x1d0], xmm0
xor eax, eax
mov qword [rsp + 0x230], rax
movaps xmmword [rsp + 0x220], xmm0
movaps xmmword [rsp + 0x210], xmm0
movaps xmmword [rsp + 0x200], xmm0
movaps xmmword [rsp + 0x1f0], xmm0
movaps xmmword [rsp + 0x1e0], xmm0
mov dword [rsp + 0x1d0], 0x68
mov qword [rsp + 0x1c0], rax
movaps xmmword [rsp + 0x1b0], xmm0
lea rcx, [rsp + 0x240]
lea rbx, [rsp + 0x198]
mov rdx, rbx
xor r8d, r8d
call fcn.14004e250
cmp byte [rbx + 0x17], 0
jns 0x14004a9fa
mov rbx, qword [rsp + 0x198]
cmp byte [rsp + 0x29f], 0
jns 0x14004aa0c
mov rsi, qword [rsp + 0x288]
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 0
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14004aa6b
lea rsi, [rsp + 0x50]
lea rdx, [rsp + 0x1b0]
mov rcx, rsi
call fcn.14009b460
mov rcx, rsi
call fcn.14009b560
jmp 0x14004aa79
mov ecx, 2
call fcn.140055330
test al, al
jne 0x14004aac8
cmp byte [rsp + 0x1af], 0
jns 0x14004aa90
mov rcx, qword [rsp + 0x198]
call fcn.140180390
lea rcx, [rsp + 0x240]
call fcn.14004c540
lea rcx, [rsp + 0x288]
call fcn.140050690
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140180700
nop
add rsp, reloc.SHELL32.dll_IsUserAnAdmin
pop rbx
pop rdi
pop rsi
pop r14
ret
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_user_experiment.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x229
mov r9d, 2
call fcn.140055fe0
lea rcx, [rsp + 0x60]
lea rdx, str.Failed_to_launch:
mov r8d, 0x12
call fcn.140006490
cmp byte [rsp + 0x1af], 0
jns 0x14004ab1c
mov rdx, qword [rsp + 0x198]
jmp 0x14004ab24
lea rdx, [rsp + 0x198]
mov rcx, rax
call fcn.140056180
mov rcx, rsi
call fcn.1400560d0
jmp 0x14004aa79
Function at 0x14004c5b0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x1402124e0], 0
jne 0x14004c675
mov ecx, 0x38
call fcn.140180340
mov rsi, rax
mov ecx, 0x18
call fcn.140180340
mov qword [rsi], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x10], rcx
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [rsi + 8], rcx
lea rax, [rsi + 0x20]
movups xmmword [rsi + 0x20], xmm0
mov qword [rsi + 0x18], rax
mov qword [rsi + 0x30], 1
mov qword [0x1402124e0], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14004c679
cmp word [rax], 0
je 0x14004c679
xor ecx, ecx
nop dword [rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14004c640
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rcx
mov rcx, rsi
call fcn.14004c680
mov sil, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140180700
mov eax, esi
add rsp, 0x40
pop rsi
ret
xor esi, esi
jmp 0x14004c660
xor ecx, ecx
jmp 0x14004c64c
Function at 0x14004c680
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x58], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r8d, 3
call fcn.14005d8f0
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x14004c7f0
mov dword [rsp + 0x3c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r15, rax
test rax, rax
je 0x14004c813
lea rdx, [0x1401bef9e]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004c826
mov rsi, rax
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call rax
mov r13, rax
movsxd rdi, dword [rsp + 0x3c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
test rdi, rdi
je 0x14004c78e
test edi, edi
js 0x14004c82e
shl rdi, 3
lea r12, [rdi + rdi*2]
mov rcx, r12
call fcn.140180340
mov rsi, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
add rax, r12
mov qword [rsp + 0x30], rax
xor ebx, ebx
mov rdx, qword [r13 + rbx]
mov rcx, rsi
call fcn.140005e00
add rsi, 0x18
add rbx, 8
cmp rdi, rbx
jne 0x14004c76f
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.14004c1e0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
test r15, r15
je 0x14004c7b2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x14004c7f0
mov rax, qword [rsp + 0x28]
cmp rax, rsi
je 0x14004c80e
lea rdi, [rax - 0x18]
cmp byte [rax - 1], 0
jns 0x14004c7d9
mov rcx, qword [rax - 0x18]
call fcn.140180390
mov rax, rdi
cmp rsi, rdi
jne 0x14004c7c6
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x28], rsi
call fcn.140180390
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140180700
nop
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rsi
jmp 0x14004c7e6
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14004c722
xor r13d, r13d
jmp 0x14004c725
lea rcx, [rsp + 0x20]
call fcn.1400399c0
int3
Function at 0x140053400
Capabilities:
Check if file exists
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.140053000
test al, al
jne 0x140053421
mov rcx, rsi
call fcn.140053000
test al, al
je 0x14005342a
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp 0x140066190
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf0
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0xe8], rax
lea rdx, str.MoveUnsafe
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x98]
mov rcx, rbx
mov r9d, 0x401
call fcn.140054e50
lea rcx, [rsp + 0x28]
xor ebp, ebp
mov rdx, rbx
xor r8d, r8d
call fcn.14009ceb0
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x1400661fa
mov rcx, qword [rsi + 8]
cmp rcx, 0x103
ja 0x140066335
movzx ecx, byte [rdi + 0x17]
mov rdx, rcx
test cl, cl
jns 0x140066216
mov rdx, qword [rdi + 8]
cmp rdx, 0x103
ja 0x140066333
mov rdx, rdi
test cl, cl
jns 0x14006622d
mov rdx, qword [rdi]
mov rcx, rsi
test al, al
jns 0x140066237
mov rcx, qword [rsi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bpl, 1
test eax, eax
jne 0x140066335
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x78]
mov rcx, rbx
mov r9d, 0x1df
call fcn.140054e50
lea rbp, [rsp + 0x98]
mov rcx, rbp
mov rdx, rbx
xor r8d, r8d
call fcn.14009ceb0
cmp byte [rsi + 0x17], 0
mov rcx, rsi
jns 0x14006629a
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rcx, rbp
call fcn.14009cfd0
cmp ebx, 0xffffffff
je 0x14006632a
and ebx, 0x10
je 0x14006632a
lea rdx, str.CopyAndDeleteDirectory
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x78]
mov rcx, rbx
mov r9d, 0x424
call fcn.140054e50
lea rcx, [rsp + 0x98]
mov rdx, rbx
xor r8d, r8d
call fcn.14009ceb0
mov rcx, rsi
mov rdx, rdi
mov r8b, 1
xor r9d, r9d
call fcn.140064860
test al, al
je 0x14006631d
mov bpl, 1
mov rcx, rsi
mov dl, 1
call fcn.1400641c0
test al, al
je 0x14006631d
lea rcx, [rsp + 0x98]
call fcn.14009cfd0
jmp 0x140066335
lea rcx, [rsp + 0x98]
call fcn.14009cfd0
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.14009cfd0
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140180700
mov eax, ebp
add rsp, 0xf0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140053940
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov r13, r8
mov r14, rdx
mov r12, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0xe8], rax
test r8, r8
je 0x14005398f
cmp byte [r13 + 0x17], 0
js 0x140053b56
xor eax, eax
mov byte [r13], al
mov byte [r13 + 0x17], al
mov rcx, r12
xor edx, edx
xor r8d, r8d
call fcn.14019acec
lea rdx, str.ReadStreamToStringWithMaxSize
lea r8, str..._.._base_files_file_util.cc
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov r9d, 0xa6
call fcn.140054e50
lea rcx, [rsp + 0x80]
mov rdx, rdi
xor r8d, r8d
call fcn.14009ceb0
xorps xmm6, xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
mov dword [rdi + 0x30], 0
mov rcx, r12
call fcn.1401913f4
mov ecx, eax
call fcn.140191e9c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x140053b6a
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
inc rdi
lea rbx, [rsp + 0x20]
movaps xmmword [rbx], xmm6
mov qword [rbx + 0x10], 0
xor esi, esi
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.140036f00
cmp byte [rbx + 0x17], 0
jns 0x140053a5a
mov rbx, qword [rsp + 0x20]
mov edx, 1
mov rcx, rbx
mov r8, rdi
mov r9, r12
call fcn.14019aa6c
test rax, rax
je 0x140053aa7
mov ebx, 0x10000
lea r15, [rsp + 0x20]
xor esi, esi
mov rcx, r14
sub rcx, rsi
cmp rcx, rax
jb 0x140053b74
test rsi, rsi
cmove rdi, rbx
add rsi, rax
mov rcx, r12
call fcn.14019a340
test eax, eax
je 0x140053b7b
mov rcx, r12
call fcn.14019a36c
test eax, eax
sete dil
mov r14, rsi
test r13, r13
je 0x140053b11
mov rax, qword [r13 + 0x10]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0xd0], xmm0
mov rax, qword [rsp + 0x30]
mov qword [r13 + 0x10], rax
movaps xmm0, xmmword [rsp + 0x20]
movups xmmword [r13], xmm0
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x20], xmm0
mov rcx, r13
mov rdx, r14
xor r8d, r8d
call fcn.140036f00
cmp byte [rsp + 0x37], 0
js 0x140053bba
lea rcx, [rsp + 0x80]
call fcn.14009cfd0
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.140180700
mov eax, edi
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [r13]
mov byte [rax], 0
mov qword [r13 + 8], 0
jmp 0x14005398f
mov edi, 0xffff
jmp 0x140053a25
xor edi, edi
jmp 0x140053ab8
lea rdx, [rsi + rdi]
mov rcx, r15
xor r8d, r8d
call fcn.140036f00
cmp byte [rsp + 0x37], 0
mov rcx, r15
jns 0x140053b99
mov rcx, qword [rsp + 0x20]
add rcx, rsi
mov edx, 1
mov r8, rdi
mov r9, r12
call fcn.14019aa6c
test rax, rax
jne 0x140053a7e
jmp 0x140053aa7
mov rcx, qword [rsp + 0x20]
call fcn.140180390
jmp 0x140053b1c
Function at 0x140054210
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor edi, edi
cmp qword [rcx + 0x78], 0
je 0x1400543a4
mov rsi, rcx
mov rcx, qword [rcx + 0x80]
test rcx, rcx
je 0x1400543fd
mov eax, dword [rsi + 0x9c]
test al, 0x10
jne 0x140054283
test al, 8
je 0x1400543a2
mov rax, qword [rsi + 0x90]
mov qword [rsp + 0x28], rax
cmp byte [rsi + 0xa2], 0
je 0x140054323
mov rdi, qword [rsi + 0x20]
sub rdi, qword [rsi + 0x18]
jmp 0x14005434d
mov rax, qword [rsi + 0x30]
cmp rax, qword [rsi + 0x28]
je 0x1400542a9
mov rax, qword [rsi]
mov edi, 0xffffffff
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x60]
cmp eax, 0xffffffff
je 0x1400543a4
lea r14, [rsi + 0x88]
lea r15, [rsp + 0x28]
mov edi, 0xffffffff
mov r8, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x80]
mov r9, qword [rsi + 0x60]
add r9, r8
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
mov rdx, r14
call qword [rax + 0x20]
mov ebp, eax
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsi + 0x40]
mov r9, qword [rsi + 0x78]
sub rbx, rcx
mov edx, 1
mov r8, rbx
call fcn.14019b3f8
cmp rax, rbx
jne 0x1400543a4
cmp ebp, 1
je 0x1400542ba
cmp ebp, 2
je 0x1400543a4
mov rcx, qword [rsi + 0x78]
call fcn.14019a398
test eax, eax
jne 0x1400543a4
jmp 0x1400543a2
mov rax, qword [rcx]
call qword [rax + 0x28]
mov r9, qword [rsi + 0x48]
mov rdi, qword [rsi + 0x50]
sub rdi, r9
test eax, eax
jle 0x1400543c0
mov rcx, qword [rsi + 0x20]
sub rcx, qword [rsi + 0x18]
mov eax, eax
imul rcx, rax
add rdi, rcx
xor ebx, ebx
neg edi
mov rcx, qword [rsi + 0x78]
mov edx, edi
mov r8d, 1
call fcn.14019acec
test eax, eax
je 0x14005436d
mov edi, 0xffffffff
jmp 0x1400543a4
test bl, bl
je 0x14005437d
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x88], rax
mov rax, qword [rsi + 0x40]
mov qword [rsi + 0x50], rax
mov qword [rsi + 0x48], rax
mov dword [rsi + 0x9c], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 0x20], 0
xor edi, edi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsi + 0x18]
cmp rax, qword [rsi + 0x20]
je 0x14005434d
mov r8, qword [rsi + 0x40]
mov rcx, qword [rsi + 0x80]
sub rax, qword [rsi + 0x10]
mov rbp, qword [rcx]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x28]
call qword [rbp + 0x38]
cdqe
add rdi, qword [rsi + 0x48]
sub rdi, rax
sub rdi, qword [rsi + 0x40]
mov bl, 1
jmp 0x14005434f
call fcn.140031690
int3
Function at 0x140054e80
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 [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.14004c840
mov rdi, rax
lea rbx, [0x1401c6e91]
mov rcx, rax
mov rdx, rbx
call fcn.14004cd50
test al, al
jne 0x140054eff
lea rdx, str.vmodule
mov rcx, rdi
call fcn.14004cd50
test al, al
jne 0x140054eff
mov eax, dword [rsi]
mov dword [0x14020e608], eax
mov bl, 1
test al, 1
jne 0x140054fc0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140180700
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp qword [0x1402124f0], 0
jne 0x140055055
mov rax, qword [0x1402124f8]
mov qword [0x1402124f0], rax
mov ecx, 0x20
call fcn.140180340
mov r14, rax
lea rcx, str.vmodule
lea r15, [rsp + 0x48]
mov qword [r15], rcx
call fcn.1401a0a10
mov qword [r15 + 8], rax
lea r12, [rsp + 0x58]
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.14004ce50
lea r15, [rsp + 0x20]
mov qword [r15], rbx
mov rcx, rbx
call fcn.1401a0a10
mov qword [r15 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
mov r8, r15
call fcn.14004ce50
lea r9, [0x140212500]
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.14009d3c0
mov qword [0x1402124f8], r14
cmp byte [rbx + 0x17], 0
jns 0x140054fa6
mov rcx, qword [rsp + 0x30]
call fcn.140180390
cmp byte [rsp + 0x6f], 0
jns 0x140054ed0
mov rcx, qword [rsp + 0x58]
call fcn.140180390
jmp 0x140054ed0
mov rcx, qword [0x140212528]
test rcx, rcx
je 0x140055004
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x140212528], 0
mov rcx, qword [0x140212508]
test rcx, rcx
je 0x14005502a
mov rdx, qword [rsi + 8]
call fcn.140038740
cmp dword [rsi + 0x14], 0
je 0x140055012
call fcn.140055060
mov ebx, eax
jmp 0x140054ee2
mov rcx, qword [0x140212508]
test rcx, rcx
jne 0x140054fe9
jmp 0x140055031
mov rcx, qword [0x140212508]
cmp byte [rcx + 0x17], 0
jns 0x140055022
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140054ff8
and byte [0x14020e608], 0xfe
mov ecx, 0x18
call fcn.140180340
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x140212508], rax
jmp 0x140054fe9
int3
Function at 0x140055060
Capabilities:
Get common file path

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x258
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14b, 1
cmp qword [0x140212528], 0
jne 0x1400552c6
mov rdi, qword [0x140212508]
test rdi, rdi
jne 0x140055196
movabs r15, 0x7fffffffffffffef
mov ecx, 0x18
call fcn.140180340
mov rdi, rax
lea rsi, [rsp + 0x40]
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, rsi
call fcn.1401a0cc4
cmp rax, r15
ja 0x1400552e9
mov rbx, rax
cmp rax, 0xb
jae 0x140055104
mov byte [rdi + 0x17], bl
mov rsi, rdi
test rbx, rbx
jne 0x140055132
jmp 0x140055145
lea rbp, [rbx + 8]
and rbp, 0xfffffffffffffff8
js 0x1400552f1
mov rcx, rbp
add rcx, rbp
call fcn.140180340
mov rsi, rax
mov qword [rdi], rax
add r15, 0x11
or r15, rbp
mov qword [rdi + 0x10], r15
mov qword [rdi + 8], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1401836f0
mov word [rsi + rbx*2], 0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x140055159
mov r8, qword [rdi + 8]
mov rcx, rdi
mov dx, 0x5c
call fcn.140038fb0
cmp rax, 0xffffffffffffffff
je 0x140055180
inc rax
mov rcx, rdi
mov rdx, rax
mov r8, 0xffffffffffffffff
call fcn.140038ba0
lea rdx, str.debug.log
mov rcx, rdi
call fcn.1400384c0
mov qword [0x140212508], rdi
test byte [0x14020e608], 1
je 0x1400552c6
cmp byte [rdi + 0x17], 0
jns 0x1400551ac
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140212528], rax
inc rax
cmp rax, 1
ja 0x1400552c6
lea rdx, [rsp + 0x40]
mov word [rdx], 0
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1400552c3
cmp eax, 0x104
ja 0x1400552c3
mov rcx, qword [0x140212508]
lea rdx, [rsp + 0x40]
call fcn.140038740
mov rcx, qword [0x140212508]
movzx eax, byte [rcx + 0x17]
test al, al
js 0x14005523d
mov rdx, rcx
jmp 0x140055244
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x14005525f
lea rdx, [0x1401b6c90]
call fcn.1400384c0
mov rcx, qword [0x140212508]
lea rdx, str.debug.log
call fcn.1400384c0
mov rcx, qword [0x140212508]
cmp byte [rcx + 0x17], 0
jns 0x14005527b
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140212528], rax
inc rax
cmp rax, 1
ja 0x1400552c6
mov qword [0x140212528], 0
xor r14d, r14d
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140180700
mov eax, r14d
add rsp, 0x258
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rdi
call fcn.140036bc0
call fcn.140194834
int3
Function at 0x140063a10
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov r15, rdx
mov r14, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rdx, str.CreateFileVersionInfoWin
lea r8, str..._.._base_file_version_info_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r9d, 0x4d
call fcn.140054e50
lea rcx, [rsp + 0x48]
mov rdx, rsi
xor r8d, r8d
call fcn.14009ceb0
cmp byte [r15 + 0x17], 0
jns 0x140063a72
mov r15, qword [r15]
lea rdx, [rsp + 0x24]
mov rcx, r15
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140063bd1
mov edi, eax
mov esi, eax
mov rcx, rsi
call fcn.140180340
mov rbp, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.140183b00
lea rax, [rsi - 1]
mov rcx, rsi
mov rdx, rbp
and rcx, 7
je 0x140063ac6
neg rcx
xor ebx, ebx
dec rbx
cmp rcx, rbx
jne 0x140063ab8
mov rdx, rbp
sub rdx, rbx
cmp rax, 7
jb 0x140063adb
mov rax, rsi
sub rax, rdx
add rax, rbp
add rax, 0xfffffffffffffff8
jne 0x140063ad5
mov edx, dword [rsp + 0x24]
mov rcx, r15
mov r8d, edi
mov r9, rbp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140063bc0
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea rdx, str.VarFileInfoTranslation
lea r9, [rsp + 0x9c]
mov rcx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140063bc0
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x140063bc0
mov rdi, rbp
add rdi, rsi
mov ecx, 0x38
call fcn.140180340
mov rsi, rax
mov eax, dword [rbx]
lea rcx, [0x1401bf6c0]
mov qword [rsi], rcx
mov qword [rsi + 8], rbp
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rbp
mov dword [rsi + 0x28], eax
lea r8, [rsp + 0x28]
mov qword [r8], 0
lea rdx, [0x1401bf8e2]
lea r9, [rsp + 0x9c]
mov rcx, rbp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140063bda
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x30], rax
mov qword [r14], rsi
lea rcx, [rsp + 0x48]
call fcn.14009cfd0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140180700
mov rax, r14
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov qword [r14], 0
mov rcx, rbp
call fcn.140180390
jmp 0x140063b93
mov qword [r14], 0
jmp 0x140063b93
int3
Function at 0x140063dc0
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 [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x260], rax
movzx esi, word [rcx + 0x28]
movzx r14d, word [rcx + 0x2a]
mov r12, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r12
mov ebp, 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], esi
lea r9, str.StringFileInfo_04x_04x_ls
lea rsi, [rsp + 0x50]
mov edx, 0x104
mov r8d, 0x104
mov rcx, rsi
call fcn.140064000
lea r8, [rsp + 0x48]
mov qword [r8], 0
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140063eab
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140063eab
mov r8d, dword [rsp + 0x44]
test r8d, r8d
je 0x140063eab
dec r8d
mov rcx, r15
call fcn.140037cf0
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140180700
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, bp
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.140064000
lea r8, [rsp + 0x48]
mov qword [r8], 0
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140063f13
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140063f13
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140063e77
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.140064000
lea r8, [rsp + 0x48]
mov qword [r8], 0
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140063f80
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140063f80
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140063e77
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.140064000
lea r8, [rsp + 0x48]
mov qword [r8], 0
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x44]
mov rdx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140063fed
mov rdx, qword [rsp + 0x48]
test rdx, rdx
je 0x140063fed
mov r8d, dword [rsp + 0x44]
test r8d, r8d
jne 0x140063e77
xor esi, esi
jmp 0x140063e85