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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x280
movaps xmmword [rsp + 0x270], xmm6
mov rdi, rdx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x268], rax
add rcx, 8
lea rdx, str.chrome.exe
mov qword [rsp + 0x98], rdx
cmp word [str.chrome.exe], 0
je 0x140029d88
xor eax, eax
cmp word [rdx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140029d7a
jmp 0x140029d8a
xor eax, eax
lea r8, [rsp + 0x98]
mov qword [r8 + 8], rax
lea rsi, [rsp + 0x248]
mov rdx, rsi
call fcn.140033d30
lea r14, [rsp + 0x68]
mov rcx, r14
mov rdx, rsi
call fcn.14002b560
mov edx, dword [rdi + 0x28]
lea r15, [rsp + 0xa8]
mov rcx, r15
call fcn.140046590
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
lea rdi, [rsp + 0x1e0]
movdqu xmmword [rdi + 0x10], xmm0
mov byte [rdi], 0
lea rbx, str.try_chrome_again
mov rcx, rbx
call fcn.1401859f0
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.1400068b0
mov rcx, r14
mov rdx, rdi
mov r8, r15
call fcn.14002c710
mov rcx, rdi
call fcn.140006b10
mov rcx, r15
call fcn.140006b50
xorps xmm6, xmm6
movaps xmmword [rdi], xmm6
xor eax, eax
mov qword [rdi + 0x60], rax
movaps xmmword [rdi + 0x50], xmm6
movaps xmmword [rdi + 0x40], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
mov dword [rdi], 0x68
mov qword [rsp + 0x60], rax
movaps xmmword [rsp + 0x50], xmm6
lea rbx, [rsp + 0x1c0]
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
call fcn.14002d3a0
mov eax, 7
cmp qword [rbx + 0x18], rax
jbe 0x140029e7c
mov rbx, qword [rsp + 0x1c0]
cmp qword [rsp + 0x260], rax
jbe 0x140029e8e
mov rsi, qword [rsp + 0x248]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
movups xmmword [rsp + 0x30], xmm6
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 0x140029ee7
lea rsi, [rsp + 0xa8]
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14008a430
mov rcx, rsi
call fcn.14008a480
jmp 0x140029f62
mov ecx, 2
call fcn.14003c410
test al, al
je 0x140029f62
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_setup_user_experiment.cc
lea rsi, [rsp + 0xa8]
mov rcx, rsi
mov r8d, 0x223
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0xb8]
lea rdx, str.Failed_to_launch:
call fcn.140002b70
cmp qword [rsp + 0x1d8], 7
jbe 0x140029f4a
mov rdx, qword [rsp + 0x1c0]
jmp 0x140029f52
lea rdx, [rsp + 0x1c0]
mov rcx, rax
call fcn.14003d500
mov rcx, rsi
call fcn.14003d430
lea rcx, [rsp + 0x1c0]
call fcn.140006b50
lea rcx, [rsp + 0x68]
call fcn.14002b980
lea rcx, [rsp + 0x248]
call fcn.1400323e0
mov rcx, qword [rsp + 0x268]
xor rcx, rsp
call fcn.14014ac50
movaps xmm6, xmmword [rsp + 0x270]
add rsp, 0x280
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14002b9e0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x1401e6780], 0
je 0x14002ba05
xor esi, esi
jmp 0x14002bac5
mov ecx, 0x30
call fcn.14014a810
mov rsi, rax
mov ecx, 0x20
call fcn.14014a810
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.14014a810
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 [0x1401e6780], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002baae
cmp word [rax], 0
je 0x14002baae
xor ecx, ecx
nop word cs:[rax + rax]
nop dword [rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14002baa0
jmp 0x14002bab0
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14002bae0
mov sil, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14014ac50
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x14002bae0
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 [0x1401e3a68]
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.14004a990
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x14002bcad
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 0x14002bcdc
test eax, eax
je 0x14002bc8d
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 0x14002bbe0
cmp word [rax], 0
je 0x14002bbe0
xor ecx, ecx
nop word cs:[rax + rax]
nop
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14002bbd0
jmp 0x14002bbe2
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov rcx, rbx
mov rdx, r13
call fcn.14004ec20
mov rax, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
cmp rdx, rax
je 0x14002bc30
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 0x14002bc80
mov rcx, r12
mov r8, rbx
call fcn.14002ee00
mov rax, qword [rbp]
cmp rax, 8
jb 0x14002bc80
mov rcx, qword [rbp - 0x18]
lea rdx, [rax + rax]
add rdx, 2
cmp rdx, 0x1000
jb 0x14002bc78
mov rdx, rcx
add rdx, 0xfffffffffffffff8
mov rcx, qword [rcx - 8]
sub rdx, rcx
cmp rdx, 0x20
jae 0x14002bcd5
add rax, rax
add rax, 0x29
mov rdx, rax
call fcn.14014a880
nop dword [rax]
add rsi, 8
cmp rsi, rdi
jne 0x14002bbb0
lea rsi, [rbp - 0x50]
mov rcx, r14
mov rdx, rsi
call fcn.14002b620
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rsi
call fcn.14000e620
mov rcx, qword [rbp + 8]
xor rcx, rbp
call fcn.14014ac50
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.140178800
ud2
int3
Function at 0x140030b50
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 [0x1401e3a68]
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.14003bd00
lea rcx, [rsp + 0x50]
mov rdx, rdi
xor r8d, r8d
call fcn.14004f9f0
cmp qword [rsi + 0x18], 7
jbe 0x140030bac
mov rsi, qword [rsi]
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140030bdf
mov ebp, eax
mov edi, eax
cmp eax, 0x1000
jb 0x140030beb
lea rcx, [rdi + 0x27]
call fcn.14014a810
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140030bf6
mov qword [r14], 0
jmp 0x140030cec
mov rcx, rdi
call fcn.14014a810
mov rbx, rax
mov rcx, rbx
xor edx, edx
mov r8, rdi
call fcn.14016ed50
mov edx, dword [rsp + 0x2c]
mov rcx, rsi
mov r8d, ebp
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140030caa
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 0x140030caa
mov r15, qword [rsp + 0x30]
test r15, r15
je 0x140030caa
add rdi, rbx
mov ecx, 0x38
call fcn.14014a810
mov rsi, rax
mov eax, dword [r15]
lea rcx, [0x14019cbe0]
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, [0x140197fc0]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x6c]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140030ce3
mov rax, qword [rsp + 0x30]
jmp 0x140030ce5
mov qword [r14], 0
test rbx, rbx
je 0x140030cec
cmp ebp, 0x1000
jb 0x140030cd6
mov rax, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
sub rbx, rax
cmp rbx, 0x20
jae 0x140030d13
add rdi, 0x27
mov rbx, rax
mov rcx, rbx
mov rdx, rdi
call fcn.14014a880
jmp 0x140030cec
xor eax, eax
mov qword [rsi + 0x30], rax
mov qword [r14], rsi
lea rcx, [rsp + 0x50]
call fcn.14004fb20
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14014ac50
mov rax, r14
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140178800
ud2
Function at 0x140031ba0
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 [0x1401e3a68]
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.140031df0
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 0x140031c53
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x140031d75
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.140031df0
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 0x140031cb3
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x140031d75
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.140031df0
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 0x140031d14
mov rbp, qword [rsp + 0x48]
test rbp, rbp
jne 0x140031d75
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.140031df0
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 0x140031de9
mov rbp, qword [rsp + 0x48]
test rbp, rbp
je 0x140031de9
mov rcx, rbp
call fcn.140185cb0
mov rsi, rax
mov rax, qword [r15 + 0x18]
cmp rax, rsi
jae 0x140031d99
mov rcx, r15
mov rdx, rsi
mov r9, rbp
call fcn.140006120
jmp 0x140031dc0
mov rdi, r15
cmp rax, 8
jb 0x140031da5
mov rdi, qword [r15]
mov qword [r15 + 0x10], rsi
mov r8, rsi
add r8, rsi
mov rcx, rdi
mov rdx, rbp
call fcn.14016e8e0
mov word [rdi + rsi*2], 0
mov sil, 1
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14014ac50
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 0x140031dc3
Function at 0x1400359d0
Capabilities:
Check if file exists
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.140035330
test al, al
jne 0x1400359f1
mov rcx, rsi
call fcn.140035330
test al, al
je 0x1400359fa
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 0x14003a030
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x80
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x78], rax
lea rdx, str.MoveUnsafe
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x3b5
call fcn.14003bd00
lea rcx, [rsp + 0x28]
xor ebp, ebp
mov rdx, rbx
xor r8d, r8d
call fcn.14004f9f0
cmp qword [rsi + 0x10], 0x103
ja 0x14003a1ae
cmp qword [rdi + 0x10], 0x103
ja 0x14003a1ac
cmp qword [rdi + 0x18], 7
mov rdx, rdi
jbe 0x14003a0ae
mov rdx, qword [rdi]
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x14003a0bb
mov rcx, qword [rsi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bpl, 1
test eax, eax
jne 0x14003a1ae
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 + 0x40]
mov rcx, rbx
mov r9d, 0x1bd
call fcn.14003bd00
lea rbp, [rsp + 0x60]
mov rcx, rbp
mov rdx, rbx
xor r8d, r8d
call fcn.14004f9f0
cmp qword [rsi + 0x18], 7
mov rcx, rsi
jbe 0x14003a11c
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rcx, rbp
call fcn.14004fb20
cmp ebx, 0xffffffff
je 0x14003a1a3
and ebx, 0x10
je 0x14003a1a3
lea rdx, str.CopyAndDeleteDirectory
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov r9d, 0x3d8
call fcn.14003bd00
lea rcx, [rsp + 0x60]
mov rdx, rbx
xor r8d, r8d
call fcn.14004f9f0
mov rcx, rsi
mov rdx, rdi
mov r8b, 1
xor r9d, r9d
call fcn.140038320
test al, al
je 0x14003a199
mov bpl, 1
mov rcx, rsi
mov dl, 1
call fcn.140037bf0
test al, al
je 0x14003a199
lea rcx, [rsp + 0x60]
call fcn.14004fb20
jmp 0x14003a1ae
lea rcx, [rsp + 0x60]
call fcn.14004fb20
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebp, ebp
lea rcx, [rsp + 0x28]
call fcn.14004fb20
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14014ac50
mov eax, ebp
add rsp, 0x80
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400365e0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x80], 0
je 0x140036660
cmp qword [rsi + 0x68], 0
je 0x14003669a
cmp byte [rsi + 0x71], 0
je 0x14003669a
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140036696
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea rbx, [rsp + 0x28]
mov qword [rsp + 0x20], rbx
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
test eax, eax
je 0x140036664
cmp eax, 1
je 0x140036668
cmp eax, 3
jne 0x140036696
jmp 0x14003669a
xor edi, edi
jmp 0x1400366b1
mov byte [rsi + 0x71], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x140036690
mov r9, qword [rsi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, rbx
call fcn.14017f9d0
cmp rbx, rax
jne 0x140036696
cmp byte [rsi + 0x71], 0
je 0x14003669a
xor ebx, ebx
jmp 0x14003669d
mov rbx, rsi
mov rcx, qword [rsi + 0x80]
call fcn.14017e5e0
xor edi, edi
test eax, eax
cmove rdi, rbx
mov byte [rsi + 0x7c], 0
mov byte [rsi + 0x71], 0
lea rax, [rsi + 8]
mov qword [rsi + 0x18], rax
lea rax, [rsi + 0x10]
mov qword [rsi + 0x20], rax
lea rax, [rsi + 0x28]
mov qword [rsi + 0x38], rax
lea rax, [rsi + 0x30]
mov qword [rsi + 0x40], rax
lea rax, [rsi + 0x48]
mov qword [rsi + 0x50], rax
lea rax, [rsi + 0x4c]
mov qword [rsi + 0x58], rax
mov qword [rsi + 0x48], 0
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x28], xmm0
mov qword [rsi + 0x80], 0
mov rax, qword [0x1401e67a8]
mov qword [rsi + 0x74], rax
mov qword [rsi + 0x68], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014ac50
mov rax, rdi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140036840
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x80], rax
cmp edx, 0xffffffff
je 0x14003696e
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x14003689e
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x14003689e
add ecx, 0xffffffff
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
mov byte [rcx], sil
jmp 0x1400369c5
cmp qword [rdi + 0x80], 0
je 0x140036972
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x1400368d8
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x140036979
mov byte [rsp + 0x5f], sil
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x60]
lea rdx, [rdi + 0x74]
mov rbp, qword [rcx]
lea rbx, [rsp + 0x48]
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rax
lea r15, [rsp + 0x60]
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r14, [rsp + 0x5f]
mov r8, r14
call qword [rbp + 0x38]
mov ebp, 0xffffffff
cmp eax, 2
jae 0x1400369a5
mov rbx, qword [rsp + 0x48]
sub rbx, r15
je 0x14003695e
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x60]
mov edx, 1
mov r8, rbx
call fcn.14017f9d0
cmp rbx, rax
jne 0x1400369c3
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x50], r14
mov eax, 0xffffffff
jmp 0x1400369be
xor esi, esi
jmp 0x1400369c5
mov esi, 0xffffffff
jmp 0x1400369c5
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call fcn.14017ef10
mov edi, eax
cmp eax, 0xffffffff
cmovne edi, esi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
jmp 0x1400369d7
cmp eax, 3
jne 0x1400369c3
mov rdx, qword [rdi + 0x80]
movsx ecx, byte [rsp + 0x5f]
call fcn.14017ef10
cmp eax, 0xffffffff
cmove esi, eax
mov ebp, esi
mov esi, ebp
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14014ac50
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140036e20
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r8
mov r15, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140036ec7
mov rsi, r14
test r14, r14
jle 0x140036f71
mov rsi, r14
nop
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140036ea0
mov rax, qword [rbx + 0x50]
movsxd rdi, dword [rax]
test rdi, rdi
jle 0x140036ea0
cmp rsi, rdi
cmovle rdi, rsi
mov rcx, r15
mov r8, rdi
call fcn.14016e8e0
add r15, rdi
sub rsi, rdi
mov rax, qword [rbx + 0x50]
sub dword [rax], edi
mov rax, qword [rbx + 0x38]
movsxd rcx, edi
add qword [rax], rcx
jmp 0x140036ebd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140036f71
mov byte [r15], al
add r15, 1
add rsi, 0xffffffffffffffff
test rsi, rsi
jg 0x140036e50
jmp 0x140036f71
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140036f17
test r14, r14
jle 0x140036f17
mov rax, qword [rbx + 0x50]
mov eax, dword [rax]
test eax, eax
jle 0x140036f17
movsxd rdi, eax
cmp rdi, r14
cmovg rdi, r14
mov rcx, r15
mov r8, rdi
call fcn.14016e8e0
add r15, rdi
mov rsi, r14
sub rsi, rdi
mov rax, qword [rbx + 0x50]
sub dword [rax], edi
mov rax, qword [rbx + 0x38]
movsxd rcx, edi
add qword [rax], rcx
test rsi, rsi
jg 0x140036f1f
jmp 0x140036f71
mov rsi, r14
test rsi, rsi
jle 0x140036f71
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x140036f71
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x140036f5e
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, r15
mov r8, rsi
call fcn.14017f100
sub rsi, rax
sub r14, rsi
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140036f90
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, r8
mov r15, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x140037035
mov rsi, r14
test r14, r14
jle 0x1400370ac
mov rsi, r14
nop
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140037010
mov rax, qword [rbx + 0x58]
movsxd rdi, dword [rax]
test rdi, rdi
jle 0x140037010
cmp rsi, rdi
cmovle rdi, rsi
mov rdx, r15
mov r8, rdi
call fcn.14016e8e0
add r15, rdi
sub rsi, rdi
mov rax, qword [rbx + 0x58]
sub dword [rax], edi
mov rax, qword [rbx + 0x40]
movsxd rcx, edi
add qword [rax], rcx
jmp 0x14003702e
movzx edx, byte [r15]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400370ac
add r15, 1
add rsi, 0xffffffffffffffff
test rsi, rsi
jg 0x140036fc0
jmp 0x1400370ac
mov rax, qword [rbx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x140037085
test r14, r14
jle 0x140037085
mov rax, qword [rbx + 0x58]
mov eax, dword [rax]
test eax, eax
jle 0x140037085
movsxd rdi, eax
cmp rdi, r14
cmovg rdi, r14
mov rdx, r15
mov r8, rdi
call fcn.14016e8e0
add r15, rdi
mov rsi, r14
sub rsi, rdi
mov rax, qword [rbx + 0x58]
sub dword [rax], edi
mov rax, qword [rbx + 0x40]
movsxd rcx, edi
add qword [rax], rcx
test rsi, rsi
jg 0x14003708d
jmp 0x1400370ac
mov rsi, r14
test rsi, rsi
jle 0x1400370ac
mov r9, qword [rbx + 0x80]
test r9, r9
je 0x1400370ac
mov edx, 1
mov rcx, r15
mov r8, rsi
call fcn.14017f9d0
sub rsi, rax
sub r14, rsi
mov rax, r14
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400370c0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x60
mov ebx, r9d
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r13, [rcx + 0x70]
cmp r9d, 1
jne 0x140037106
mov rax, qword [rdi + 0x38]
cmp qword [rax], r13
jne 0x140037106
cmp qword [rdi + 0x68], 1
sbb r14, 0
cmp qword [rdi + 0x80], 0
je 0x1400371a5
cmp qword [rdi + 0x68], 0
je 0x140037170
cmp byte [rdi + 0x71], 0
je 0x140037170
mov rax, qword [rdi]
mov rcx, rdi
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400371a5
mov rcx, qword [rdi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea r15, [rsp + 0x30]
mov r8, r15
call qword [r10 + 0x40]
test eax, eax
je 0x140037215
cmp eax, 1
je 0x140037219
cmp eax, 3
jne 0x1400371a5
cmp ebx, 1
jne 0x14003717a
test r14, r14
je 0x140037190
mov rcx, qword [rdi + 0x80]
mov rdx, r14
mov r8d, ebx
call fcn.140176f70
test eax, eax
jne 0x1400371a5
mov rcx, qword [rdi + 0x80]
lea rdx, [rsp + 0x30]
call fcn.14017ebe0
test eax, eax
je 0x1400371d3
mov qword [rsi], 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsi + 8], xmm0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14014ac50
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rdi + 0x18]
cmp qword [rax], r13
jne 0x1400371fb
mov ecx, dword [rdi + 0x90]
mov rdx, qword [rdi + 0x88]
mov qword [rax], rdx
mov rax, qword [rdi + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rdi + 0x50]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rdi + 0x74]
mov qword [rsi], rax
mov qword [rsi + 8], 0
mov qword [rsi + 0x10], rcx
jmp 0x1400371b3
mov byte [rdi + 0x71], 0
mov r12, qword [rsp + 0x28]
sub r12, r15
je 0x140037245
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x30]
mov edx, 1
mov r8, r12
call fcn.14017f9d0
cmp r12, rax
jne 0x1400371a5
cmp byte [rdi + 0x71], 0
jne 0x1400371a5
jmp 0x140037170