joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40abb0
Capabilities:
Get disk size

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x60
mov r12, rcx
lea rcx, [0x0044f9f0]
mov rdi, r9
mov rsi, r8
mov rbx, rdx
xor bpl, bpl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.GetDiskFreeSpaceExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x40ac16
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, r12
call rax
test eax, eax
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rax, qword [rsp + 0x48]
setne bpl
mov qword [rdi], rax
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
mov rcx, r12
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x40ac68
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
imul rcx, rax
test bpl, bpl
mov qword [rbx], rcx
jne 0x40ac66
mov eax, dword [rsp + 0x38]
imul rax, rcx
mov qword [rsi], rax
mov eax, dword [rsp + 0x3c]
imul rax, qword [rbx]
mov qword [rdi], rax
mov al, 1
add rsp, 0x60
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x44ec76
Capabilities:
Encode data using xor

Disassembly:
not ecx
xchg dl, dh
jge 0x44ed47
jmp loc.0047e6e4
xchg ch, cl
mov ecx, edi
stc
not dl
push 0x6a0e
clc
pop rax
not dh
not cl
lea ecx, [rsi - 0xe]
jmp 0x44ed47
or r9d, ebx
dec dh
mov cl, 0xb4
mov dh, 0x8c
sub eax, 2
xchg dh, cl
xchg ch, dh
jmp 0x44ec0a
lea ecx, [rbp + 0x7d]
not ch
sbb word [rax + 0x78000], 0x5e0f
jmp 0x44edbe
xchg r10, rdx
jmp 0x44ecd3
Function at 0x140dd9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140dd91df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140dd9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dd906f
add dl, dl
jne 0x140dd9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dd90f6
xor eax, eax
add dl, dl
jne 0x140dd90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140dd91ad
add dl, dl
jne 0x140dd90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140dd90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140dd907e
mov eax, 1
add dl, dl
jne 0x140dd9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140dd9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dd90fb
sub eax, ebx
mov ebx, 1
jne 0x140dd914c
mov ecx, 1
add dl, dl
jne 0x140dd912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dd913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dd9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dd907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140dd9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140dd9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140dd915d
cmp eax, 0x7d00
jae 0x140dd919b
cmp eax, 0x500
jb 0x140dd9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dd907e
cmp eax, 0x7f
ja 0x140dd919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140dd907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140dd91d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140dd907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140031b60
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x160
xor ebx, ebx
mov dword [rsp + 0x178], ebx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x50]
mov edi, 0xff
cmp ecx, edi
jbe 0x140031bdc
mov dword [rsp + 0x20], 1
lea r9d, [rdi + 0xb]
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpad_snapshotwin_system_snapshot_win.cc
lea rdx, str.unsigned_char___cdecl_crashpad::internal::SystemSnapshotWin::CPUCount_void__const
lea rcx, [rsp + 0x60]
call fcn.14004df50
nop
mov dword [rsp + 0x178], 1
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x60]
call fcn.14004e160
mov ecx, dword [rsp + 0x50]
mov word [rsp + 0x178], 0x100
mov eax, edi
cmp ecx, edi
cmovbe eax, ecx
mov rbx, qword [rsp + 0x170]
add rsp, 0x160
pop rdi
ret
Function at 0x140031c00
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 r9d, dword [rsp + 0x50]
mov ebx, 0xff
cmp r9d, ebx
jbe 0x140031c93
mov dword [rsp + 0x20], 1
lea r9d, [rbx + 0xb]
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpad_snapshotwin_system_snapshot_win.cc
lea rdx, str.unsigned_char___cdecl_crashpad::internal::SystemSnapshotWin::CPUCount_void__const
lea rcx, [rsp + 0x60]
call fcn.14004df50
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.14004e160
mov r9d, dword [rsp + 0x50]
mov word [rsp + 0x1a8], 0x100
cmp r9d, ebx
mov ecx, ebx
cmovbe ecx, r9d
movzx r15d, cl
mov rbx, rbp
mov rdi, rbp
mov r14, rbp
test cl, cl
je 0x140031d2f
lea rax, [r15 + r15*2]
lea rsi, [rax*8]
cmp rsi, 0x1000
jb 0x140031cff
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140031e56
call fcn.14005742c
mov rcx, rax
test rax, rax
je 0x140031e5c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rbx, rax
lea rdi, [rax + rsi]
jmp 0x140031d1f
test rsi, rsi
je 0x140031d15
mov rcx, rsi
call fcn.14005742c
mov rbx, rax
lea rdi, [rax + rsi]
jmp 0x140031d1f
mov rax, rbp
mov rbx, rbp
lea rdi, [rsi + rbp]
mov r14, rdi
mov r8, rsi
xor edx, edx
mov rcx, rax
call fcn.140059b20
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 0x140031d57
mov qword [r12], rbp
jmp 0x140031ddd
mov rcx, rbx
cmp rbx, rdi
je 0x140031d9a
lea rdx, [rbx + 0x18]
cmp rdx, rdi
je 0x140031d9a
nop dword [rax + rax]
mov eax, dword [rdx + 8]
cmp dword [rcx + 8], eax
cmovb rcx, rdx
add rdx, 0x18
cmp rdx, rdi
jne 0x140031d70
mov eax, dword [rcx + 8]
imul rcx, rax, 0xf4240
mov qword [r12], rcx
mov rcx, rbx
lea rdx, [rbx + 0x18]
jmp 0x140031dc0
mov eax, dword [rbx + 8]
imul rcx, rax, 0xf4240
mov qword [r12], rcx
mov rcx, rbx
cmp rbx, rdi
je 0x140031dd3
lea rdx, [rbx + 0x18]
cmp rdx, rdi
je 0x140031dd3
nop dword [rax]
mov eax, dword [rdx + 4]
cmp dword [rcx + 4], eax
cmovb rcx, rdx
add rdx, 0x18
cmp rdx, rdi
jne 0x140031dc0
mov eax, dword [rcx + 4]
imul rbp, rax, 0xf4240
mov qword [r13], rbp
test rbx, rbx
je 0x140031e35
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 0x140031e2d
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140031e5c
mov rbx, rcx
mov rcx, rbx
call fcn.140057468
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.140007d40
int3
call fcn.14005da04
int3
Function at 0x14004a710
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14004c820
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 0x14004c860
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x14004c8be
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.14002cfb0
test rax, rax
je 0x14004c8be
mov qword [rsp + 0x20], rax
mov r9d, 0x65
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.14004dfd0
lea rcx, [rsp + 0x30]
call fcn.14004e160
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret

Function at 0x14004a720
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 0x14004a76b
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x14004a76b
xor ecx, ecx
mov qword [rsp + 0x40], 0x18
mov dword [rsp + 0x54], edi
call fcn.14004a7c0
mov qword [rsp + 0x48], rax
lea rdi, [rsp + 0x40]
mov dword [rsp + 0x50], 1
cmp qword [rbx + 0x18], 8
jb 0x14004a775
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 0x14004af00
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, [0x14004afd0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14004afa7
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
lea r9d, [rdi + 0x1b]
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadutil_thread_thread_win.cc
lea rdx, str.void___cdecl_crashpad::Thread::Start_void_
lea rcx, [rsp + 0x30]
call fcn.14004e0e0
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, [0x14009a3e8]
call fcn.1400012e0
mov rcx, rax
lea rdx, [0x1400a3308]
call fcn.1400012e0
nop
test dil, 2
je 0x14004afb7
lea rcx, [rsp + 0x30]
call fcn.14004e3b0
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rdi
ret

Function at 0x14004c660
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 0x14004c6e8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xf1
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::LoggingSeekFile_void____int64_int_
lea rcx, [rsp + 0x30]
call fcn.14004e0e0
nop
mov dword [rsp + 0x158], 4
lea rdx, [0x1400a7618]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004e3b0
xor al, al
add rsp, 0x140
pop rbx
ret
cmp qword [rsp + 0x160], 0
jne 0x14004c755
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14004c760
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0xfb
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadutil_file_file_io_win.cc
lea rdx, str.bool___cdecl_crashpad::LoggingTruncateFile_void__
lea rcx, [rsp + 0x30]
call fcn.14004e0e0
nop
mov dword [rsp + 0x158], 1
lea rdx, [0x1400a7630]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x30]
call fcn.14004e3b0
xor al, al
add rsp, 0x140
pop rbx
ret
mov al, 1
add rsp, 0x140
pop rbx
ret
Function at 0x14004c820
Capabilities:
Write file on windows

Disassembly:
mov rcx, qword [rcx + 8]
jmp 0x14004c820
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 0x14004c860
mov rax, 0xffffffffffffffff
add rsp, 0x130
pop rbx
ret
mov dword [rsp + 0x158], ebx
cmp dword [rsp + 0x150], ebx
jne 0x14004c8be
lea r8, str.bytes_written___static_cast_DWORD___1_
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x150]
call fcn.14002cfb0
test rax, rax
je 0x14004c8be
mov qword [rsp + 0x20], rax
mov r9d, 0x65
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::internal::NativeWriteFile_void__const_void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.14004dfd0
lea rcx, [rsp + 0x30]
call fcn.14004e160
mov eax, dword [rsp + 0x150]
add rsp, 0x130
pop rbx
ret

Function at 0x14004c940
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
mov r14d, 0xffffffff
lea r9, [rsp + 0x160]
cmp r8, r14
cmova edi, r14d
xor ebp, ebp
mov r8d, edi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004ca2b
mov dword [rsp + 0x168], r14d
cmp dword [rsp + 0x160], r14d
je 0x14004c9a2
mov rax, rbp
jmp 0x14004c9be
lea r8, str.bytes_read___static_cast_DWORD___1_
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0x160]
call fcn.14002cfb0
test rax, rax
je 0x14004c9f0
mov r9d, 0x7e
mov qword [rsp + 0x20], rax
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadutil_file_file_io_win.cc
lea rdx, str.__int64___cdecl_crashpad::ReadFile_void__void__unsigned___int64_
lea rcx, [rsp + 0x30]
call fcn.14004dfd0
lea rcx, [rsp + 0x30]
call fcn.14004e160
cmp dword [rsp + 0x160], ebp
jne 0x14004ca51
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 3
jne 0x14004ca51
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 0x14004c993
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 0x14004ca39
Function at 0x14004e160
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1400ce038]
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.14004eef0
movzx edx, al
mov rcx, rdi
call fcn.14004edb0
mov rcx, rdi
call fcn.14004ece0
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400099b0
mov rax, qword [0x1400d11c0]
test rax, rax
je 0x14004e255
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 0x14004e255
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14004e22b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e226
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e3a8
call fcn.140057468
mov rcx, rdi
call fcn.140003d90
nop
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140057820
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
mov eax, dword [0x1400ce010]
test al, 4
je 0x14004e2a4
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rbx, qword [rsp + 0x50]
mov ecx, 2
call fcn.14005ec84
mov r8, rbx
lea rdx, [0x1400a7760]
mov rcx, rax
call fcn.140009cb0
mov ecx, 2
call fcn.14005ec84
mov rcx, rax
call fcn.140069500
mov eax, dword [0x1400ce010]
test al, 2
je 0x14004e355
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.14004f3a0
cmp qword [rax + 0x18], 8
jb 0x14004e2f0
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rdx, qword [rsp + 0x88]
cmp rdx, 8
jb 0x14004e33a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e335
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e3a2
call fcn.140057468
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 7
mov word [rsp + 0x70], ax
cmp dword [rdi + 0xfc], 4
jne 0x14004e361
int3
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14004e22b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004e226
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004e3a8
jmp 0x14004e226
call fcn.14005da04
int3
call fcn.14005da04
int3
Function at 0x14006d7a0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14006d5cc

Function at 0x1400811c0
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400ce038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x1400811f0
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140081203
mov al, 1
jmp 0x14008130e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140081306
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140081221
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.14004f460
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, 0x267
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::CreateDirectoryIfNecessary_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.14004e0e0
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 0x1400812ac
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001dc0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e3b0
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x140081302
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400812fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140081327
call fcn.140057468
xor al, al
jmp 0x14008130e
mov rcx, rbx
call fcn.140081580
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140057820
add rsp, 0x180
pop rbx
ret
call fcn.14005da04
int3
Function at 0x140081580
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x1400ce038]
xor rax, rsp
mov qword [rsp + 0x178], rax
mov rbx, rcx
mov dword [rsp + 0x30], 0
cmp qword [rcx + 0x18], 8
jb 0x1400815b0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400816b9
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400815cc
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.14004f460
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, 0x252
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.14004e0e0
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 0x140081657
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001dc0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e3b0
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400817b5
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400817b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400817da
jmp 0x1400817b0
test al, 0x10
jne 0x1400817b9
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400816ce
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.14004f460
mov rbx, rax
mov dword [rsp + 0x30], 4
mov dword [rsp + 0x20], 2
mov r9d, 0x256
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadclientcrash_report_database_win.cc
lea rdx, str.bool___cdecl_crashpad::_anonymous_namespace::EnsureDirectory_const_class_base::FilePath__
lea rcx, [rsp + 0x50]
call fcn.14004df50
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 0x140081750
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140001dc0
lea rdx, str.:_not_a_directory
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e160
nop
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x1400817b5
inc rdx
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400817b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400817d4
call fcn.140057468
xor al, al
jmp 0x1400817bb
mov al, 1
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.140057820
add rsp, 0x180
pop rbx
ret
call fcn.14005da04
int3
call fcn.14005da04
int3
Function at 0x1400877e0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x130
mov rdi, rcx
mov ebx, 1
nop word [rax + rax]
mov rax, qword [0x1400d2a00]
nop
test rax, rax
jne 0x140087817
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140087800
cmp eax, 2
jne 0x14008784a
mov r9d, 0x90
mov dword [rsp + 0x20], eax
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.14004df50
lea rdx, str.crash_server_failed_to_launch__self_terminating
jmp 0x1400878db
mov rax, qword [0x1400d29e8]
test rax, rax
je 0x140087863
mov rcx, rdi
call rax
test al, al
jne 0x140087901
lock xadd qword [0x1400d2a30], rbx
lea rax, [rbx + 1]
cmp rax, 1
jle 0x140087883
xor edx, edx
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov rcx, qword [0x1400cec40]
mov dword [0x1400d29e0], eax
mov qword [0x1400d29d8], rdi
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, 0xea60
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r9d, 0xc0
mov dword [rsp + 0x20], 2
lea r8, str.C:Userschao.liang.conandata_sentry0.5.1_bmlibdefault_source_sentry_0_5_0externalcrashpadclientcrashpad_client_win.cc
lea rdx, str.long___cdecl_crashpad::_anonymous_namespace::UnhandledExceptionHandler_struct__EXCEPTION_POINTERS__
lea rcx, [rsp + 0x30]
call fcn.14004df50
lea rdx, str.crash_server_did_not_respond__self_terminating
mov rcx, rax
call fcn.1400012e0
lea rcx, [rsp + 0x30]
call fcn.14004e160
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xffff7001
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rbx, qword [rsp + 0x140]
xor eax, eax
add rsp, 0x130
pop rdi
ret