joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400293b0
Capabilities:
Accept command line arguments

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x1401a0e98], 0
je 0x1400293d5
xor esi, esi
jmp 0x140029485
mov ecx, 0x60
call fcn.140120368
mov rsi, rax
mov ecx, 0x18
call fcn.140120368
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
movups xmmword [rsi + 0x18], xmm0
mov qword [rsi + 0x28], 0
lea rax, [rsi + 0x38]
movups xmmword [rsi + 0x38], xmm0
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x48], 1
mov dword [rsi + 0x50], 0
mov qword [rsi + 0x58], 0
mov qword [0x1401a0e98], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002946e
cmp word [rax], 0
je 0x14002946e
xor ecx, ecx
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x140029460
jmp 0x140029470
xor ecx, ecx
mov qword [rsp + 0x30], rcx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400294a0
mov sil, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x40
pop rsi
ret
Function at 0x1400294a0
Capabilities:
Accept command line arguments

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 rsi, rdx
mov r14, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x78], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x60], xmm0
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov r8d, 3
call fcn.140038ef0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x1400296dc
mov dword [rsp + 0x5c], 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 rdi, rax
test rax, rax
je 0x140029549
lea rdx, [0x140157e5a]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002955c
mov rbx, rax
mov rcx, qword [rsi]
lea rdx, [rsp + 0x5c]
call rax
jmp 0x140029557
mov rcx, qword [rsi]
lea rdx, [rsp + 0x5c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
jmp 0x14002955f
xor r15d, r15d
movsxd r12, dword [rsp + 0x5c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
test r12, r12
je 0x140029673
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], r14
test r12d, r12d
js 0x140029712
shl r12, 3
lea rdi, [r12 + r12*2]
mov rcx, rdi
call fcn.140120368
mov rsi, rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rax
add rax, rdi
mov qword [rsp + 0x50], rax
xor r14d, r14d
xorps xmm6, xmm6
movabs rbp, 0x7ffffffffffffff0
mov qword [rsp + 0x38], r12
jmp 0x140029602
lea eax, [rbx + rbx]
mov byte [rsi], al
lea rdi, [rsi + 2]
test rbx, rbx
je 0x1400295ef
mov r8, rbx
add r8, rbx
mov rcx, rdi
mov rdx, r13
call fcn.140123290
mov word [rdi + rbx*2], 0
add rsi, 0x18
add r14, 8
cmp r12, r14
je 0x140029664
mov r13, qword [r15 + r14]
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
mov rcx, r13
call fcn.140140af4
cmp rax, rbp
jae 0x140029705
mov rbx, rax
cmp rax, 0xb
jb 0x1400295d0
mov r12, r15
lea r15, [rbx + 8]
and r15, 0xfffffffffffffff8
js 0x14002970d
lea rcx, [r15 + r15]
call fcn.140120368
mov rdi, rax
mov qword [rsi + 0x10], rax
or r15, 1
mov qword [rsi], r15
mov qword [rsi + 8], rbx
mov r15, r12
mov r12, qword [rsp + 0x38]
jmp 0x1400295de
mov qword [rsp + 0x48], rsi
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.140028d20
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x140029697
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x40]
test rsi, rsi
je 0x1400296dc
mov rax, qword [rsp + 0x48]
cmp rax, rsi
jne 0x1400296b8
mov rcx, rsi
jmp 0x1400296d2
mov rax, rdi
cmp rsi, rdi
je 0x1400296cd
lea rdi, [rax - 0x18]
test byte [rax - 0x18], 1
je 0x1400296b0
mov rcx, qword [rax - 8]
call fcn.1401203c4
jmp 0x1400296b0
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x48], rsi
call fcn.1401203c4
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401207e0
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 rcx, rsi
call fcn.14002482c
call fcn.140134e78
lea rcx, [rsp + 0x40]
call fcn.140026eb0
int3
Function at 0x14002e600
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov r14, r8
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x88], rax
test rdx, rdx
je 0x14002e65c
test byte [r12], 1
jne 0x14002e64b
mov word [r12], 0
jmp 0x14002e65c
mov rax, qword [r12 + 0x10]
mov byte [rax], 0
mov qword [r12 + 8], 0
mov rcx, rdi
call fcn.14002e1e0
test al, al
jne 0x14002e7e9
lea rdx, [0x140154828]
mov rcx, rdi
call fcn.140046e50
test rax, rax
je 0x14002e7e9
mov rbx, rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], r13
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
lea r15, [rsp + 0x60]
mov rcx, r15
call fcn.14002c4a0
mov rcx, rdi
mov rdx, r15
call fcn.140047750
test al, al
mov rsi, qword [rsp + 0x60]
cmove rsi, r13
mov ebp, 0xffff
mov edi, 0xffff
cmovne rdi, rsi
mov rcx, r15
call fcn.140002c80
test rsi, rsi
cmovle rdi, rbp
cmp rdi, r14
cmova rdi, r14
add rdi, 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
xor esi, esi
lea rcx, [rsp + 0x40]
mov rdx, rdi
xor r8d, r8d
call fcn.140024ab4
mov qword [rsp + 0x30], r13
movaps xmmword [rsp + 0x20], xmm6
lea rdx, str.ReadFileToStringWithMaxSize
lea r8, str..._.._base_files_file_util.cc
lea r15, [rsp + 0x60]
mov rcx, r15
mov r9d, 0xa0
call fcn.14002f5d0
lea rcx, [rsp + 0x20]
mov rdx, r15
xor r8d, r8d
call fcn.14003b4e0
test byte [rsp + 0x40], 1
lea r13, [rsp + 0x41]
mov rcx, r13
je 0x14002e767
mov rcx, qword [rsp + 0x50]
mov edx, 1
mov r8, rdi
mov r9, rbx
call fcn.14013afdc
test rax, rax
je 0x14002e819
mov ebp, 0x10000
lea r15, [rsp + 0x40]
xor esi, esi
jmp 0x14002e7a8
add rcx, rsi
mov edx, 1
mov r8, rdi
mov r9, rbx
call fcn.14013afdc
test rax, rax
je 0x14002e819
mov rcx, r14
sub rcx, rsi
cmp rcx, rax
jb 0x14002e82c
test rsi, rsi
cmove rdi, rbp
add rsi, rax
mov rcx, rbx
call fcn.14013a800
test eax, eax
jne 0x14002e819
lea rdx, [rsi + rdi]
mov rcx, r15
xor r8d, r8d
call fcn.140024ab4
test byte [rsp + 0x40], 1
mov rcx, r13
je 0x14002e790
mov rcx, qword [rsp + 0x50]
jmp 0x14002e790
xor edi, edi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401207e0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call fcn.14013a82c
test eax, eax
sete dil
mov r14, rsi
jmp 0x14002e82e
xor edi, edi
mov rcx, rbx
call fcn.14013a718
test r12, r12
je 0x14002e871
movups xmm0, xmmword [r12]
mov rax, qword [r12 + 0x10]
mov rcx, qword [rsp + 0x50]
mov qword [r12 + 0x10], rcx
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [r12], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov rcx, r12
mov rdx, r14
xor r8d, r8d
call fcn.140024ab4
lea rcx, [rsp + 0x20]
call fcn.14003b620
test byte [rsp + 0x40], 1
je 0x14002e7eb
mov rcx, qword [rsp + 0x50]
call fcn.1401203c4
jmp 0x14002e7eb
mov r8, 0xffffffffffffffff
jmp 0x14002e600
Function at 0x14002e8a0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov r14, r8
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x88], rax
test rdx, rdx
je 0x14002e65c
test byte [r12], 1
jne 0x14002e64b
mov word [r12], 0
jmp 0x14002e65c
mov rax, qword [r12 + 0x10]
mov byte [rax], 0
mov qword [r12 + 8], 0
mov rcx, rdi
call fcn.14002e1e0
test al, al
jne 0x14002e7e9
lea rdx, [0x140154828]
mov rcx, rdi
call fcn.140046e50
test rax, rax
je 0x14002e7e9
mov rbx, rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], r13
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
lea r15, [rsp + 0x60]
mov rcx, r15
call fcn.14002c4a0
mov rcx, rdi
mov rdx, r15
call fcn.140047750
test al, al
mov rsi, qword [rsp + 0x60]
cmove rsi, r13
mov ebp, 0xffff
mov edi, 0xffff
cmovne rdi, rsi
mov rcx, r15
call fcn.140002c80
test rsi, rsi
cmovle rdi, rbp
cmp rdi, r14
cmova rdi, r14
add rdi, 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
xor esi, esi
lea rcx, [rsp + 0x40]
mov rdx, rdi
xor r8d, r8d
call fcn.140024ab4
mov qword [rsp + 0x30], r13
movaps xmmword [rsp + 0x20], xmm6
lea rdx, str.ReadFileToStringWithMaxSize
lea r8, str..._.._base_files_file_util.cc
lea r15, [rsp + 0x60]
mov rcx, r15
mov r9d, 0xa0
call fcn.14002f5d0
lea rcx, [rsp + 0x20]
mov rdx, r15
xor r8d, r8d
call fcn.14003b4e0
test byte [rsp + 0x40], 1
lea r13, [rsp + 0x41]
mov rcx, r13
je 0x14002e767
mov rcx, qword [rsp + 0x50]
mov edx, 1
mov r8, rdi
mov r9, rbx
call fcn.14013afdc
test rax, rax
je 0x14002e819
mov ebp, 0x10000
lea r15, [rsp + 0x40]
xor esi, esi
jmp 0x14002e7a8
add rcx, rsi
mov edx, 1
mov r8, rdi
mov r9, rbx
call fcn.14013afdc
test rax, rax
je 0x14002e819
mov rcx, r14
sub rcx, rsi
cmp rcx, rax
jb 0x14002e82c
test rsi, rsi
cmove rdi, rbp
add rsi, rax
mov rcx, rbx
call fcn.14013a800
test eax, eax
jne 0x14002e819
lea rdx, [rsi + rdi]
mov rcx, r15
xor r8d, r8d
call fcn.140024ab4
test byte [rsp + 0x40], 1
mov rcx, r13
je 0x14002e790
mov rcx, qword [rsp + 0x50]
jmp 0x14002e790
xor edi, edi
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1401207e0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call fcn.14013a82c
test eax, eax
sete dil
mov r14, rsi
jmp 0x14002e82e
xor edi, edi
mov rcx, rbx
call fcn.14013a718
test r12, r12
je 0x14002e871
movups xmm0, xmmword [r12]
mov rax, qword [r12 + 0x10]
mov rcx, qword [rsp + 0x50]
mov qword [r12 + 0x10], rcx
movaps xmm1, xmmword [rsp + 0x40]
movups xmmword [r12], xmm1
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rax
mov rcx, r12
mov rdx, r14
xor r8d, r8d
call fcn.140024ab4
lea rcx, [rsp + 0x20]
call fcn.14003b620
test byte [rsp + 0x40], 1
je 0x14002e7eb
mov rcx, qword [rsp + 0x50]
call fcn.1401203c4
jmp 0x14002e7eb
mov r8, 0xffffffffffffffff
jmp 0x14002e600
Function at 0x140030000
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x250
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov r14b, 1
cmp qword [0x1401a0ed8], 0
jne 0x1400302b2
mov rdi, qword [0x1401a0eb8]
test rdi, rdi
je 0x14003004e
test byte [0x14019d308], 1
jne 0x140030168
jmp 0x1400302b2
mov ecx, 0x18
call fcn.140120368
mov rdi, rax
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401236f0
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.140140af4
mov rbx, rax
movabs rax, 0x7ffffffffffffff0
cmp rbx, rax
jae 0x1400302d3
cmp rbx, 0xb
jae 0x1400300c6
lea eax, [rbx + rbx]
mov byte [rdi], al
mov rsi, rdi
add rsi, 2
test rbx, rbx
jne 0x1400300f1
jmp 0x140030104
lea rbp, [rbx + 8]
and rbp, 0xfffffffffffffff8
js 0x1400302db
mov rcx, rbp
add rcx, rbp
call fcn.140120368
mov rsi, rax
mov qword [rdi + 0x10], rax
or rbp, 1
mov qword [rdi], rbp
mov qword [rdi + 8], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140123290
mov word [rsi + rbx*2], 0
movzx r8d, byte [rdi]
test r8b, 1
je 0x14003011a
mov r8, qword [rdi + 8]
jmp 0x14003011d
shr r8, 1
mov rcx, rdi
mov dx, 0x5c
call fcn.1400265f2
cmp rax, 0xffffffffffffffff
je 0x140030145
add rax, 1
mov rcx, rdi
mov rdx, rax
mov r8, 0xffffffffffffffff
call fcn.14002628a
lea rdx, [0x140157ff8]
mov rcx, rdi
call fcn.140025e70
mov qword [0x1401a0eb8], rdi
test byte [0x14019d308], 1
je 0x1400302b2
test byte [rdi], 1
jne 0x140030173
add rdi, 2
jmp 0x140030177
mov rdi, qword [rdi + 0x10]
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 [0x1401a0ed8], rax
add rax, 1
cmp rax, 1
ja 0x1400302b2
lea rsi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.1401236f0
mov word [rsp + 0x40], 0
mov ecx, 0x104
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1400302af
cmp eax, 0x104
ja 0x1400302af
mov rcx, qword [0x1401a0eb8]
lea rdx, [rsp + 0x40]
call fcn.14002603a
mov rcx, qword [0x1401a0eb8]
movzx eax, byte [rcx]
test al, 1
jne 0x140030221
lea rdx, [rcx + 2]
shr rax, 1
jmp 0x140030229
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
cmp word [rdx + rax*2 - 2], 0x5c
je 0x140030244
lea rdx, [0x140157ff4]
call fcn.140025e70
mov rcx, qword [0x1401a0eb8]
lea rdx, [0x140157ff8]
call fcn.140025e70
mov rcx, qword [0x1401a0eb8]
test byte [rcx], 1
jne 0x140030262
add rcx, 2
jmp 0x140030266
mov rcx, qword [rcx + 0x10]
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 [0x1401a0ed8], rax
add rax, 1
cmp rax, 1
ja 0x1400302b2
mov qword [0x1401a0ed8], 0
xor r14d, r14d
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1401207e0
mov eax, r14d
add rsp, 0x250
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rdi
call fcn.14002482c
call fcn.140134e78
int3
Function at 0x14003c810
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x68
movaps xmmword [rsp + 0x50], xmm6
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rax, [0x140159aa0]
mov qword [rcx], rax
add rcx, 8
call fcn.14003bb50
lea rcx, [rsi + 0x10]
call fcn.14003bb50
mov byte [rsi + 0x18], 0
lea rcx, [rsi + 0x40]
xorps xmm6, xmm6
movups xmmword [rsi + 0x1c], xmm6
movups xmmword [rsi + 0x2c], xmm6
mov dword [rsi + 0x3c], 0
call fcn.14003bb50
mov byte [rsi + 0x48], 0
movups xmmword [rsi + 0x50], xmm6
mov qword [rsi + 0x60], 0
lea rax, [rsi + 0x70]
movups xmmword [rsi + 0x70], xmm6
mov qword [rsi + 0x68], rax
movups xmmword [rsi + 0x80], xmm6
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
mov dword [rsi + 0xd0], 0x3f800000
mov dword [rsi + 0xd8], 0
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
mov dword [rsi + 0x100], 0x3f800000
movups xmmword [rsi + 0x108], xmm6
movups xmmword [rsi + 0x118], xmm6
mov dword [rsi + 0x128], 0x3f800000
movups xmmword [rsi + 0x140], xmm6
movups xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x150], 0
mov dword [rsi + 0x158], 0x3f800000
movups xmmword [rsi + 0x160], xmm6
movups xmmword [rsi + 0x170], xmm6
mov dword [rsi + 0x180], 0x3f800000
mov qword [rsi + 0x1a0], 0
movups xmmword [rsi + 0x188], xmm6
mov dword [rsi + 0x198], 0
mov eax, dword [0x14015e078]
mov qword [rsi + 0x1a8], rax
lea rcx, [rsi + 0x1b0]
call fcn.140067d80
movups xmmword [rsi + 0x2e0], xmm6
mov qword [rsi + 0x2f0], 0
lea rcx, [rsi + 0x2f8]
xor edx, edx
call fcn.14005c730
lea rcx, [rsi + 0x300]
xor edx, edx
call fcn.14005c730
lea rcx, [rsi + 0x308]
xor edx, edx
call fcn.14005c730
movups xmmword [rsi + 0x310], xmm6
movups xmmword [rsi + 0x320], xmm6
mov dword [rsi + 0x330], 0x3f800000
movups xmmword [rsi + 0x338], xmm6
movups xmmword [rsi + 0x348], xmm6
movups xmmword [rsi + 0x358], xmm6
movups xmmword [rsi + 0x361], xmm6
movups xmmword [rsi + 0x378], xmm6
movups xmmword [rsi + 0x388], xmm6
call fcn.140002c80
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [rsi + 0x198], eax
cdqe
movabs rcx, 0xcbf29ce484222325
xor rcx, rax
movabs rax, 0x100000001b3
imul rax, rcx
mov qword [rsi + 0x190], rax
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.140048e50
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.140049040
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x130], rax
mov rcx, rdi
call fcn.140048d70
mov rcx, rsi
call fcn.14003cab0
mov rcx, qword [rsi + 0x20]
mov qword [rsi + 0x20], rax
test rcx, rcx
je 0x14003ca5a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
call fcn.140065c70
mov qword [rsp + 0x28], 0
lea r8, str.TraceLog
lea r9, [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call fcn.140065de0
mov qword [0x1401a13a8], rsi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401207e0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x68
pop rdi
pop rsi
ret
Function at 0x140046580
Capabilities:
Move file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x68], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x50], xmm0
lea rdx, [0x140159cb8]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x193
call fcn.14002f5d0
lea rcx, [rsp + 0x50]
mov rdx, rbx
xor r8d, r8d
call fcn.14003b4e0
lea rbx, [rdi + 2]
test byte [rdi], 1
mov rdx, rbx
je 0x140046602
mov rdx, qword [rdi + 0x10]
lea rbp, [rsi + 2]
test byte [rsi], 1
mov rcx, rbp
je 0x140046612
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov r12b, 1
test eax, eax
jne 0x140046681
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400487a0
mov r15d, eax
test byte [rsi], 1
je 0x140046638
mov rbp, qword [rsi + 0x10]
test byte [rdi], 1
je 0x140046641
mov rbx, qword [rdi + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, rbx
mov rdx, rbp
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x140046681
test r14, r14
je 0x14004667e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400487a0
cmp eax, 0xfffffffc
cmovne r15d, eax
mov dword [r14], r15d
xor r12d, r12d
lea rcx, [rsp + 0x50]
call fcn.14003b620
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401207e0
mov eax, r12d
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1ba
call fcn.14002f5d0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14003b4e0
test byte [rsi], 1
je 0x140046723
mov rsi, qword [rsi + 0x10]
jmp 0x140046727
add rsi, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.14003b620
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401207e0
mov eax, ebx
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140046760
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x58], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1cc
call fcn.14002f5d0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14003b4e0
test byte [rsi], 1
je 0x1400467d3
mov rsi, qword [rsi + 0x10]
jmp 0x1400467d7
add rsi, 2
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.14003b620
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret

Function at 0x140046810
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rdi
mov dl, 0xaa
call fcn.1401236f0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
add eax, 0xffffffff
cmp eax, 0x102
jbe 0x140046860
xor esi, esi
jmp 0x1400468c5
mov qword [rsp + 0x20], rdi
cmp word [rsp + 0x60], 0
je 0x14004687e
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x62], 0
lea rax, [rax + 1]
jne 0x140046870
jmp 0x140046880
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14002c770
lea rbx, [rsp + 0x48]
mov rcx, rdi
mov rdx, rbx
call fcn.14002e150
mov rcx, rsi
mov rdx, rbx
call fcn.14002c880
mov rcx, rbx
call fcn.14002c850
mov rcx, rdi
call fcn.14002c850
mov sil, 1
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400468f0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401236f0
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 0x140046970
cmp word [rsp + 0x70], 0
je 0x140046970
mov qword [rsp + 0x60], rdi
xor eax, eax
nop
cmp word [rsp + rax*2 + 0x72], 0
lea rax, [rax + 1]
jne 0x140046950
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14002c770
jmp 0x1400469df
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.14002c720
mov rcx, rdi
call fcn.140046810
test al, al
je 0x1400469b3
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14002c750
jmp 0x1400469d5
lea rax, [0x140159ce0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14002c770
lea rcx, [rsp + 0x40]
call fcn.14002c850
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1401207e0
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret