joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f2c90
Capabilities:
Check if file exists
Read file via mapping

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movaps xmm0, xmmword [0x14023d7d0]
lea rbx, [rsp + 0x50]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.MapImageToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r9d, 0x1b
call fcn.1401552d0
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14014be60
mov rcx, rsi
call fcn.140148f70
test al, al
je 0x1400f2dd5
mov rcx, rsi
call fcn.1400d0030
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, rax
xor edx, edx
mov r8d, 0x11000002
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
cmp qword [rsi + 0x40], rax
je 0x1400f2d7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x1400f2dfe
mov rax, rbx
inc rax
cmp rax, 2
jb 0x1400f2d71
mov qword [rsi + 0x40], rbx
call fcn.1401552f0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsi + 0x40]
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1400f2e19
mov qword [rsp + 0x20], 0
xor edi, edi
mov rcx, rbx
mov edx, 4
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1400f2dd5
lea rdx, fcn.1401c9a60
lea rcx, [rsp + 0x30]
mov qword [rcx], rdx
mov qword [rcx + 8], rax
call fcn.14010c0c0
mov eax, dword [rax + 0x50]
mov qword [rsi + 0x38], rax
mov dil, 1
lea rcx, [rsp + 0x50]
call fcn.14014bee0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14018d030
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401552f0
mov rcx, qword [rsi + 0x40]
call fcn.140145540
mov qword [rsi + 0x40], 0
jmp 0x1400f2d5c
xor edi, edi
jmp 0x1400f2dd5
Function at 0x1400f2e20
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movaps xmm0, xmmword [0x14023d7d0]
lea r15, [rsp + 0x60]
movaps xmmword [r15 + 0x30], xmm0
movaps xmmword [r15 + 0x20], xmm0
movaps xmmword [r15 + 0x10], xmm0
movaps xmmword [r15], xmm0
lea rdx, str.MapFileRegionToMemory
lea r8, str....._base_filesmemory_mapped_file_win.cc
lea r12, [rsp + 0x40]
mov rcx, r12
mov r9d, 0x3a
call fcn.1401552d0
xor r14d, r14d
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.14014be60
mov rcx, rsi
call fcn.140148f70
test al, al
je 0x1400f2fa7
test ebx, ebx
jne 0x1400f2fdb
mov ebp, 2
mov ebx, 4
xor r15d, r15d
mov rcx, rsi
call fcn.1400d0030
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x28], 0
mov rcx, rax
xor edx, edx
mov r8d, ebp
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
cmp qword [rsi + 0x40], rax
je 0x1400f2f2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi + 0x40]
inc rax
cmp rax, 2
jae 0x1400f3094
mov rax, r14
inc rax
cmp rax, 2
jb 0x1400f2f20
mov qword [rsi + 0x40], r14
call fcn.1401552f0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14, qword [rsi + 0x40]
inc r14
cmp r14, 2
jb 0x1400f2fd6
mov dword [rsp + 0x3c], 0
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
cmp rcx, qword [0x140257e00]
jne 0x1400f301d
cmp rdx, qword [0x140257e08]
jne 0x1400f301d
mov rcx, rsi
call fcn.1400d0040
xor r14d, r14d
test rax, rax
jle 0x1400f2fa7
mov qword [rsi + 0x38], rax
xor r8d, r8d
xor eax, eax
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x20], rax
mov edx, ebx
mov r9d, r14d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsi + 0x30], rax
test rax, rax
je 0x1400f2fd6
movsxd rcx, dword [rsp + 0x3c]
add rax, rcx
mov qword [rsi + 0x30], rax
mov r14b, 1
lea rcx, [rsp + 0x60]
call fcn.14014bee0
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.14018d030
mov eax, r14d
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor r14d, r14d
jmp 0x1400f2fa7
dec ebx
cmp ebx, 3
ja case.default.0x1400f2ff4
lea rax, [0x140257dec]
movsxd rcx, dword [rax + rbx*4]
add rcx, rax
jmp rcx
mov r14, qword [rdi + 8]
mov r15, r14
shr r15, 0x20
mov ebp, 4
mov ebx, 2
jmp 0x1400f2ec2
mov rcx, rsi
call fcn.1400f2c90
mov r14d, eax
jmp 0x1400f2fa7
xor eax, eax
lea r14, [rsp + 0x40]
mov qword [r14], rax
lea r9, [rsp + 0x30]
mov qword [r9], rax
lea r15, [rsp + 0x3c]
mov qword [rsp + 0x20], r15
mov r8, r14
call fcn.1400f32d0
mov rcx, qword [rdi + 8]
movsxd rax, dword [r15]
mov r8, rax
sar r8, 0x3f
add rax, rcx
adc r8, 0
mov edx, r8d
and edx, 1
neg rdx
xor r8, rdx
setne r8b
mov r14, qword [r14]
test r14, r14
js 0x1400f2fd6
test r8b, r8b
jne 0x1400f2fd6
test rdx, rdx
js 0x1400f2fd6
mov r8, r14
shr r8, 0x20
mov qword [rsi + 0x38], rcx
jmp 0x1400f2f7b
call fcn.1401552f0
mov rcx, qword [rsi + 0x40]
call fcn.140145540
mov qword [rsi + 0x40], 0
jmp 0x1400f2f0b
mov ebp, 4
mov ebx, 2
jmp 0x1400f2ebf
mov ebp, 8
mov ebx, 1
jmp 0x1400f2ebf
mov ebx, 0xaaaaaaaa
xor ebp, ebp
jmp 0x1400f2ebf
Function at 0x1400f9690
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140276e94]
cmp ecx, 0xffffffff
je 0x1400f96b4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400f96b9
call fcn.1400f9820
mov eax, dword [0x140288620]
mov ecx, dword [0x140283248]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400f97a3
mov rbx, qword [0x140288618]
movabs r14, 0xfffffffc00000000
and r14, rbx
cmp r14, qword [0x140276788]
jne 0x1400f9703
mov rcx, rbx
call fcn.1401599c0
test rbx, rbx
je 0x1400f97f6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1400f97e9
mov rax, qword [0x140286e08]
inc rax
xor ecx, ecx
lea rdx, [0x140286e10]
lea r8d, [rax + rcx]
movzx r8d, r8b
lea r9, [r8 + r8*2]
cmp dword [rdx + r9*8], 0
jne 0x1400f97fc
lea rax, [rdx + r9*8]
mov dword [rax], 1
mov qword [rax + 8], rdi
mov ecx, dword [0x140288610]
inc ecx
mov dword [0x140288610], ecx
mov dword [rax + 0x14], ecx
mov qword [0x140286e08], r8
mov qword [rsi], r8
mov eax, dword [rax + 0x10]
mov dword [rsi + 8], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp r14, qword [0x140276788]
jne 0x1400f9790
mov rcx, rbx
call fcn.140159b20
cmp qword [rsi], 0x100
jae 0x1400f97f9
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140288620]
call fcn.14018bc90
cmp dword [0x140288620], 0xffffffff
jne 0x1400f96de
mov ecx, 8
call fcn.14018bb3c
mov rbx, rax
mov rcx, rax
call fcn.140145d00
mov qword [0x140288618], rbx
lea rcx, [0x140288620]
call fcn.14018bd28
jmp 0x1400f96de
mov rcx, rbx
call sub.KERNEL32.dll_AcquireSRWLockExclusive
jmp 0x1400f971d
int3
int3
inc rcx
cmp rcx, 0x100
jne 0x1400f9730
jmp 0x1400f9776
Function at 0x1400f9820
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rsi
push rdi
mov eax, 0x1038
call fcn.14018cfd0
sub rsp, rax
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov dword [rsp + 0x2c], 0xaaaaaaaa
mov ecx, dword [0x140276e94]
mov dword [rsp + 0x2c], ecx
cmp ecx, 0xffffffff
je 0x1400f98d4
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test al, 3
jne 0x1400f9912
lea rsi, [rsp + 0x30]
mov r8d, 0x1000
mov rcx, rsi
xor edx, edx
call fcn.14018f180
mov ecx, dword [rsp + 0x2c]
lea rdx, [rsp + 0x33]
call sub.KERNEL32.dll_TlsSetValue
mov ecx, 0x1000
call fcn.14018bbac
mov rdi, rax
mov r8d, 0x1000
mov rcx, rax
mov rdx, rsi
call fcn.14018ead0
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.14018d030
mov rax, rdi
add rsp, 0x1038
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x2c]
call fcn.140115480
test al, al
je 0x1400f9915
mov ecx, dword [rsp + 0x2c]
cmp ecx, 0xffffffff
je 0x1400f9918
mov eax, 0xffffffff
lock cmpxchg dword [0x140276e94], ecx
je 0x1400f9858
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [0x140276e94]
mov dword [rsp + 0x2c], ecx
jmp 0x1400f9858
int3
int3
lea rcx, [rsp + 0x2c]
call fcn.140115480
test al, al
je 0x1400f993d
cmp dword [rsp + 0x2c], 0xffffffff
je 0x1400f993d
mov ecx, 0xffffffff
call sub.KERNEL32.dll_TlsFree
mov ecx, dword [rsp + 0x2c]
jmp 0x1400f98eb
int3

Function at 0x1400f9950
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov ecx, dword [0x140276e94]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1400f998e
mov rcx, qword [rsi]
shl rcx, 4
mov qword [rax + rcx], rdi
mov ecx, dword [rsi + 8]
mov rdx, qword [rsi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
add rsp, 0x28
pop rdi
pop rsi
ret
test rdi, rdi
je 0x1400f9987
call fcn.1400f9820
jmp 0x1400f996e
Function at 0x1400fd370
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x248
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x240], rax
movaps xmm0, xmmword [0x14023d7d0]
lea rcx, [rsp + 0x20]
movaps xmmword [rcx], xmm0
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
mov esi, eax
test eax, eax
js 0x1400fd4ec
lea rdi, [rsp + 0x20]
mov rdx, qword [rdi + 8]
lea rbx, [0x140288bd0]
mov r14d, 0xff
mov r8d, 0xff
mov rcx, rbx
call fcn.1401af2e0
mov rcx, rbx
call fcn.1401ad2f4
sub r14, rax
lea rdx, [0x140247448]
mov rcx, rbx
mov r8, r14
call fcn.1401af2e0
mov rcx, rdi
call sub.ntdll.dll_RtlFreeUnicodeString
lea rbx, [rsp + 0x30]
mov r8d, 0x208
mov rcx, rbx
xor edx, edx
call fcn.14018f180
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdi, rax
lea rcx, str.PROGRAMFILES
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400fd44c
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401af328
test eax, eax
je 0x1400fd510
lea rcx, str.PROGRAMFILES_X86_
lea rdx, [rsp + 0x30]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [rax - 1]
cmp ecx, 0x102
ja 0x1400fd487
mov r8d, eax
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1401af328
test eax, eax
je 0x1400fd510
xor eax, eax
mov byte [0x1402887c1], al
mov dword [rsp + 0x30], 0
lea rcx, [0x14024706a]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140258fc4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400fd517
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x30]
mov rcx, rax
mov rax, rdi
call qword [0x1402655f0]
test eax, eax
je 0x1400fd517
cmp dword [rsp + 0x30], 0
setne al
mov byte [0x140288dd0], al
mov byte [0x1402887c0], 1
test esi, esi
setns bl
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14018d030
mov eax, ebx
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r14
ret
mov al, 1
jmp 0x1400fd489
xor eax, eax
jmp 0x1400fd4df
Function at 0x1400fd7e0
Capabilities:
Get system information on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, r8
mov ebx, edx
mov edi, ecx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400fd813
mov rax, qword [rsi + 8]
test rax, rax
je 0x1400fd910
bt ebx, 8
jae 0x1400fd82f
mov eax, ebx
and eax, 0x200
jne 0x1400fd910
cmp edi, 2
lea rax, [0x1402887d0]
lea rcx, [0x1402889d0]
cmove rcx, rax
cmp word [rcx], 0
jne 0x1400fd910
xorps xmm0, xmm0
lea r14, [rsp + 0x40]
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [r14], 0
je 0x1400fd910
cmp byte [0x140288dd0], 0
setne al
bt ebx, 8
jb 0x1400fd910
shr ebx, 9
and ebx, 1
or bl, al
je 0x1400fd910
cmp edi, 2
lea rax, str.SOFTWAREClasses
lea r12, str.SOFTWARE
cmove r12, rax
movzx r13d, byte [rsi + 0x17]
test r13b, r13b
jns 0x1400fd92f
mov r14, qword [rsi]
mov r13, qword [rsi + 8]
mov edi, 1
xor ebx, ebx
xor eax, eax
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x2c], 0
mov r15, qword [r12 + 8]
mov rbp, r13
sub rbp, r15
jb 0x1400fd8f9
mov rdx, qword [r12]
mov rcx, r14
mov r8, r15
call fcn.1401a87e8
test eax, eax
je 0x1400fd934
add r12, 0x28
inc rbx
cmp rbx, rdi
jb 0x1400fd8d9
cmp dword [rsp + 0x2c], 0
jne 0x1400fd9b2
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14018d030
nop
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r14, rsi
jmp 0x1400fd8bc
movzx ecx, word [r14 + r15*2]
cmp ecx, 0x5c
je 0x1400fd942
test ecx, ecx
jne 0x1400fd8f9
lea rax, [r14 + r15*2]
mov edx, dword [r12 + 0x10]
mov dword [rsp + 0x2c], edx
cmp edx, 1
je 0x1400fd971
cmp dword [rsp + 0x2c], 2
jne 0x1400fd982
lea rdx, str.WOW6432Node
mov qword [rsp + 0x38], rdx
mov rdx, rax
mov qword [rsp + 0x30], rax
jmp 0x1400fd982
lea rdx, str.WOW6432Node_
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], r14
cmp cx, 0x5c
jne 0x1400fd99b
lea r14, [rax + 2]
dec rbp
cmp word [rax + 2], 0x5c
mov rax, r14
je 0x1400fd988
jmp 0x1400fd99e
mov r14, rax
mov rdi, qword [r12 + 0x20]
mov r12, qword [r12 + 0x18]
xor ebx, ebx
mov r13, rbp
jmp 0x1400fd900
cmp byte [rsi + 0x17], 0
mov rax, rsi
jns 0x1400fd9be
mov rax, qword [rsi]
mov rdx, qword [rsp + 0x30]
sub rdx, rax
sar rdx, 1
mov rcx, rsi
mov r8, qword [rsp + 0x38]
call fcn.1401df870
jmp 0x1400fd910
Function at 0x1400fe4f0
Capabilities:
Set environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movups xmm0, xmmword [rdx]
movaps xmmword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 0x17]
test al, al
jns 0x1400fe524
mov rax, qword [r8 + 8]
mov r8, qword [r8]
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], rax
test rax, rax
js 0x1400fe5d9
je 0x1400fe542
test r8, r8
je 0x1400fe5ec
lea rsi, [rsp + 0x70]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14014e0a0
cmp byte [rsi + 0x17], 0
jns 0x1400fe55f
mov rsi, qword [rsp + 0x70]
movaps xmm0, xmmword [rsp + 0x20]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x48]
mov rcx, rdi
call fcn.14014e0a0
cmp byte [rdi + 0x17], 0
jns 0x1400fe584
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov esi, eax
cmp byte [rsp + 0x5f], 0
jns 0x1400fe5a3
mov rcx, qword [rsp + 0x48]
call fcn.14018bb78
cmp byte [rsp + 0x87], 0
jns 0x1400fe5b7
mov rcx, qword [rsp + 0x70]
call fcn.14018bb78
test esi, esi
setne bl
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14018d030
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401c7f00
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401c7f00
int3
Function at 0x1400fe680
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rcx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x58]
mov rcx, rdi
call fcn.14014e0a0
cmp byte [rdi + 0x17], 0
jns 0x1400fe6c1
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
cmp byte [rsp + 0x6f], 0
jns 0x1400fe6e2
mov rcx, qword [rsp + 0x58]
call fcn.14018bb78
test rsi, rsi
je 0x1400fe789
test edi, edi
je 0x1400fe789
mov ecx, edi
add rcx, rcx
call fcn.14018bbac
mov rbx, rax
movups xmm0, xmmword [r14]
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.14014e0a0
cmp byte [r14 + 0x17], 0
jns 0x1400fe725
mov r14, qword [rsp + 0x58]
mov rcx, r14
mov rdx, rbx
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp byte [rsp + 0x6f], 0
jns 0x1400fe745
mov rcx, qword [rsp + 0x58]
call fcn.14018bb78
mov qword [rsp + 0x20], rbx
test rbx, rbx
je 0x1400fe7a7
mov rcx, rbx
call fcn.1401ad2f4
lea rdx, [rsp + 0x20]
mov qword [rdx + 8], rax
lea rcx, [rsp + 0x58]
call fcn.14014e0d0
cmp byte [rsi + 0x17], 0
js 0x1400fe7ba
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi], xmm0
mov rcx, rbx
call fcn.14018bbb4
test edi, edi
setne bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14018d030
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude_string_view:267:_assertion___s___nullptr_failed:_null_pointer_passed_to_non_null_argument_of_char_traits_..._::length_n
call fcn.1401c7f00
mov rcx, qword [rsi]
call fcn.14018bb78
jmp 0x1400fe770
Function at 0x1400ff0c0
Capabilities:
Check if file exists
Create directory

Disassembly:
push rsi
push rdi
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x190], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ff0e7
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400ff121
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1400ff140
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14018d030
mov rcx, rsi
add rsp, 0x198
pop rdi
pop rsi
jmp fcn.1400ff230
mov sil, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14018d030
mov eax, esi
add rsp, 0x198
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1401551c0
test al, al
jne 0x1400ff152
xor esi, esi
jmp 0x1400ff124
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x50]
mov r8d, 0x265
mov r9d, 2
call fcn.1401e5eb0
lea rcx, [rsp + 0x60]
lea rdx, str.CreateDirectory
mov r8d, reloc.WS2_32.dll_recv
call fcn.1401c6fd0
mov rdi, rax
movzx eax, byte [rsi + 0x17]
test al, al
jns 0x1400ff1a1
mov rax, qword [rsi + 8]
mov rsi, qword [rsi]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], rax
test rax, rax
js 0x1400ff208
je 0x1400ff1b7
test rsi, rsi
je 0x1400ff21b
lea rsi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14014e0d0
movzx r8d, byte [rsi + 0x17]
test r8b, r8b
jns 0x1400ff1dd
mov r8, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.1401c6fd0
cmp byte [rsp + 0x4f], 0
jns 0x1400ff1f9
mov rcx, qword [rsp + 0x38]
call fcn.14018bb78
lea rcx, [rsp + 0x50]
call fcn.1401e5f30
jmp 0x1400ff14e
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude_string_view:311:_assertion___len___static_cast_size_type__numeric_limits_difference_type_::max____failed:_string_view::string_view__CharT___size_t_:_length_does_not_fit_in_difference_type_n
call fcn.1401c7f00
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude_string_view:313:_assertion___len__0____s___nullptr_failed:_string_view::string_view__CharT___size_t_:_received_nullptr_n
call fcn.1401c7f00
int3
Function at 0x1400ff230
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
sub rsp, 0x178
mov rsi, rcx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x170], rax
cmp byte [rcx + 0x17], 0
jns 0x1400ff257
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400ff295
mov dil, 1
test al, 0x10
je 0x1400ff285
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14018d030
mov eax, edi
add rsp, 0x178
pop rdi
pop rsi
ret
mov ecx, 2
call fcn.1401551c0
test al, al
je 0x1400ff2a3
jmp 0x1400ff2fc
mov ecx, 2
call fcn.1401551c0
test al, al
jne 0x1400ff2a7
xor edi, edi
jmp 0x1400ff269
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x251
mov r9d, 2
call fcn.1401e5eb0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, shutdown
call fcn.1401c6fd0
mov rcx, rax
mov rdx, rsi
call fcn.1401e6e60
mov rcx, rdi
call fcn.1401e5f30
jmp 0x1400ff2a3
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x255
mov r9d, 2
call fcn.1400db5c0
lea rcx, [rsp + 0x40]
lea rdx, str.GetFileAttributes
mov r8d, shutdown
call fcn.1401c6fd0
mov rcx, rax
mov rdx, rsi
call fcn.1401e6e60
lea rdx, str.:_not_a_directory
mov r8d, reloc.WS2_32.dll_recvfrom
mov rcx, rax
call fcn.1401c6fd0
mov rcx, rdi
call fcn.1400dbbb0
jmp 0x1400ff2a3
Function at 0x1401007a0
Capabilities:
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rdx
mov rax, qword [0x140274038]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi], rax
mov rdx, rsi
call fcn.1400ff3f0
mov rax, qword [rsi]
test rax, rax
je 0x1401008e4
mov rbx, qword [rax + 0x50]
mov r12, qword [rax + 0x58]
xor esi, esi
cmp rbx, r12
je 0x1401007ff
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x140100843
lea rcx, [rsp + 0x20]
call fcn.1400ffeb0
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14018d030
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
mov rdx, rbx
call fcn.1401014e0
mov r14, rax
mov qword [rdi + 8], r14
add rbx, 0x70
cmp rbx, r12
je 0x1401007ff
cmp dword [rbx + 0x68], 0
jne 0x14010083a
lea r15, [rbx + 0x10]
cmp byte [rbx + 0x27], 0
mov rcx, r15
jns 0x14010085a
mov rcx, qword [rbx + 0x10]
call r13
test al, 0x10
jne 0x14010083a
mov r14, qword [rdi + 8]
cmp r14, qword [rdi + 0x10]
jae 0x140100828
test r14, r14
je 0x1401008d1
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
lea rcx, [r14 + 0x10]
mov rdx, r15
call fcn.140155bc0
lea rcx, [r14 + 0x28]
cmp byte [rbx + 0x3f], 0
js 0x1401008c2
lea rax, [rbx + 0x28]
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
mov rax, qword [rbx + 0x60]
mov qword [r14 + 0x60], rax
movups xmm0, xmmword [rbx + 0x40]
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [r14 + 0x50], xmm1
movups xmmword [r14 + 0x40], xmm0
add r14, 0x68
jmp 0x140100836
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
call fcn.140143120
jmp 0x14010089f
lea rcx, [0x140242e90]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401c7f00
mov esi, 3
jmp 0x1401007ff