joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f5f0
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 0x14002f682
mov dword [rsp + 0x20], 1
lea r9d, [rbx + 0xb]
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpad_snapshotwin_system_snapshot_win.cc
lea rdx, str.unsigned_char___cdecl_crashpad::internal::SystemSnapshotWin::CPUCount_void__const
lea rcx, [rsp + 0x60]
call fcn.14004b780
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.14004b9a0
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 0x14002f70f
lea rax, [r15 + r15*2]
lea rsi, [rax*8]
cmp rsi, 0x1000
jb 0x14002f6df
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x14002f836
call fcn.1400551ac
mov rcx, rax
test rax, rax
je 0x14002f83c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rbx, rax
lea rdi, [rax + rsi]
jmp 0x14002f6ff
test rsi, rsi
je 0x14002f6f5
mov rcx, rsi
call fcn.1400551ac
mov rbx, rax
lea rdi, [rax + rsi]
jmp 0x14002f6ff
mov rax, rbp
mov rbx, rbp
lea rdi, [rsi + rbp]
mov r14, rdi
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.14008e560
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 0x14002f737
mov qword [r12], rbp
jmp 0x14002f7bd
mov rcx, rbx
cmp rbx, rdi
je 0x14002f77a
lea rdx, [rbx + 0x18]
cmp rdx, rdi
je 0x14002f77a
nop dword [rax + rax]
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
cmovb rcx, rdx
add rdx, 0x18
cmp rdx, rdi
jne 0x14002f750
mov eax, dword [rcx + 8]
imul rcx, rax, 0xf4240
mov qword [r12], rcx
mov rcx, rbx
lea rdx, [rbx + 0x18]
jmp 0x14002f7a0
mov eax, dword [rbx + 8]
imul rcx, rax, 0xf4240
mov qword [r12], rcx
mov rcx, rbx
cmp rbx, rdi
je 0x14002f7b3
lea rdx, [rbx + 0x18]
cmp rdx, rdi
je 0x14002f7b3
nop dword [rax]
mov eax, dword [rdx + 4]
cmp dword [rcx + 4], eax
cmovb rcx, rdx
add rdx, 0x18
cmp rdx, rdi
jne 0x14002f7a0
mov eax, dword [rcx + 4]
imul rbp, rax, 0xf4240
mov qword [r13], rbp
test rbx, rbx
je 0x14002f815
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 0x14002f80d
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14002f83c
mov rbx, rcx
mov rcx, rbx
call fcn.1400551e8
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.140007bd0
int3
call fcn.14005bf54
int3
Function at 0x140048000
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp fcn.14004a0f0

Function at 0x140048010
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 0x14004805b
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x14004805b
xor ecx, ecx
mov qword [rsp + 0x40], 0x18
mov dword [rsp + 0x54], edi
call fcn.1400480b0
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x40]
mov dword [rsp + 0x50], 1
cmp qword [rbx + 0x18], 7
jbe 0x140048065
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 0x1400487f0
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, [0x1400488c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
jne 0x140048897
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
lea r9d, [rdi + 0x1b]
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutil_thread_thread_win.cc
lea rdx, str.void___cdecl_crashpad::Thread::Start_void_
lea rcx, [rsp + 0x30]
call fcn.14004b920
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, [0x140099200]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x1400a1b08]
call fcn.1400012e0
nop
test dil, 2
je 0x1400488a7
lea rcx, [rsp + 0x30]
call fcn.14004bbf0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret

Function at 0x140049f30
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 0x140049fb8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xf1
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::LoggingSeekFile_void____int64_int_
lea rcx, [rsp + 0x30]
call fcn.14004b920
nop
mov dword [rsp + 0x158], 4
lea rdx, [0x1400a5ae8]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004bbf0
xor al, al
add rsp, 0x140
pop rbx
ret
cmp qword [rsp + 0x160], 0
jne 0x14004a025
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14004a030
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xfb
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingTruncateFile_void__
lea rcx, [rsp + 0x30]
call fcn.14004b920
nop
mov dword [rsp + 0x158], 1
lea rdx, [0x1400a5b00]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004bbf0
xor al, al
add rsp, 0x140
pop rbx
ret
mov al, 1
add rsp, 0x140
pop rbx
ret
Function at 0x14004a0f0
Capabilities:
Write file on windows

Disassembly:
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 0x14004a130
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x14004a18e
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.14002ac50
test rax, rax
je 0x14004a18e
mov qword [rsp + 0x20], rax
mov r9d, 0x65
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.14004b800
lea rcx, [rsp + 0x30]
call fcn.14004b9a0
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret

Function at 0x14004a210
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 r14d, r14d
mov ebp, 0xffffffff
mov qword [rsp + 0x20], r14
cmp r8, rbp
lea r9, [rsp + 0x160]
cmova edi, ebp
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004a2f4
mov dword [rsp + 0x168], ebp
cmp dword [rsp + 0x160], ebp
jne 0x14004a2b8
lea r8, str.bytes_read___static_cast_DWORD___1_
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x160]
call fcn.14002ac50
test rax, rax
je 0x14004a2b8
mov r9d, 0x7e
mov qword [rsp + 0x20], rax
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::ReadFile_void__void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.14004b800
lea rcx, [rsp + 0x30]
call fcn.14004b9a0
cmp dword [rsp + 0x160], 0
jne 0x14004a31a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x14004a31a
lea r9, [rsp + 0x160]
mov qword [rsp + 0x20], r14
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14004a261
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 0x14004a302
Function at 0x14004b9a0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400c9040]
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.14004c680
movzx edx, al
mov rcx, rdi
call fcn.14004c530
mov rcx, rdi
call fcn.14004c460
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400095d0
mov rax, qword [0x1400cc790]
test rax, rax
je 0x14004ba95
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 0x14004ba95
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004ba6b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ba66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004bbe5
call fcn.1400551e8
mov rcx, rdi
call fcn.1400047e0
nop
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140055420
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
mov eax, dword [0x1400c9010]
test al, 4
je 0x14004bae4
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rbx, qword [rsp + 0x50]
mov ecx, 2
call fcn.14005c258
mov r8, rbx
lea rdx, [0x1400a5c30]
mov rcx, rax
call fcn.1400098d0
mov ecx, 2
call fcn.14005c258
mov rcx, rax
call fcn.1400699c0
mov eax, dword [0x1400c9010]
test al, 2
je 0x14004bb92
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova 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.14004cb50
cmp qword [rax + 0x18], 7
jbe 0x14004bb30
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x14004bb7a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004bb75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004bbdf
call fcn.1400551e8
movdqa xmm0, xmmword [0x140097e10]
movdqu xmmword [rsp + 0x80], xmm0
xor eax, eax
mov word [rsp + 0x70], ax
cmp dword [rdi + 0xfc], 4
jne 0x14004bb9e
int3
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14004ba6b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ba66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004bbe5
jmp 0x14004ba66
call fcn.14005bf54
int3
call fcn.14005bf54
int3
Function at 0x140055f2c
Capabilities:
Parse pe header

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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140075704
xor eax, eax
jmp 0x1400757c7
mov rbp, rbx
cmp word [rax], si
je 0x140075729
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140075710
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14007570c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140073514
movsxd r14, eax
test eax, eax
jne 0x140075767
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400756fd
mov rcx, r14
call fcn.14006fe04
mov rdi, rax
test rax, rax
jne 0x140075780
xor ecx, ecx
call fcn.14006ea2c
jmp 0x14007575c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140073514
test eax, eax
jne 0x1400757b1
mov rcx, rdi
call fcn.14006ea2c
jmp 0x1400757bb
xor ecx, ecx
call fcn.14006ea2c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400757e4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14007586b
mov rsi, rbx
cmp word [rax], bp
je 0x14007582a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140075814
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140075810
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14006fe04
mov rdi, rax
test rax, rax
je 0x140075858
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14008dec0
mov rbp, rdi
xor ecx, ecx
call fcn.14006ea2c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140078988
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14006db80
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140078a29
cmp ebx, dword [rsp + 0x30]
je 0x140078a22
test esi, esi
je 0x140078a22
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400789fd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140078a0a
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400789e7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140078a0e
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140078a2b
mov eax, 1
jmp 0x140078a2b
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14007aa7c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14007aa92
mov al, 1
jmp 0x14007aaf2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14007aaa3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14007aaf0
mov ecx, dword [rcx + 0x18]
nop
call fcn.140076434
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14007aaf0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14007aaf0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14007aaf0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14007aaf2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14007be80
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400646c8
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14007bf0a
cmp byte [rbp - 0x21], r15b
je 0x14007bf05
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14007bf40
call fcn.14006f314
test eax, eax
jne 0x14007bf2c
cmp byte [rbp - 0x21], r15b
je 0x14007bf24
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14007bf40
cmp byte [rbp - 0x21], r15b
je 0x14007bf3d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14006a600
test eax, eax
jne 0x14007bfe0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400646c8
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14007bf7f
cmp byte [rbp - 0x21], r15b
je 0x14007bfb4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14007bfb4
call fcn.14006f314
test eax, eax
jne 0x14007bfa0
cmp byte [rbp - 0x21], r15b
je 0x14007bf99
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14007bfb4
cmp byte [rbp - 0x21], r15b
je 0x14007bfb1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14006a600
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14007bfe0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007bfe3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14007bff1
mov rcx, rdi
call fcn.14006ea2c
cmp byte [rbp + 0x3f], r15b
je 0x14007c000
mov rcx, qword [rbp + 0x27]
call fcn.14006ea2c
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14007f790
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400c9040]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 7
jbe 0x14007f7c0
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14007f7d3
mov al, 1
jmp 0x14007f8de
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14007f8d6
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14007f7f1
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.14004cd30
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, 0x266
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::CreateDirectoryIfNecessary_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.14004b920
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], 0xf
jbe 0x14007f87c
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140002610
nop
lea rcx, [rsp + 0x50]
call fcn.14004bbf0
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x14007f8d2
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f8cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f8f7
call fcn.1400551e8
xor al, al
jmp 0x14007f8de
mov rcx, rbx
call fcn.14007fb50
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140055420
add rsp, 0x180
pop rbx
ret
call fcn.14005bf54
int3
Function at 0x14007fb50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400c9040]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 7
jbe 0x14007fb80
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14007fc89
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14007fb9c
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.14004cd30
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, 0x251
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.14004b920
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], 0xf
jbe 0x14007fc27
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140002610
nop
lea rcx, [rsp + 0x50]
call fcn.14004bbf0
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x14007fd85
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007fd80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007fdaa
jmp 0x14007fd80
test al, 0x10
jne 0x14007fd89
mov rax, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14007fc9e
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.14004cd30
mov rbx, rax
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x20], 2
mov r9d, 0x255
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.14004b780
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], 0xf
jbe 0x14007fd20
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140002610
lea rdx, str.:_not_a_directory
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x50]
call fcn.14004b9a0
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0xf
jbe 0x14007fd85
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007fd80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007fda4
call fcn.1400551e8
xor al, al
jmp 0x14007fd8b
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140055420
add rsp, 0x180
pop rbx
ret
call fcn.14005bf54
int3
call fcn.14005bf54
int3