joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007e710
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rdi, rdx
mov r14, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x50], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x30]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x140232ef0]
movaps xmmword [rsi], xmm0
mov rax, qword [rdx]
mov rax, qword [rax + 0x38]
mov rcx, rdx
mov rdx, rsi
call qword [case.0x1401f58d0.0]
mov rbx, qword [rsi]
mov rsi, qword [rsi + 8]
cmp rbx, rsi
je 0x14007e778
mov rcx, rbx
call fcn.140075910
add rbx, 0x28
jmp 0x14007e765
lea rbx, [r14 + 0xd8]
mov esi, dword [rdi + 8]
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov rcx, rdi
call qword [case.0x1401f58d0.0]
mov rcx, qword [r14 + 0x70]
mov qword [rsp + 0x20], rbx
mov rdx, rax
mov r8d, esi
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14007e7bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14007e7cd
mov byte [r14 + 0x122], 1
lock inc dword [r14 + 8]
mov sil, 1
jmp 0x14007e7cf
xor esi, esi
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14007e808
mov rdi, qword [rsp + 0x38]
cmp rdi, rbx
je 0x14007e7fb
add rdi, 0xffffffffffffffd8
mov rcx, rdi
call fcn.140075860
cmp rdi, rbx
jne 0x14007e7e3
mov rcx, qword [rsp + 0x30]
jmp 0x14007e7fe
mov rcx, rbx
mov qword [rsp + 0x38], rbx
call fcn.1401a2ea8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401a4270
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140089e70
Capabilities:
Allocate or change rwx memory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x24], 0xaaaaaaaa
lea rcx, [0x140234112]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rsi, rax
test rax, rax
jne 0x140089db4
lea rdx, str.NaClGetKiUserExceptionDispatcher:_Failed_to_open_ntdll.dll_n
mov ecx, 0xfffffffc
call fcn.1401f7e70
lea rdx, str.KiUserExceptionDispatcher
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140089ddd
lea rdx, str.NaClGetKiUserExceptionDispatcher:_GetProcAddress___failed_to_get_KiUserExceptionDispatcher_n
mov ecx, 0xfffffffc
call fcn.1401f7e70
lea rbx, [0x1400011d0]
lea rdi, [0x1400011d4]
sub rdi, rbx
lea r9, [rsp + 0x24]
mov rcx, rsi
mov rdx, rdi
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140089e1a
lea rdx, str.NaClPatchWindowsExceptionDispatcherToFailFast:_VirtualProtect___failed_to_make_the_routine_writable_n
mov ecx, 0xfffffffc
call fcn.1401f7e70
mov rcx, rsi
mov rdx, rbx
mov r8, rdi
call fcn.1401a6090
lea r9, [rsp + 0x24]
mov r8d, dword [r9]
mov rcx, rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140089e51
lea rdx, str.NaClPatchWindowsExceptionDispatcherToFailFast:_VirtualProtect___failed_to_restore_page_permissions_n
mov ecx, 0xfffffffc
call fcn.1401f7e70
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401a4270
nop
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
sub rsp, 0x28
call fcn.140089900
test eax, eax
je 0x140089e82
add rsp, 0x28
ret
add rsp, 0x28
jmp 0x140089d70

Function at 0x140092430
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rax, qword [0x14038f0b0]
test rax, rax
je 0x140092449
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, qword [0x14038f0b8]
cmp rsi, 1
ja 0x1400924a3
lea rcx, [0x14038f0b8]
call fcn.1400c5350
test al, al
je 0x14009249c
mov qword [0x14038f0c0], 0
lea rdi, [0x14038f0b8]
lea rsi, [0x14038f0c0]
mov rcx, rsi
xor edx, edx
call fcn.1400d8e30
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.1400c53f0
jmp 0x1400924a3
mov rsi, qword [0x14038f0b8]
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400d8da0
Function at 0x1400bbfc0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, reloc.WS2_32.dll_recv
call fcn.1401a2e6c
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400bc030]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.1401b6e38
mov qword [rbx], rax
test rax, rax
je 0x1400bc017
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 0x1400bd090
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x1403907d8]
test rdi, rdi
jne 0x1400bd133
mov ecx, 0x48
call fcn.1401a2e6c
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov ecx, 0x18
call fcn.1401a2e6c
mov qword [rsi + 0x10], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x20], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x18], rcx
lea rax, [rsi + 0x30]
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x40], 1
mov qword [0x1403907d8], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x1400bd155
mov rcx, rax
call fcn.1401d0678
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.1400bd160
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401a4270
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x1400bd160
Capabilities:
Accept command line arguments

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.1400e0690
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400bd2b0
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
mov dword [rsp + 0x3c], 0
lea rcx, [0x1402400f4]
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x1400bd1fe
lea rdx, [0x140240144]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400bd211
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [case.0x1401f58d0.0]
jmp 0x1400bd20c
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
jmp 0x1400bd213
xor ebx, ebx
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x140232ef0]
movaps xmmword [rsi], xmm0
movsxd rax, dword [rsp + 0x3c]
lea r8, [rbx + rax*8]
mov rcx, rsi
mov rdx, rbx
call fcn.1400beef0
mov rcx, r14
mov rdx, rsi
call fcn.1400bcd50
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400bd26d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x20]
test rsi, rsi
je 0x1400bd2b0
mov rax, qword [rsp + 0x28]
cmp rax, rsi
je 0x1400bd2a3
lea rdi, [rax - 0x18]
cmp byte [rax - 1], 0
jns 0x1400bd294
mov rcx, qword [rax - 0x18]
call fcn.1401a2ea8
mov rax, rdi
cmp rdi, rsi
jne 0x1400bd281
mov rcx, qword [rsp + 0x20]
jmp 0x1400bd2a6
mov rcx, rsi
mov qword [rsp + 0x28], rsi
call fcn.1401a2ea8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401a4270
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400c32e0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov qword [rcx], 0
test rdx, rdx
je 0x1400c333b
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1400c3321
call fcn.1400c5840
mov rcx, qword [rsi]
call fcn.1400e21b0
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400c3333
mov qword [rsi], rdi
call fcn.1400c5840
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
call fcn.1400c33c0
lea rcx, [rsi + 0x20]
call fcn.14010f570
mov dword [rsi + 0x24], 0
mov word [rsi + 0x28], 0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400c9650
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
xor eax, eax
mov qword [rcx], rax
mov rbx, qword [rdx]
mov qword [rdx], rax
lea rbp, [rbx + 1]
cmp rbp, 2
jb 0x1400c967a
call fcn.1400c5840
cmp qword [rsi], rbx
je 0x1400c96bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1400c96a8
call fcn.1400c5840
mov rcx, qword [rsi]
call fcn.1400e21b0
mov qword [rsi], 0
cmp rbp, 2
jb 0x1400c96b6
mov qword [rsi], rbx
call fcn.1400c5840
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x1400c96e0
Capabilities:
Check if file exists

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rdx]
mov qword [rdx], 0
lea rbp, [rbx + 1]
cmp rbp, 2
jb 0x1400c9709
call fcn.1400c5840
cmp qword [rsi], rbx
je 0x1400c974e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x1400c9737
call fcn.1400c5840
mov rcx, qword [rsi]
call fcn.1400e21b0
mov qword [rsi], 0
cmp rbp, 2
jb 0x1400c9745
mov qword [rsi], rbx
call fcn.1400c5840
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetLastError]
movups xmm0, xmmword [rdi + 8]
movups xmm1, xmmword [rdi + 0x18]
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
mov rax, rsi
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x1400d4f60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
mov r11d, dword [rcx + 8]
test r11d, r11d
jle 0x1400d50a0
mov r10, qword [rcx]
xor ecx, ecx
lea r8, str._000000000000
lea r9, [0x140240692]
movsxd rsi, ecx
lea rcx, [rsi + 1]
movzx eax, byte [r10 + rsi]
test al, 0x80
je 0x1400d4fdb
mov edx, 0xffffffff
cmp ecx, r11d
jne 0x1400d4fe5
mov ecx, r11d
cmp edx, 0xd800
jb 0x1400d4fdb
lea eax, [rdx - 0xe000]
cmp eax, 0x1dcf
jbe 0x1400d4fdb
lea esi, [rdx - 0xfdf0]
xor eax, eax
cmp esi, 0x10020f
ja 0x1400d50a2
and edx, 0xfffe
cmp edx, 0xfffe
je 0x1400d50a2
cmp ecx, r11d
jl 0x1400d4f83
jmp 0x1400d50a0
cmp al, 0xe0
jb 0x1400d501a
cmp al, 0xef
ja 0x1400d5046
and eax, 0xf
movzx esi, byte [rax + r8]
movzx edi, byte [r10 + rcx]
mov ebx, edi
shr ebx, 5
bt esi, ebx
jae 0x1400d4fa0
and dil, 0x3f
inc ecx
cmp ecx, r11d
je 0x1400d4f9d
shl eax, 6
movzx esi, dil
or esi, eax
jmp 0x1400d5023
cmp al, 0xc2
jb 0x1400d4fa0
and eax, 0x1f
mov esi, eax
movsxd rax, ecx
movzx eax, byte [r10 + rax]
xor eax, 0x80
cmp al, 0x3f
ja 0x1400d4fa0
shl esi, 6
or esi, eax
inc ecx
mov edx, esi
jmp 0x1400d4fa0
cmp al, 0xf4
ja 0x1400d4fa0
add eax, 0xffffff10
movzx ebx, byte [r10 + rcx]
mov rdi, rbx
shr rdi, 4
movsx edi, byte [rdi + r9]
bt edi, eax
jae 0x1400d4fa0
add rsi, 2
cmp esi, r11d
je 0x1400d4f9d
mov dil, byte [r10 + rsi]
add dil, 0x80
cmp dil, 0x3f
ja 0x1400d5099
shl eax, 6
and ebx, 0x3f
or ebx, eax
mov ecx, esi
mov eax, ebx
jmp 0x1400d5008
mov ecx, esi
jmp 0x1400d4fa0
mov al, 1
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400d8a50
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov ecx, dword [0x14036a214]
cmp ecx, 0xffffffff
je 0x1400d8a75
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
setb al
add rsp, 0x28
ret
xor eax, eax
jmp 0x1400d8a70
Function at 0x1400d8a80
Capabilities:
Get thread local storage value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov r14, rdx
mov r15, rcx
mov ecx, dword [0x14036a214]
cmp ecx, 0xffffffff
je 0x1400d8aa6
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400d8aab
call fcn.1400d8bb0
mov eax, dword [0x1403922d8]
mov ecx, dword [0x14036bfd8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400d8b63
mov rbx, qword [0x1403922d0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400d8b59
mov rax, qword [0x140390ac8]
inc rax
xor ecx, ecx
lea rdx, [0x140390ad0]
lea edi, [rax + rcx]
movzx edi, dil
lea rsi, [rdi + rdi*2]
cmp dword [rdx + rsi*8], 0
je 0x1400d8b16
inc rcx
cmp rcx, 0x100
jne 0x1400d8af7
jmp 0x1400d8b35
lea rax, [rdx + rsi*8]
mov dword [rax], 1
mov qword [rax + 8], r14
mov qword [0x140390ac8], rdi
mov dword [r15], edi
mov eax, dword [rax + 0x10]
mov dword [r15 + 4], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov eax, dword [r15]
cmp eax, 0xffffffff
je 0x1400d8ba9
cmp eax, 0x100
jge 0x1400d8bac
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, rbx
call fcn.1400e0d80
jmp 0x1400d8ae4
lea rcx, [0x1403922d8]
call fcn.1401a2fc0
cmp dword [0x1403922d8], 0xffffffff
jne 0x1400d8ad0
mov ecx, 8
call fcn.1401a2e6c
mov rbx, rax
mov rcx, rax
call fcn.140063e10
mov qword [0x1403922d0], rbx
lea rcx, [0x1403922d8]
call fcn.1401a3058
jmp 0x1400d8ad0
int3
int3

Function at 0x1400d8bb0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.1401a4200
sub rsp, rax
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x14036a214]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
jne 0x1400d8c4c
lea rcx, [rsp + 0x2c]
call fcn.140120530
test al, al
je 0x1400d8cc7
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
jne 0x1400d8c2e
lea rcx, [rsp + 0x2c]
call fcn.140120530
test al, al
je 0x1400d8cca
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400d8cca
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
mov eax, 0xffffffff
lock cmpxchg dword [0x14036a214], ecx
je 0x1400d8c4c
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x14036a214]
mov dword [rsp + 0x2c], ecx
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400d8cc4
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.1401a64a0
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.1401a2edc
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.1401a6090
mov ecx, dword [rsp + 0x2c]
mov rdx, rdi
or rdx, 3
call sub.KERNEL32.dll_TlsSetValue
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1401a4270
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
int3
int3
int3
Function at 0x1400d8da0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov ecx, dword [0x14036a214]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400d8dd0
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x1400d8dd0
mov rax, qword [rax + rcx]
jmp 0x1400d8dd2
xor eax, eax
add rsp, 0x20
pop rsi
ret

Function at 0x1400d8de0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x14036a214]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400d8e1e
movsxd rcx, dword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 4]
movsxd rdx, dword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400d8e17
call fcn.1400d8bb0
jmp 0x1400d8dfe

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x140232ef0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.PathExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x1b6
call fcn.1400c5820
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400d7780
cmp byte [rdi + 0x17], 0
jns 0x1400dc194
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rsi
call fcn.1400d79e0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401a4270
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400dc1d0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov r14, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a64a0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x1400dc273
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1401d0678
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.1400c3440
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.1400c4220
mov rcx, r14
mov rdx, rsi
call fcn.1400c3590
mov rcx, rsi
call fcn.1400c3520
mov rcx, rbx
call fcn.1400c3520
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401a4270
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400dc2a0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x278], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1401a64a0
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 0x1400dc335
cmp word [rsp + 0x70], 0
je 0x1400dc335
lea rbx, [rsp + 0x60]
mov qword [rbx], rdi
mov rcx, rdi
call fcn.1401d0678
mov qword [rbx + 8], rax
mov rcx, rsi
mov rdx, rbx
call fcn.1400c3440
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1401a4270
mov rax, rsi
add rsp, 0x280
pop rbx
pop rdi
pop rsi
ret
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x40]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140232ef0]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400c33c0
mov rcx, rdi
call fcn.1400dc1d0
test al, al
je 0x1400dc375
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400c3420
jmp 0x1400dc394
lea rax, [0x140240882]
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
mov qword [rdx + 8], 3
mov rcx, rsi
call fcn.1400c3440
lea rcx, [rsp + 0x40]
call fcn.1400c3520
jmp 0x1400dc317

Function at 0x1400dc3b0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov r14, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x140232ef0]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x14024088a]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x398
call fcn.1400c5820
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400d7780
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a64a0
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
add edi, 0xfffffefb
cmp edi, 0xfffffefc
jb 0x1400dc4b7
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.1401d0678
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.1400c3440
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.1400c4220
mov rcx, r14
mov rdx, rsi
call fcn.1400c3590
mov rcx, rsi
call fcn.1400c3520
mov rcx, rbx
call fcn.1400c3520
cmp edi, 0xfffffefc
setae bl
lea rcx, [rsp + 0x270]
call fcn.1400d79e0
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1401a4270
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400dc4f0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140362028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x140232ef0]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x14024089f]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x3a8
call fcn.1400c5820
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.1400d7780
cmp byte [rdi + 0x17], 0
jns 0x1400dc574
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.1400d79e0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401a4270
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400de310
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
call fcn.14011f130
mov byte [rsi + 8], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0x10], xmm0
lea rax, [0x140231f70]
mov qword [rsi], rax
mov rcx, 0xffffffffffffffff
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp qword [rsi + 0x18], rax
je 0x1400de39b
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 2
jb 0x1400de380
call fcn.1400c5840
mov rcx, qword [rsi + 0x18]
call fcn.1400e21b0
mov qword [rsi + 0x18], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400de393
mov qword [rsi + 0x18], rdi
call fcn.1400c5840
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret