Function at 0x1400429b0
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov rax, qword [0x14010e038]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x140042a6f
cmp byte [rsi + 0x30], 0
jne 0x140042a94
xorps xmm0, xmm0
lea rax, [rsp + 0x70]
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0xffffffff
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
je 0x140042b07
mov rbx, qword [rsi + 0x38]
test rbx, rbx
jne 0x140042b6c
lea rcx, [rsi + 0x18]
call fcn.14005c110
lea rax, [0x1400f1dc0]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x140042bb2
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x140042a67
call fcn.140044cc0
mov qword [rsi + 8], 0xffffffffffffffff
mov rcx, rsi
call fcn.14007b788
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007c600
nop
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.14004e460
test rax, rax
je 0x140042bb5
mov ecx, 2
call fcn.1400621e0
test al, al
je 0x1400429f2
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xe0]
mov rcx, rdi
mov r8d, 0x1fa
mov r9d, 2
call fcn.140035120
lea rcx, [rsp + 0xf0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
int3
mov ecx, 2
call fcn.1400621e0
test al, al
je 0x140042a26
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xe0]
mov rcx, rdi
mov r8d, 0x135
mov r9d, 2
int3
mov rdi, qword [rsi + 0x40]
cmp rdi, rbx
je 0x140042fb6
lea rbp, [rdi - 0x70]
cmp byte [rdi - 0x31], 0
jns 0x140042b8c
mov rcx, qword [rdi - 0x48]
call fcn.14007b788
add rdi, 0xffffffffffffffa0
mov rcx, rdi
call fcn.14005c110
mov rdi, rbp
cmp rbx, rbp
jne 0x140042b79
mov rcx, qword [rsi + 0x38]
mov qword [rsi + 0x40], rbx
call fcn.14007b788
jmp 0x140042a33
int3
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140042fbe
mov rbx, qword [rsi + 0x40]
sub rbx, qword [rsi + 0x38]
mov rdi, rbx
sar rdi, 4
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
mov dword [rsp + 0xdc], 0
movabs rax, 0x143504144
mov qword [rsp + 0xd0], rax
mov rax, rdi
shr rax, 0x20
jne 0x140043279
mov eax, edi
lea rdx, [rsp + 0xd0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.14004e8c0
test al, al
je 0x140043023
test rbx, rbx
je 0x1400429f2
movabs rcx, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
xor eax, eax
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xa0], rax
movaps xmmword [rsp + 0x90], xmm0
cmp rdi, rcx
ja 0x140043281
imul rdi, rdi, 0x38
mov rcx, rdi
int3
mov rcx, rbx
jmp 0x140042ba4
mov ecx, 2
call fcn.1400621e0
test al, al
je 0x1400429f2
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xe0]
mov rcx, rdi
mov r8d, 0x201
mov r9d, 2
int3
mov ecx, 2
call fcn.1400621e0
test al, al
je 0x1400429f2
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xe0]
mov rcx, rdi
mov r8d, 0x20d
mov r9d, 2
call fcn.140035120
lea rcx, [rsp + 0xf0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x140042af5
int3
int3