joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d630
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov r13, r8
mov r12, rdx
xor ebp, ebp
mov dword [rax + 0x20], ebp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
mov ebx, 0xff
cmp eax, ebx
jbe 0x14002d6c2
mov dword [rsp + 0x20], 1
lea r9d, [rbx + 0xb]
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpad_snapshotwin_system_snapshot_win.cc
lea rdx, str.unsigned_char___cdecl_crashpad::internal::SystemSnapshotWin::CPUCount_void__const
lea rcx, [rsp + 0x60]
call fcn.140049c10
nop
mov dword [rsp + 0x1a8], 1
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x60]
call fcn.140049e20
mov eax, dword [rsp + 0x50]
cmp eax, ebx
cmovbe ebx, eax
movzx r15d, bl
mov rbx, rbp
mov rdi, rbp
mov r14, rbp
test r15, r15
je 0x14002d74f
lea rax, [r15 + r15*2]
lea rsi, [rax*8]
cmp rsi, 0x1000
jb 0x14002d71f
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14002d876
call fcn.1400532b8
mov rcx, rax
test rax, rax
je 0x14002d87c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rbx, rax
lea rdi, [rax + rsi]
jmp 0x14002d73f
test rsi, rsi
je 0x14002d735
mov rcx, rsi
call fcn.1400532b8
mov rbx, rax
lea rdi, [rax + rsi]
jmp 0x14002d73f
mov rax, rbp
mov rbx, rbp
lea rdi, [rsi + rbp]
mov r14, rdi
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.1400559b0
lea eax, [r15 + r15*2]
shl eax, 3
mov dword [rsp + 0x20], eax
mov r9, rbx
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 0xb]
call sub.POWRPROF.dll_CallNtPowerInformation
test eax, eax
je 0x14002d777
mov qword [r12], rbp
jmp 0x14002d7fd
mov rcx, rbx
cmp rbx, rdi
je 0x14002d7ba
lea rdx, [rbx + 0x18]
cmp rdx, rdi
je 0x14002d7ba
nop dword [rax + rax]
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
cmovb rcx, rdx
add rdx, 0x18
cmp rdx, rdi
jne 0x14002d790
mov eax, dword [rcx + 8]
imul rcx, rax, 0xf4240
mov qword [r12], rcx
mov rcx, rbx
lea rdx, [rbx + 0x18]
jmp 0x14002d7e0
mov eax, dword [rbx + 8]
imul rcx, rax, 0xf4240
mov qword [r12], rcx
mov rcx, rbx
cmp rbx, rdi
je 0x14002d7f3
lea rdx, [rbx + 0x18]
cmp rdx, rdi
je 0x14002d7f3
nop dword [rax]
mov eax, dword [rdx + 4]
cmp dword [rcx + 4], eax
cmovb rcx, rdx
add rdx, 0x18
cmp rdx, rdi
jne 0x14002d7e0
mov eax, dword [rcx + 4]
imul rbp, rax, 0xf4240
mov qword [r13], rbp
test rbx, rbx
je 0x14002d855
sub r14, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul r14
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
cmp rdx, 0x1000
jb 0x14002d84d
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14002d87c
mov rbx, rcx
mov rcx, rbx
call fcn.1400532f4
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140007be0
int3
call fcn.140059ac4
int3
Function at 0x140046180
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140048310
push rbx
sub rsp, 0x130
mov ebx, 0xffffffff
cmp r8, rbx
cmova r8d, ebx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140048350
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x1400483ae
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.140029690
test rax, rax
je 0x1400483ae
mov qword [rsp + 0x20], rax
mov r9d, 0x65
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.140049c90
lea rcx, [rsp + 0x30]
call fcn.140049e20
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret

Function at 0x140046210
Capabilities:
Check os version
Create pipe

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
xor edi, edi
movzx esi, dl
mov rbx, rcx
test dl, dl
je 0x14004625b
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x14004625b
xor ecx, ecx
mov qword [rsp + 0x40], 0x18
mov dword [rsp + 0x54], edi
call fcn.1400462b0
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x40]
mov dword [rsp + 0x50], 1
cmp qword [rbx + 0x18], 8
jb 0x140046265
mov rbx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov r9d, 2
mov edx, esi
mov dword [rsp + 0x30], 0
shl edx, 0x13
mov rcx, rbx
or edx, 3
mov dword [rsp + 0x28], 0x200
lea r8d, [r9 + 4]
mov dword [rsp + 0x20], 0x200
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400469f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x140
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x150], edi
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
mov r9, rcx
lea r8, [0x140046ac0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
jne 0x140046a97
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
lea r9d, [rdi + 0x1b]
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutil_thread_thread_win.cc
lea rdx, str.void___cdecl_crashpad::Thread::Start_void_
lea rcx, [rsp + 0x30]
call fcn.140049da0
nop
mov edi, 2
mov dword [rsp + 0x150], edi
lea rdx, str.Check_failed:_platform_thread_
mov rcx, rax
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x140096268]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x14009ead8]
call fcn.1400012e0
nop
test dil, 2
je 0x140046aa7
lea rcx, [rsp + 0x30]
call fcn.14004a080
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret

Function at 0x140048150
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x140
mov rbx, rcx
mov dword [rax + 0x10], 0
xor r9d, r9d
lea r8, [rax + 0x18]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1400481d8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xf1
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::LoggingSeekFile_void____int64_int_
lea rcx, [rsp + 0x30]
call fcn.140049da0
nop
mov dword [rsp + 0x158], 4
lea rdx, [0x1400a2c28]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004a080
xor al, al
add rsp, 0x140
pop rbx
ret
cmp qword [rsp + 0x160], 0
jne 0x140048245
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140048250
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xfb
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingTruncateFile_void__
lea rcx, [rsp + 0x30]
call fcn.140049da0
nop
mov dword [rsp + 0x158], 1
lea rdx, [0x1400a2c40]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004a080
xor al, al
add rsp, 0x140
pop rbx
ret
mov al, 1
add rsp, 0x140
pop rbx
ret
Function at 0x140048310
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x140048310
push rbx
sub rsp, 0x130
mov ebx, 0xffffffff
cmp r8, rbx
cmova r8d, ebx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140048350
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x1400483ae
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.140029690
test rax, rax
je 0x1400483ae
mov qword [rsp + 0x20], rax
mov r9d, 0x65
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.140049c90
lea rcx, [rsp + 0x30]
call fcn.140049e20
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret

Function at 0x140048430
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor ebp, ebp
mov r14d, 0xffffffff
mov qword [rsp + 0x20], rbp
cmp r8, r14
lea r9, [rsp + 0x160]
cmova edi, r14d
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004851c
mov dword [rsp + 0x168], r14d
cmp dword [rsp + 0x160], r14d
je 0x140048492
mov rax, rbp
jmp 0x1400484ae
lea r8, str.bytes_read___static_cast_DWORD___1_
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x160]
call fcn.140029690
test rax, rax
je 0x1400484e0
mov r9d, 0x7e
mov qword [rsp + 0x20], rax
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::ReadFile_void__void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.140049c90
lea rcx, [rsp + 0x30]
call fcn.140049e20
cmp dword [rsp + 0x160], 0
jne 0x140048542
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x140048542
lea r9, [rsp + 0x160]
mov qword [rsp + 0x20], rbp
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140048483
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x6d
neg eax
sbb rax, rax
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov eax, dword [rsp + 0x160]
jmp 0x14004852a
Function at 0x140049e20
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400c9030]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rcx
mov rax, qword [rcx]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.14004aa60
movzx edx, al
mov rcx, rdi
call fcn.14004a910
mov rcx, rdi
call fcn.14004a830
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400097e0
mov rax, qword [0x1400cc060]
test rax, rax
je 0x140049f1e
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9, qword [rdi + 0xf0]
mov r8d, dword [rdi + 0xf8]
mov rdx, qword [rdi + 0xe8]
mov ecx, dword [rdi + 0xfc]
call rax
test al, al
je 0x140049f1e
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140049ef0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049eeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a071
call fcn.1400532f4
mov rcx, rdi
call fcn.140003d70
nop
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400536a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov eax, dword [0x1400c9010]
test al, 4
je 0x140049f6d
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rbx, qword [rsp + 0x50]
mov ecx, 2
call fcn.140059dc8
mov r8, rbx
lea rdx, [0x1400a2e48]
mov rcx, rax
call fcn.140009ae0
mov ecx, 2
call fcn.140059dc8
mov rcx, rax
call fcn.1400655d0
mov eax, dword [0x1400c9010]
test al, 2
je 0x14004a01e
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14004af10
cmp qword [rax + 0x18], 8
jb 0x140049fb9
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14004a003
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ffe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a06b
call fcn.1400532f4
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], ax
cmp dword [rdi + 0xfc], 4
jne 0x14004a02a
int3
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140049ef0
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049eeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004a071
jmp 0x140049eeb
call fcn.140059ac4
int3
call fcn.140059ac4
int3
Function at 0x140054014
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14005405e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14005405e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14005405e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14005405e
cmp dword [rcx + 0x84], 0xe
jbe 0x14005405e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140054060
xor al, al
add rsp, 0x28
ret

Function at 0x140069870
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14006969c
Function at 0x14007d050
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400c9030]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x14007d080
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14007d093
mov al, 1
jmp 0x14007d19e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14007d196
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14007d0b1
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.14004afe0
mov rbx, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x265
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::CreateDirectoryIfNecessary_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140049da0
nop
mov dword [rsp + 0x30], 3
lea rdx, str.CreateDirectory
mov rcx, rax
call fcn.1400012e0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14007d13c
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001da0
nop
lea rcx, [rsp + 0x50]
call fcn.14004a080
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x14007d192
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d18d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007d1b7
call fcn.1400532f4
xor al, al
jmp 0x14007d19e
mov rcx, rbx
call fcn.14007d410
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1400536a0
add rsp, 0x180
pop rbx
ret
call fcn.140059ac4
int3
Function at 0x14007d410
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400c9030]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x14007d440
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14007d549
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14007d45c
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.14004afe0
mov rbx, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x250
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140049da0
nop
mov dword [rsp + 0x30], 3
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012e0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14007d4e7
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001da0
nop
lea rcx, [rsp + 0x50]
call fcn.14004a080
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x14007d645
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d640
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007d66a
jmp 0x14007d640
test al, 0x10
jne 0x14007d649
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14007d55e
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x158]
call fcn.14004afe0
mov rbx, rax
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x20], 2
mov r9d, 0x254
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.140049c10
nop
mov dword [rsp + 0x30], 0xc
lea rdx, str.GetFileAttributes
mov rcx, rax
call fcn.1400012e0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14007d5e0
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001da0
lea rdx, str.:_not_a_directory
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x50]
call fcn.140049e20
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x14007d645
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007d640
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007d664
call fcn.1400532f4
xor al, al
jmp 0x14007d64b
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.1400536a0
add rsp, 0x180
pop rbx
ret
call fcn.140059ac4
int3
call fcn.140059ac4
int3
Function at 0x14007d670
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov ebp, edx
mov rsi, qword [rcx + 0x58]
mov rbx, qword [rcx + 0x50]
cmp rbx, rsi
je 0x14007d6eb
cmp dword [rbx + 0x78], ebp
jne 0x14007d6e2
cmp qword [rbx + 0x28], 8
lea rcx, [rbx + 0x10]
jb 0x14007d6a9
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007d6e2
test al, 0x10
jne 0x14007d6e2
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14007d6d4
mov rdx, rbx
mov rcx, rax
call fcn.14007bfb0
add qword [rdi + 8], 0x78
jmp 0x14007d6e2
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14007b9e0
sub rbx, 0xffffffffffffff80
cmp rbx, rsi
jne 0x14007d696
mov rbx, qword [rsp + 0x38]
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x30
movups xmm0, xmmword [rdx]
mov rdi, qword [rcx + 0x58]
mov r14, r9
mov rbx, qword [rcx + 0x50]
mov ebp, r8d
movaps xmmword [rsp + 0x20], xmm0
mov rsi, rcx
cmp rbx, rdi
je 0x14007d76a
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14003b5a0
test al, al
jne 0x14007d76a
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x14007d750
cmp rbx, qword [rsi + 0x58]
jne 0x14007d777
mov eax, 1
jmp 0x14007d7c3
mov eax, dword [rbx + 0x78]
cmp eax, ebp
jne 0x14007d7a7
cmp qword [rbx + 0x28], 8
lea rcx, [rbx + 0x10]
jb 0x14007d78c
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
mov edx, 1
shr ecx, 3
and ecx, 2
cmp eax, 0xffffffff
cmove ecx, edx
jmp 0x14007d7b6
mov ecx, 1
mov edx, 4
cmp eax, ecx
cmove ecx, edx
test ecx, ecx
jne 0x14007d7c1
mov byte [rsi + 0x48], 1
mov qword [r14], rbx
mov eax, ecx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14007df90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov r14, r8
mov rbp, rdx
lea rdx, [rsp + 0x68]
call fcn.14007c4d0
nop
mov rbx, qword [rsp + 0x68]
test rbx, rbx
jne 0x14007dfc7
mov ebx, 3
jmp 0x14007e046
mov rsi, qword [rbx + 0x58]
mov rdi, qword [rbx + 0x50]
movups xmm0, xmmword [rbp]
movaps xmmword [rsp + 0x20], xmm0
cmp rdi, rsi
je 0x14007dffa
nop dword [rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14003b5a0
test al, al
jne 0x14007dffa
sub rdi, 0xffffffffffffff80
cmp rdi, rsi
jne 0x14007dfe0
cmp rdi, qword [rbx + 0x58]
jne 0x14007e007
mov ebx, 1
jmp 0x14007e046
lea rcx, [rdi + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x14007e015
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp eax, 0xffffffff
jne 0x14007e029
mov ebx, 1
jmp 0x14007e031
shr ebx, 3
and ebx, 2
je 0x14007e036
mov rdi, qword [rsp + 0x68]
test ebx, ebx
jne 0x14007e046
mov rdx, rdi
mov rcx, r14
call fcn.14007c3c0
nop
lea rcx, [rsp + 0x68]
call fcn.14007c210
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x140082f40
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x130
mov rdi, rcx
mov dword [rsp + 0x148], 0
mov rax, qword [0x1400cd890]
nop
mov ebx, 1
test rax, rax
jne 0x140082f85
nop dword [rax]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [0x1400cd890]
nop
test rax, rax
je 0x140082f70
cmp eax, 2
jne 0x140082fc9
mov dword [rsp + 0x20], eax
mov r9d, 0x90
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.140049c10
nop
mov dword [rsp + 0x148], ebx
lea rdx, str.crash_server_failed_to_launch__self_terminating
mov rcx, rax
call fcn.1400012e0
nop
jmp 0x14008306f
mov rax, qword [0x1400cd878]
test rax, rax
je 0x140082fe2
mov rcx, rdi
call rax
test al, al
jne 0x14008308d
lock xadd qword [0x1400cd8c0], rbx
lea rax, [rbx + 1]
cmp rax, 1
jle 0x140083002
xor edx, edx
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1400cd870], eax
mov qword [0x1400cd868], rdi
mov rcx, qword [0x1400c9c50]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x20], 2
mov r9d, 0xc0
lea r8, str.T:p4depotLoL__MAIN__codeExternal_sentry_tmp_sentry_nativeexternalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.140049c10
nop
mov dword [rsp + 0x148], 2
lea rdx, str.crash_server_did_not_respond__self_terminating
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.140049e20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xffff7001
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rdi
ret