Function at 0x14007d304
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rcx]
xor eax, eax
mov qword [rcx], rax
test rsi, rsi
je 0x14007d458
cmp byte [rsi + 0x30], 0
je 0x14007d3aa
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400b9f1b
test rax, rax
je 0x14007d47d
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14007d3aa
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x1e0
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140006489
mov rcx, rdi
call fcn.1400486f0
xorps xmm0, xmm0
lea rax, [rsp + 0x60]
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
jne 0x14007d436
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14007d436
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 + 0xf0]
mov rcx, rdi
mov r8d, 0x129
mov r9d, 2
call fcn.140048f30
lea rcx, [rsp + 0x100]
lea rdx, [0x140183100]
mov r8d, ntohl
call fcn.140006489
mov rcx, rdi
call fcn.140049000
lea rcx, [rsi + 0x38]
call fcn.14007eb60
lea rcx, [rsi + 0x18]
call fcn.140043da0
mov rcx, rsi
call fcn.140077d82
mov rcx, rsi
call fcn.140147c5c
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140147fd0
nop
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14007d864
mov rbx, qword [rsi + 0x40]
sub rbx, qword [rsi + 0x38]
mov rdi, rbx
sar rdi, 4
movabs r12, 0x6db6db6db6db6db7
imul rdi, r12
mov qword [rsp + 0xc8], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rdi
shr rax, 0x20
jne 0x14007db0a
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.1400ba2d7
test al, al
je 0x14007d8c9
test rbx, rbx
je 0x14007d3aa
movabs rcx, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm0
cmp rdi, rcx
ja 0x14007db1f
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.140147c20
add rdi, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdi
mov r13, qword [rsi + 0x38]
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x58], rcx
cmp r13, rcx
je 0x14007d918
mov qword [rsp + 0x38], rsi
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
lea rbp, [rsp + 0xf0]
lea r14, [rsp + 0x60]
lea rsi, [rsp + 0xa0]
xor r15d, r15d
lea rdi, [r13 + 0x10]
mov rcx, rdi
mov rdx, rbp
call fcn.140044860
mov rcx, rbp
mov rdx, qword [rsp + 0x40]
call fcn.140044090
mov ebx, eax
mov rcx, rbp
call fcn.140043da0
test bl, bl
jne 0x14007d9fb
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, rdi
mov rdx, r14
call fcn.140044a10
movzx eax, byte [rsp + 0x77]
test al, al
mov rcx, qword [rsp + 0x60]
cmovns rcx, r14
mov qword [rsp + 0xd0], rcx
cmovs rax, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rax
mov rcx, rbp
lea rdx, [rsp + 0xd0]
call fcn.140052710
mov rcx, rsi
mov rdx, rbp
call fcn.14007ebac
mov edi, eax
cmp byte [rsp + 0x107], r15b
jns 0x14007d63f
mov rcx, qword [rsp + 0xf0]
call fcn.140147c5c
mov rcx, r14
call fcn.140043da0
lea rdx, [r13 + 0x28]
mov rcx, rsi
call fcn.14007ebac
mov r10d, eax
mov r11, qword [r13 + 0x40]
mov r9, qword [r13 + 0x50]
mov r8d, dword [r13 + 0x58]
mov esi, dword [r13 + 0x68]
mov bl, byte [r13 + 0x5c]
add bl, bl
or bl, byte [r13 + 0x48]
mov dword [rsp + 0xf3], r15d
mov dword [rsp + 0xf0], r15d
mov rbp, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
cmp rbp, rax
jae 0x14007d6df
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rbp], xmm0
mov dword [rbp + 0x10], edi
mov dword [rbp + 0x14], r10d
mov qword [rbp + 0x18], r11
mov qword [rbp + 0x20], r9
mov dword [rbp + 0x28], r8d
mov dword [rbp + 0x2c], esi
mov byte [rbp + 0x30], bl
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0xf3]
mov dword [rbp + 0x31], eax
mov dword [rbp + 0x34], ecx
add rbp, 0x38
mov qword [rsp + 0x88], rbp
jmp 0x14007d825
mov dword [rsp + 0x34], edi
mov r15, qword [rsp + 0x80]
sub rbp, r15
mov rdi, rbp
sar rdi, 3
imul rdi, r12
lea rcx, [rdi + 1]
movabs rdx, 0x492492492492492
cmp rcx, rdx
ja 0x14007db12
sub rax, r15
sar rax, 3
imul rax, r12
lea r14, [rax + rax]
cmp r14, rcx
cmovb r14, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
jb 0x14007d738
mov r14, rdx
test r14, r14
je 0x14007d77b
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x50], r15
cmp r14, rdx
ja 0x14007db1f
mov r15, r9
mov r12d, r8d
imul rcx, r14, 0x38
call fcn.140147c20
mov r8d, r12d
mov r9, r15
mov r15, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x30]
mov r11, qword [rsp + 0x48]
jmp 0x14007d77d
xor eax, eax
imul rcx, rdi, 0x38
lea r12, [rax + rcx]
imul rdi, r14, 0x38
add rdi, rax
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rax + rcx], xmm0
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx + 0x10], edx
mov dword [rax + rcx + 0x14], r10d
mov qword [rax + rcx + 0x18], r11
mov qword [rax + rcx + 0x20], r9
mov dword [rax + rcx + 0x28], r8d
mov dword [rax + rcx + 0x2c], esi
mov byte [rax + rcx + 0x30], bl
mov edx, dword [rsp + 0xf0]
mov ebx, dword [rsp + 0xf3]
mov dword [rax + rcx + 0x31], edx
mov dword [rax + rcx + 0x34], ebx
mov eax, 0x38
lea rbx, [r12 + rax]
sub r12, rbp
test rbp, rbp
jle 0x14007d7f1
mov rcx, r12
mov rdx, r15
mov r8, rbp
call fcn.14014a9e0
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rdi
test r15, r15
lea r14, [rsp + 0x60]
movabs r12, 0x6db6db6db6db6db7
je 0x14007d825
mov rcx, r15
call fcn.140147c5c
add r13, 0x70
cmp qword [rsp + 0x58], r13
lea rbp, [rsp + 0xf0]
lea rsi, [rsp + 0xa0]
mov r15d, 0
jne 0x14007d59f
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x38]
jmp 0x14007d91b
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14007d3aa
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 + 0xf0]
mov rcx, rdi
mov r8d, 0x1e7
mov r9d, 2
call fcn.140048f30
lea rcx, [rsp + 0x100]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140006489
mov rcx, rdi
call fcn.140049000
jmp 0x14007d3aa
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14007d3aa
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x1f3
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x14007d39d
mov r8, rax
sub r8, rax
mov rcx, qword [rsi + 8]
mov rdx, rax
call fcn.1400ba2d7
test al, al
je 0x14007d9a4
lea rdx, [rsp + 0xa0]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
cmovs r8, qword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, qword [rsi + 8]
call fcn.1400ba2d7
test al, al
jne 0x14007dad0
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14007dad0
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x210
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x14007d9ee
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14007dad0
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x20b
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.140006489
mov rcx, rdi
jmp 0x14007dacb
mov ecx, 2
call fcn.1400481e0
test al, al
mov rsi, qword [rsp + 0x38]
je 0x14007dad0
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xf0]
mov r8d, 0x201
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0xf8]
cmp byte [r13 + 0x27], 0
jns 0x14007da45
mov rdi, qword [r13 + 0x10]
mov rdx, rdi
call fcn.1400490b0
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140006489
movzx ecx, byte [rsi + 0x2f]
test cl, cl
mov rbp, qword [rsp + 0x40]
cmovs rbp, qword [rsi + 0x18]
mov rdi, rax
lea rdx, [rsp + 0xd0]
mov qword [rdx], rbp
cmovs rcx, qword [rsi + 0x20]
mov qword [rdx + 8], rcx
mov rcx, r14
call fcn.140052710
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x14007daa6
mov r8, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rcx, rdi
mov rdx, r14
call fcn.140006489
xor eax, eax
cmp byte [rsp + 0x77], al
jns 0x14007dac3
mov rcx, qword [rsp + 0x60]
call fcn.140147c5c
lea rcx, [rsp + 0xf0]
call fcn.1400486f0
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14007daea
mov qword [rsp + 0x88], rcx
call fcn.140147c5c
cmp byte [rsp + 0xb7], 0
jns 0x14007d3aa
mov rcx, qword [rsp + 0xa0]
call fcn.140147c5c
jmp 0x14007d3aa
int3
lea rcx, [rsp + 0x80]
call fcn.14002c0ec
call fcn.14015acbc
int3