Function at 0x14007dfb0
Capabilities:
Clear file content

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x208
lea rbp, [rsp + 0x80]
mov rax, qword [0x1401e3a38]
xor rax, rbp
mov qword [rbp + 0x180], rax
mov rsi, qword [rcx]
test rsi, rsi
je 0x14007e0fd
cmp byte [rsi + 0x30], 0
je 0x14007e049
mov rcx, qword [rsi]
xor edx, edx
xor r8d, r8d
call fcn.1400c4b80
test rax, rax
je 0x14007e121
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007e049
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rbp + 0x48]
mov rcx, rdi
mov r8d, 0x1d5
mov r9d, 2
call fcn.14003bf00
lea rcx, [rbp + 0x50]
lea rdx, str.failed_to_rewind_to_write
call fcn.140002b70
mov rcx, rdi
call fcn.14003c3a0
pxor xmm0, xmm0
lea rax, [rbp + 0x160]
movdqa xmmword [rax + 0x10], xmm0
movdqa xmmword [rax], xmm0
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
xor edx, edx
mov r8d, 0xffffffff
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
jne 0x14007e0cb
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007e0cb
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, [rbp + 0x48]
mov rcx, rdi
mov r8d, 0x129
mov r9d, 2
call fcn.14003cd30
lea rcx, [rbp + 0x58]
lea rdx, [0x1401a755a]
call fcn.140002b70
mov rcx, rdi
call fcn.14003ce70
lea rcx, [rsi + 0x38]
call fcn.14007f860
lea rcx, [rsi + 0x10]
call fcn.140032460
cmp byte [rsi + 8], 0
jne 0x14007e76d
mov rcx, qword [rsi]
cmp rcx, 0xffffffffffffffff
je 0x14007e0f5
call fcn.1400bbf90
mov rcx, rsi
call fcn.14014b200
mov rcx, qword [rbp + 0x180]
xor rcx, rbp
call fcn.14014b5e0
nop
add rsp, 0x208
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14007e1fe
mov rbx, qword [rsi + 0x40]
sub rbx, qword [rsi + 0x38]
mov rax, rbx
sar rax, 3
movabs rdi, 0xeeeeeeeeeeeeeeef
imul rdi, rax
mov qword [rbp - 8], 0
movabs rax, 0x143504144
mov qword [rbp - 0x10], rax
mov rax, rdi
shr rax, 0x20
jne 0x14007e765
mov eax, edi
lea rdx, [rbp - 0x10]
mov dword [rdx + 8], eax
mov rcx, qword [rsi]
mov r8d, 0x10
call fcn.1400c4f40
test al, al
je 0x14007e255
test rbx, rbx
je 0x14007e049
movabs rcx, 0x492492492492492
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rbp + 0x38], xmm0
mov byte [rbp + 0x28], 0
cmp rdi, rcx
ja 0x14007e774
imul rbx, rdi, 0x38
cmp rbx, 0x1000
jb 0x14007e296
mov rax, rbx
add rax, 0x27
mov rcx, 0xffffffffffffffff
cmovae rcx, rax
call fcn.14014b1a0
lea r15, [rax + 0x27]
and r15, 0xffffffffffffffe0
mov qword [r15 - 8], rax
jmp 0x14007e2a1
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007e049
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, [rbp + 0x48]
mov rcx, rdi
mov r8d, 0x1dc
mov r9d, 2
call fcn.14003cd30
lea rcx, [rbp + 0x58]
lea rdx, str.failed_to_truncate
call fcn.140002b70
mov rcx, rdi
call fcn.14003ce70
jmp 0x14007e049
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007e049
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rbp + 0x48]
mov rcx, rdi
mov r8d, 0x1e8
mov r9d, 2
call fcn.14003bf00
lea rcx, [rbp + 0x50]
lea rdx, str.failed_to_write_header
jmp 0x14007e03c
mov rcx, rbx
call fcn.14014b1a0
mov r15, rax
add rbx, r15
mov r13, qword [rsi + 0x38]
mov rax, qword [rsi + 0x40]
mov qword [rbp - 0x50], rax
cmp r13, rax
mov qword [rbp - 0x18], rsi
je 0x14007e58e
lea rax, [rsi + 0x10]
mov qword [rbp - 0x30], rax
mov r14, r15
mov qword [rbp - 0x28], rbx
lea rdi, [r13 + 0x10]
mov rcx, rdi
lea r12, [rbp + 0x48]
mov rdx, r12
call fcn.1400332a0
mov rcx, r12
mov rdx, qword [rbp - 0x30]
call fcn.140032820
mov ebx, eax
mov rcx, r12
call fcn.140032460
test bl, bl
jne 0x14007e610
movups xmm0, xmmword [r13]
movaps xmmword [rbp + 0x10], xmm0
mov rcx, rdi
lea rdi, [rbp + 0x160]
mov rdx, rdi
call fcn.140033740
mov rax, qword [rbp + 0x170]
cmp qword [rbp + 0x178], 7
jbe 0x14007e330
mov rdi, qword [rbp + 0x160]
mov qword [rbp], rdi
mov qword [rbp + 8], rax
lea rdi, [rbp + 0x48]
mov rcx, rdi
mov rdx, rbp
call fcn.14004e5d0
lea rbx, [rbp + 0x28]
mov rcx, rbx
mov rdx, rdi
call fcn.14007f910
mov esi, eax
mov rcx, rdi
call fcn.140006b00
lea rcx, [rbp + 0x160]
call fcn.140032460
lea rdx, [r13 + 0x30]
mov rcx, rbx
call fcn.14007f910
mov r10d, eax
mov r11, qword [r13 + 0x50]
mov r9, qword [r13 + 0x60]
mov r8d, dword [r13 + 0x68]
mov dil, byte [r13 + 0x6c]
add dil, dil
or dil, byte [r13 + 0x58]
mov ecx, dword [r13 + 0x70]
xor eax, eax
mov dword [rbp + 0x4b], eax
mov dword [rbp + 0x48], eax
mov rbx, qword [rbp - 0x28]
cmp rbx, r14
je 0x14007e3e4
movdqa xmm0, xmmword [rbp + 0x10]
movdqu xmmword [r14], xmm0
mov dword [r14 + 0x10], esi
mov dword [r14 + 0x14], r10d
mov qword [r14 + 0x18], r11
mov qword [r14 + 0x20], r9
mov dword [r14 + 0x28], r8d
mov dword [r14 + 0x2c], ecx
mov byte [r14 + 0x30], dil
mov eax, dword [rbp + 0x48]
mov ecx, dword [rbp + 0x4b]
mov dword [r14 + 0x34], ecx
mov dword [r14 + 0x31], eax
add r14, 0x38
jmp 0x14007e57e
mov dword [rbp - 0x34], ecx
mov dword [rbp - 0x38], esi
mov r14, rbx
sub r14, r15
mov r12, r14
sar r12, 3
movabs rax, 0x6db6db6db6db6db7
imul r12, rax
lea rcx, [r12 + 1]
mov rax, r12
shr rax, 1
movabs rbx, 0x492492492492492
mov rdx, rbx
sub rdx, rax
mov qword [rbp - 0x40], rcx
cmp r12, rdx
ja 0x14007e43a
add rax, r12
mov rcx, qword [rbp - 0x40]
cmp rax, rcx
cmovb rax, rcx
mov rcx, rax
imul rdx, rcx, 0x38
cmp rcx, rbx
mov rcx, rdx
mov rax, 0xffffffffffffffff
cmova rcx, rax
cmp rcx, 0x1000
mov qword [rbp - 0x48], rdx
jb 0x14007e493
add rcx, 0x27
cmovb rcx, rax
mov dword [rbp - 0x1c], r8d
mov rbx, r9
mov dword [rbp - 0x20], r10d
mov rsi, r11
call fcn.14014b1a0
mov r11, rsi
mov r10d, dword [rbp - 0x20]
mov r9, rbx
mov r8d, dword [rbp - 0x1c]
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14007e4c0
test rcx, rcx
je 0x14007e4be
mov dword [rbp - 0x1c], r8d
mov rsi, r9
mov dword [rbp - 0x20], r10d
mov rbx, r11
call fcn.14014b1a0
mov r11, rbx
mov r10d, dword [rbp - 0x20]
mov r9, rsi
mov r8d, dword [rbp - 0x1c]
mov rbx, rax
jmp 0x14007e4c0
xor ebx, ebx
imul rax, r12, 0x38
movdqa xmm0, xmmword [rbp + 0x10]
movdqu xmmword [rbx + rax], xmm0
mov ecx, dword [rbp - 0x38]
mov dword [rbx + rax + 0x10], ecx
mov dword [rbx + rax + 0x14], r10d
mov qword [rbx + rax + 0x18], r11
mov qword [rbx + rax + 0x20], r9
mov dword [rbx + rax + 0x28], r8d
mov ecx, dword [rbp - 0x34]
mov dword [rbx + rax + 0x2c], ecx
mov byte [rbx + rax + 0x30], dil
mov ecx, dword [rbp + 0x48]
mov edx, dword [rbp + 0x4b]
mov dword [rbx + rax + 0x34], edx
mov dword [rbx + rax + 0x31], ecx
mov rdx, qword [rbp - 0x28]
cmp r15, rdx
je 0x14007e544
xor eax, eax
mov rcx, qword [r15 + rax + 0x30]
mov qword [rbx + rax + 0x30], rcx
movdqu xmm0, xmmword [r15 + rax]
movups xmm1, xmmword [r15 + rax + 0x10]
movups xmm2, xmmword [r15 + rax + 0x20]
movups xmmword [rbx + rax + 0x20], xmm2
movups xmmword [rbx + rax + 0x10], xmm1
movdqu xmmword [rbx + rax], xmm0
add rax, 0x38
cmp r14, rax
jne 0x14007e50e
jmp 0x14007e547
mov r15, rdx
test r15, r15
je 0x14007e569
sub rdx, r15
sar rdx, 3
movabs rax, 0x6db6db6db6db6db7
imul rdx, rax
mov rcx, r15
call fcn.14007f8d0
imul r14, qword [rbp - 0x40], 0x38
add r14, rbx
mov rax, qword [rbp - 0x48]
add rax, rbx
mov r15, rbx
mov rbx, rax
add r13, 0x78
cmp r13, qword [rbp - 0x50]
jne 0x14007e2c8
jmp 0x14007e591
mov r14, r15
sub r14, r15
mov rax, qword [rbp - 0x18]
mov rcx, qword [rax]
mov rdx, r15
mov r8, r14
call fcn.1400c4f40
test al, al
je 0x14007e5c2
mov r8, qword [rbp + 0x38]
cmp qword [rbp + 0x40], 0xf
jbe 0x14007e6d2
mov rdx, qword [rbp + 0x28]
jmp 0x14007e6d6
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007e731
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rbp + 0x48]
mov rcx, rdi
mov r8d, 0x200
mov r9d, 2
call fcn.14003bf00
lea rcx, [rbp + 0x50]
lea rdx, str.failed_to_write_records
call fcn.140002b70
mov rcx, rdi
call fcn.14003c3a0
jmp 0x14007e731
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007e72d
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rbp + 0x48]
mov r8d, 0x1f6
mov r9d, 2
call fcn.14003bf00
lea rcx, [rbp + 0x50]
mov eax, 8
cmp qword [r13 + 0x28], rax
mov rsi, qword [rbp - 0x18]
jb 0x14007e654
mov rdi, qword [rdi]
mov rdx, rdi
call fcn.14003cf40
lea rdx, str._expected_to_start_with
mov rcx, rax
call fcn.140002b70
mov rdi, rax
cmp qword [rsi + 0x28], 7
jbe 0x14007e67d
mov rax, qword [rsi + 0x10]
mov qword [rbp - 0x30], rax
mov rdx, rbp
mov rax, qword [rbp - 0x30]
mov qword [rdx], rax
mov rax, qword [rsi + 0x20]
mov qword [rdx + 8], rax
lea rbx, [rbp + 0x160]
mov rcx, rbx
call fcn.14004e5d0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14007e6b3
mov rdx, qword [rbp + 0x160]
mov rcx, rdi
call fcn.140009ce0
mov rcx, rbx
call fcn.140006b00
lea rcx, [rbp + 0x48]
call fcn.14003c3a0
mov rbx, qword [rbp - 0x28]
jmp 0x14007e735
lea rdx, [rbp + 0x28]
mov rsi, qword [rbp - 0x18]
mov rcx, qword [rsi]
call fcn.1400c4f40
test al, al
jne 0x14007e735
mov ecx, 2
call fcn.14003be50
test al, al
je 0x14007e735
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rbp + 0x48]
mov rcx, rdi
mov r8d, 0x205
mov r9d, 2
call fcn.14003bf00
lea rcx, [rbp + 0x50]
lea rdx, str.failed_to_write_string_table
call fcn.140002b70
mov rcx, rdi
call fcn.14003c3a0
jmp 0x14007e735
mov rbx, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x18]
test r15, r15
je 0x14007e757
sub rbx, r15
sar rbx, 3
movabs rdx, 0x6db6db6db6db6db7
imul rdx, rbx
mov rcx, r15
call fcn.14007f8d0
lea rcx, [rbp + 0x28]
call fcn.140006b00
jmp 0x14007e049
int3
int3
call fcn.140006370
ud2