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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov r12, r9
mov r14, r8
mov rdi, rdx
mov r15, rcx
call fcn.1400434a6
mov ebx, eax
test rdi, rdi
je 0x140037760
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140037773
movzx eax, word [rax]
jmp 0x140037783
xor esi, esi
mov eax, 6
test bl, bl
jne 0x14003780c
xor edi, edi
jmp 0x140037799
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401c1010]
xor esi, esi
cmp ax, 0xffff
sete cl
cmove rdi, rsi
mov eax, 6
cmp bl, cl
je 0x14003780c
mov rcx, qword [r15]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1400377ab
movzx esi, word [rax]
jmp 0x1400377ba
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1401c1010]
mov esi, eax
mov rax, qword [r12]
mov rax, qword [rax + 0x18]
mov rcx, r12
mov dx, 4
mov r8d, esi
call qword [0x1401c1010]
test al, al
je 0x140037805
mov rax, qword [r12]
mov rax, qword [rax + 0x68]
mov rcx, r12
mov edx, esi
xor r8d, r8d
call qword [0x1401c1010]
mov ebx, eax
mov rcx, qword [r15]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x140037820
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x14003782d
xor esi, esi
mov eax, 4
or dword [r14], eax
mov eax, esi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1401c1010]
mov ebp, dword [rsp + 0x80]
movsx esi, bl
mov rcx, r15
call fcn.1400434a6
mov ebx, eax
test rdi, rdi
je 0x140037855
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140037859
movzx eax, word [rax]
jmp 0x140037869
mov al, 1
jmp 0x140037872
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401c1010]
cmp ax, 0xffff
sete al
jne 0x140037874
xor edi, edi
add esi, 0xffffffd0
cmp bl, al
je 0x140037915
cmp ebp, 2
jl 0x140037915
mov rcx, qword [r15]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14003789a
movzx ebx, word [rax]
jmp 0x1400378a9
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x1401c1010]
mov ebx, eax
mov rax, qword [r12]
mov rax, qword [rax + 0x18]
mov rcx, r12
mov dx, 4
mov r8d, ebx
call qword [0x1401c1010]
test al, al
je 0x14003780f
mov rax, qword [r12]
mov rax, qword [rax + 0x68]
mov rcx, r12
mov edx, ebx
xor r8d, r8d
call qword [0x1401c1010]
mov ebx, eax
mov rcx, qword [r15]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1400378f8
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x140037905
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x1401c1010]
lea eax, [rsi + rsi*4]
movsx ecx, bl
lea esi, [rcx + rax*2]
dec ebp
jmp 0x140037837
mov rcx, r15
call fcn.1400434a6
mov ebx, eax
test rdi, rdi
je 0x140037933
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140037945
movzx eax, word [rax]
jmp 0x140037955
mov eax, 2
test bl, bl
jne 0x14003780c
jmp 0x14003780f
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x1401c1010]
cmp ax, 0xffff
sete al
xor bl, al
mov eax, 2
je 0x14003780c
jmp 0x14003780f
Function at 0x1400476e8
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.140136828
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140047750]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.1401448a0
mov qword [rbx], rax
test rax, rax
je 0x14004773f
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x140061c8e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x30], rcx
lea rcx, [0x1401a7b20]
xor edx, edx
call fcn.1401379cc
test rax, rax
je 0x140061d98
mov rbx, rax
mov ecx, dword [rsp + 0x28]
mov eax, ecx
shr eax, 4
inc eax
movzx r13d, ax
mov r14d, ecx
and r14d, 0xf
lea eax, [r14 - 1]
mov dword [rsp + 0x2c], eax
mov ebp, 1
mov r15, qword [sym.imp.KERNEL32.dll_FindResourceExW]
lea r12, [0x1401a7b20]
mov edx, 6
mov rcx, rbx
mov r8, r13
xor r9d, r9d
call r15
test rax, rax
je 0x140061d7d
mov rdi, rax
mov rcx, rbx
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140061d7d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140061d7d
mov rsi, rax
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setne cl
test r14d, r14d
je 0x140061d6e
test eax, eax
je 0x140061d6e
mov ecx, eax
mov rax, rsi
add rax, rcx
mov edx, dword [rsp + 0x2c]
movzx ecx, word [rsi]
lea rsi, [rsi + rcx*2]
add rsi, 2
cmp rsi, rax
setb cl
add edx, 0xffffffff
jae 0x140061d6e
cmp rsi, rax
jb 0x140061d53
test cl, cl
je 0x140061d7d
cmp word [rsi], 0
je 0x140061d7d
test rsi, rsi
jne 0x140061dab
lea esi, [rbp + 1]
mov rcx, r12
mov edx, ebp
call fcn.1401379cc
mov rbx, rax
mov ebp, esi
test rax, rax
jne 0x140061cf2
xor eax, eax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test rbx, rbx
je 0x140061d98
mov rcx, qword [rsp + 0x30]
mov rdx, rbx
mov r8d, dword [rsp + 0x28]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140061dd2

Function at 0x140061dd2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
mov eax, r8d
shr eax, 4
inc eax
movzx edx, ax
mov r8d, 6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindResourceW]
xor r15d, r15d
test rax, rax
je 0x140061ec4
mov rbp, rax
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140061ec4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
je 0x140061ec4
mov rsi, rax
mov rcx, rdi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setne cl
and ebx, 0xf
je 0x140061e79
test eax, eax
je 0x140061e79
mov ecx, eax
mov rax, rsi
add rax, rcx
dec ebx
movzx ecx, word [rsi]
lea rsi, [rsi + rcx*2]
add rsi, 2
cmp rsi, rax
setb cl
add ebx, 0xffffffff
jae 0x140061e79
cmp rsi, rax
jb 0x140061e5e
test cl, cl
je 0x140061ec4
movzx edi, word [rsi]
test edi, edi
je 0x140061ec4
test rsi, rsi
je 0x140061ec4
lea rbx, [rsi + 2]
mov rcx, r14
mov edx, edi
call fcn.140061f66
movzx r9d, word [rsi]
mov rcx, rax
mov edx, edi
mov r8, rbx
call fcn.140061ee0
mov rax, qword [r14]
cmp dword [rax - 0xc], edi
jl 0x140061ed4
mov dword [rax - 0x10], edi
mov rax, qword [r14]
mov ecx, edi
mov word [rax + rcx*2], 0
mov r15d, 1
mov eax, r15d
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov ecx, 0x80070057
call fcn.140061779
int3
Function at 0x1400662b2
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400662d9
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dil, 1
test eax, eax
jne 0x1400663d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14006631a
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140137110
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400663ef
mov ecx, 2
call fcn.14006d9d0
test al, al
je 0x1400663d1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x265
mov r9d, 2
call fcn.14006ea90
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, 0x10
call fcn.14001df3c
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x38]
mov rcx, rsi
call fcn.14004af80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400663ab
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.14001df3c
cmp byte [rsp + 0x4f], 0
jns 0x1400663c7
mov rcx, qword [rsp + 0x38]
call fcn.140136864
lea rcx, [rsp + 0x50]
call fcn.14006eb80
xor edi, edi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140137110
mov eax, edi
add rsp, 0x198
pop rdi
pop rsi
ret
Function at 0x1400663ef
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x1a8
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
cmp byte [rcx + 0x17], 0
jns 0x140066416
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400664f8
mov dil, 1
test al, 0x10
jne 0x1400665b1
mov ecx, 2
call fcn.14006d9d0
test al, al
je 0x1400665af
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x254
mov r9d, 2
call fcn.14006da80
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14001df3c
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.14004af80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400664b8
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.14001df3c
lea rdx, str.:_not_a_directory
mov r8d, 0x11
mov rcx, rax
call fcn.14001df3c
cmp byte [rsp + 0x5f], 0
jns 0x1400664e9
mov rcx, qword [rsp + 0x48]
call fcn.140136864
lea rcx, [rsp + 0x60]
call fcn.14006df10
jmp 0x1400665af
mov ecx, 2
call fcn.14006d9d0
test al, al
je 0x1400665af
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x250
mov r9d, 2
call fcn.14006ea90
lea rcx, [rsp + 0x70]
lea rdx, str.GetFileAttributes
mov r8d, 0x12
call fcn.14001df3c
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea rdx, [rsp + 0x38]
mov qword [rdx], rcx
cmovs rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rsi, [rsp + 0x48]
mov rcx, rsi
call fcn.14004af80
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x140066589
mov r8, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call fcn.14001df3c
cmp byte [rsp + 0x5f], 0
jns 0x1400665a5
mov rcx, qword [rsp + 0x48]
call fcn.140136864
lea rcx, [rsp + 0x60]
call fcn.14006eb80
xor edi, edi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140137110
mov eax, edi
add rsp, 0x1a8
pop rdi
pop rsi
ret
Function at 0x140067e00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov rbp, qword [rcx + 0x58]
mov r15d, 1
cmp rdi, rbp
je 0x140067e98
mov r14, r8
mov rsi, rcx
lea rbx, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbx
call fcn.140091498
test al, al
jne 0x140067e5c
add rdi, 0x70
cmp rdi, rbp
jne 0x140067e41
mov rdi, rbp
cmp rdi, qword [rsi + 0x58]
je 0x140067e98
cmp byte [rdi + 0x27], 0
jns 0x140067e6e
mov rcx, qword [rdi + 0x10]
jmp 0x140067e72
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
mov r15d, 1
cmovne r15d, ecx
test r15d, r15d
jne 0x140067e98
mov qword [r14], rdi
xor r15d, r15d
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140137110
mov eax, r15d
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x140067f2e
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rbx, qword [rcx + 0x50]
mov rsi, qword [rcx + 0x58]
cmp rbx, rsi
je 0x140067f99
mov r14, r8
mov edi, edx
mov r15, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [rbx + 0x68], edi
jne 0x140067f90
cmp byte [rbx + 0x27], 0
jns 0x140067f63
mov rcx, qword [rbx + 0x10]
jmp 0x140067f67
lea rcx, [rbx + 0x10]
call r15
test al, 0x10
jne 0x140067f90
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x140067f85
mov rcx, r14
mov rdx, rbx
call fcn.14006917e
jmp 0x140067f90
mov rcx, r14
mov rdx, rbx
call fcn.1400691f6
add rbx, 0x70
cmp rbx, rsi
jne 0x140067f52
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret

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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x38], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
mov rdi, qword [rcx + 0x50]
mov rsi, qword [rcx + 0x58]
mov r12d, 1
cmp rdi, rsi
je 0x14006820e
mov r14, r9
mov r15d, r8d
mov rbx, rcx
lea rbp, [rsp + 0x20]
mov rcx, rdi
mov rdx, rbp
call fcn.140091498
test al, al
jne 0x1400681bf
add rdi, 0x70
cmp rdi, rsi
jne 0x1400681a4
mov rdi, rsi
cmp rdi, qword [rbx + 0x58]
je 0x14006820e
mov eax, dword [rdi + 0x68]
cmp eax, r15d
jne 0x1400681d9
cmp byte [rdi + 0x27], 0
jns 0x1400681ea
mov rcx, qword [rdi + 0x10]
jmp 0x1400681ee
xor ecx, ecx
cmp eax, 1
sete cl
lea r12d, [rcx + rcx*2]
inc r12d
jmp 0x14006820e
lea rcx, [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006820e
shr eax, 3
and eax, 2
mov r12d, eax
jne 0x14006820e
mov byte [rbx + 0x48], 1
mov qword [r14], rdi
xor r12d, r12d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140137110
mov eax, r12d
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140075100
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 [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x4a8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x4a0], rax
movaps xmm0, xmmword [0x140175f60]
movaps xmmword [rsp + 0x490], xmm0
movaps xmmword [rsp + 0x480], xmm0
movaps xmmword [rsp + 0x470], xmm0
movaps xmmword [rsp + 0x460], xmm0
movaps xmmword [rsp + 0x450], xmm0
lea rdx, [0x140181bf4]
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x240]
mov rcx, rsi
mov r9d, 0x17c
call fcn.140066190
lea rcx, [rsp + 0x450]
mov rdx, rsi
xor r8d, r8d
call fcn.1400bdcc0
lea rsi, [rsp + 0x240]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140139f20
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x1400751c4
mov rdx, qword [rbx]
mov r8d, 0x104
mov rcx, rsi
call fcn.140081f10
mov rcx, rsi
call fcn.140019ae0
lea rsi, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rsi
mov dl, 0xaa
call fcn.140139f20
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x1400751fb
mov rdx, qword [rdi]
mov r8d, 0x104
mov rcx, rsi
call fcn.140081f10
mov rcx, rsi
call fcn.140019ae0
cmp byte [rbx + 0x17], 0
mov rdx, rbx
jns 0x14007521d
mov rdx, qword [rbx]
cmp byte [rdi + 0x17], 0
mov rcx, rdi
jns 0x140075229
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]
mov sil, 1
test eax, eax
jne 0x140075292
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140077970
mov ebp, eax
cmp byte [rdi + 0x17], 0
jns 0x14007525f
mov rdi, qword [rdi]
cmp byte [rbx + 0x17], 0
jns 0x140075268
mov rbx, qword [rbx]
mov rcx, rbx
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne sil
jne 0x140075292
test r14, r14
je 0x140075292
cmp ebp, 0xfffffffc
jne 0x14007528d
call fcn.140077950
mov ebp, eax
mov dword [r14], ebp
xor esi, esi
lea rcx, [rsp + 0x450]
call fcn.1400bdfe0
mov rcx, qword [rsp + 0x4a8]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0x4b0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x140175f60]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
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, 0x1af
call fcn.140066190
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400bdcc0
cmp byte [rsi + 0x17], 0
jns 0x140075351
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.1400bdfe0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140137110
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x140075390
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x140175f60]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
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, 0x1d7
call fcn.140066190
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400bdcc0
cmp byte [rsi + 0x17], 0
jns 0x140075421
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
mov rcx, rdi
call fcn.1400bdfe0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140137110
mov eax, esi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x140075460
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov r14, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140139f20
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x140075503
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.140152ff8
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400505c0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.140052670
mov rcx, r14
mov rdx, rsi
call fcn.140050710
mov rcx, rsi
call fcn.1400506a0
mov rcx, rbx
call fcn.1400506a0
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140137110
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140075530
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140139f20
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 0x1400755a8
cmp word [rsp + 0x70], 0
je 0x1400755a8
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call fcn.140152ff8
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1400505c0
jmp 0x140075617
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [0x140175f60]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.140050540
mov rcx, rdi
call fcn.140075460
test al, al
je 0x1400755eb
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400505a0
jmp 0x14007560d
lea rax, [0x140181c1c]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400505c0
lea rcx, [rsp + 0x40]
call fcn.1400506a0
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140137110
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x140075640
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
movaps xmmword [rsp + 0xa0], xmm6
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x90], r15
movaps xmm6, xmmword [0x140175f60]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str..._.._base_files_file_util_win.cc
lea rsi, [rsp + 0x20]
mov rcx, rsi
mov r9d, 0x264
call fcn.140066190
lea rcx, [rsp + 0x40]
mov rdx, rsi
xor r8d, r8d
call fcn.1400bdcc0
cmp byte [rdi + 0x17], 0
mov r12, rdi
jns 0x1400756e2
mov r12, qword [rdi]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140075719
mov sil, 1
test al, 0x10
jne 0x140075805
test r14, r14
je 0x140075707
mov dword [r14], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x140075805
mov qword [rsp + 0x30], r15
movaps xmmword [rsp + 0x20], xmm6
lea rsi, [rsp + 0x20]
mov rcx, rdi
mov rdx, rsi
call fcn.1400511a0
movzx r8d, byte [rsp + 0x37]
mov rax, r8
test r8b, r8b
jns 0x140075746
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rdi + 0x17]
test cl, cl
js 0x14007575d
mov rdx, rdi
cmp rax, rcx
jne 0x1400757a4
test rax, rax
jne 0x14007576b
jmp 0x140075793
cmp rax, qword [rdi + 8]
jne 0x1400757a4
mov rdx, qword [rdi]
test rax, rax
je 0x140075793
test r8b, r8b
jns 0x140075775
mov rsi, qword [rsp + 0x20]
xor ecx, ecx
nop word [rax + rax]
movzx ebx, word [rsi + rcx*2]
cmp bx, word [rdx + rcx*2]
jne 0x1400757a4
add rcx, 1
cmp rax, rcx
jne 0x140075780
mov eax, 0xfffffffc
mov ebx, 2
test r14, r14
jne 0x1400757ee
jmp 0x1400757f1
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.140075640
test al, al
je 0x1400757f9
mov rcx, r12
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov sil, 1
test eax, eax
jne 0x1400757fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x1400757e2
mov rcx, rdi
call fcn.140075390
test al, al
jne 0x1400757fb
test r14, r14
je 0x1400757f1
mov ecx, ebx
call fcn.140077970
mov dword [r14], eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea rcx, [rsp + 0x20]
call fcn.1400506a0
lea rcx, [rsp + 0x40]
call fcn.1400bdfe0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140137110
mov eax, esi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret