Function at 0x14001ff00
Capabilities:
Clear file content

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1400e0038]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r14, rcx
mov qword [rsp + 0x68], rcx
xor r15d, r15d
call fcn.14001f460
test al, al
jne 0x14001ff8b
lea rcx, [rsp + 0x70]
call fcn.140006da0
lea rax, str..._.._client_crash_report_database_win.cc
mov qword [rbp + 0x60], r15
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x68], 0x219
mov dword [rbp + 0x6c], 2
call fcn.140013280
lea rdx, str.failed_to_rewind_to_write
lea rcx, [rsp + 0x70]
call fcn.140006680
lea rcx, [rsp + 0x70]
call fcn.140012fd0
jmp 0x1400207ea
mov rcx, qword [r14]
mov qword [rsp + 0x258], rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14001fffc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x70]
mov edi, eax
call fcn.140006da0
lea rax, str..._.._client_crash_report_database_win.cc
mov qword [rbp + 0x60], r15
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x68], 0x220
mov dword [rbp + 0x6c], 2
call fcn.140013280
lea rdx, str.failed_to_truncate
mov dword [rbp + 0x70], edi
lea rcx, [rsp + 0x70]
call fcn.140006680
lea rcx, [rsp + 0x70]
call fcn.140013810
jmp 0x1400207e2
mov rdi, qword [r14 + 0x58]
movabs rax, 0xcccccccccccccccd
sub rdi, qword [r14 + 0x50]
sar rdi, 5
imul rdi, rax
mov eax, 0xffffffff
mov dword [rbp + 0xa4], r15d
mov dword [rbp + 0x98], 0x43504144
mov dword [rbp + 0x9c], 1
cmp rdi, rax
ja 0x140020043
mov dword [rbp + 0xa0], edi
jmp 0x14002004b
int3
mov rcx, qword [r14]
lea rdx, [rbp + 0x98]
mov r8d, 0x10
call fcn.14001c060
test al, al
jne 0x1400200b5
lea rcx, [rsp + 0x70]
call fcn.140006da0
lea rax, str..._.._client_crash_report_database_win.cc
mov qword [rbp + 0x60], r15
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x68], 0x22c
mov dword [rbp + 0x6c], 2
call fcn.140013280
lea rdx, str.failed_to_write_header
lea rcx, [rsp + 0x70]
call fcn.140006680
lea rcx, [rsp + 0x70]
call fcn.140012fd0
jmp 0x1400207e2
test rdi, rdi
je 0x1400207e2
xorps xmm0, xmm0
mov qword [rbp + 0xb8], r15
movabs rax, 0x492492492492492
mov qword [rbp + 0xc0], 0xf
movups xmmword [rbp + 0xa8], xmm0
mov byte [rbp + 0xa8], r15b
cmp rdi, rax
ja 0x140020877
mov qword [rsp + 0x248], rbx
mov rdx, rdi
mov qword [rsp + 0x250], rsi
mov qword [rsp + 0x218], r12
mov qword [rsp + 0x210], r13
call fcn.140023310
mov rbx, qword [r14 + 0x50]
mov r13, rax
imul r12, rdi, 0x38
mov qword [rsp + 0x40], rbx
mov rsi, r13
add r12, rax
movabs rdi, 0x6db6db6db6db6db7
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x60], rax
cmp rbx, rax
je 0x1400205b1
add r14, 8
mov qword [rsp + 0x30], r13
lea rax, [rbx + 0x10]
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], r12
nop
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.14000d620
cmp qword [rbp + 0x90], 8
lea rdi, [rbp + 0x78]
mov rax, qword [rbp + 0x88]
cmovae rdi, qword [rbp + 0x78]
test rax, rax
je 0x1400201dc
cmp word [rdi], 0
mov rcx, rdi
mov rdx, r15
je 0x1400201b8
cmp rax, 1
je 0x1400201bb
add rcx, 2
dec rax
cmp word [rcx], 0
jne 0x1400201a5
mov rdx, rcx
test rdx, rdx
je 0x1400201dc
sub rdx, rdi
sar rdx, 1
cmp rdx, 0xffffffffffffffff
je 0x1400201dc
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x78]
call fcn.140012710
lea rcx, [rbp + 0x78]
call fcn.1400124e0
mov rbx, qword [rbp + 0x88]
mov rdi, qword [rbp + 0x90]
mov rsi, qword [rbp + 0x78]
cmp rbx, 2
jb 0x140020271
cmp rdi, 8
lea rax, [rbp + 0x78]
cmovae rax, rsi
cmp word [rax + 2], 0x3a
jne 0x140020271
cmp rdi, 8
lea rax, [rbp + 0x78]
cmovae rax, rsi
cmp word [rax], 0x41
jb 0x140020234
cmp rdi, 8
lea rax, [rbp + 0x78]
cmovae rax, rsi
cmp word [rax], 0x5a
jbe 0x140020258
cmp rdi, 8
lea rax, [rbp + 0x78]
cmovae rax, rsi
cmp word [rax], 0x61
jb 0x140020271
cmp rdi, 8
lea rax, [rbp + 0x78]
cmovae rax, rsi
cmp word [rax], 0x7a
ja 0x140020271
mov r15d, 3
mov qword [rsp + 0x50], 4
lea r14d, [r15 - 1]
lea r12d, [r15 + 1]
jmp 0x140020286
xor eax, eax
mov qword [rsp + 0x50], 2
mov r14d, eax
mov r12d, eax
lea r15d, [rax + 1]
cmp rdi, 8
mov qword [rsp + 0x20], 2
lea rcx, [rbp + 0x78]
mov rdx, rbx
cmovae rcx, rsi
lea r9, [0x1400c33a0]
call fcn.14000d930
mov rdx, rax
cmp rax, 0xffffffffffffffff
jne 0x14002031d
cmp r14, rbx
ja 0x1400202d7
cmp rdi, 8
mov qword [rbp + 0x88], r14
lea rax, [rbp + 0x78]
cmovae rax, rsi
xor esi, esi
mov word [rax + r14*2], si
jmp 0x1400203bf
mov rdx, r14
mov rax, rdi
sub rdx, rbx
sub rax, rbx
cmp rdx, rax
ja 0x14002035d
mov qword [rbp + 0x88], r14
cmp rdi, 8
lea r8, [rbp + 0x78]
cmovae r8, rsi
xor esi, esi
lea rdi, [r8 + rbx*2]
test rdx, rdx
je 0x14002030f
movzx eax, si
mov rcx, rdx
rep stosw word [rdi], ax
lea rax, [rdx + rbx]
mov word [r8 + rax*2], si
jmp 0x1400203bf
cmp rdx, r14
jne 0x140020372
cmp r15, rbx
ja 0x140020343
cmp rdi, 8
mov qword [rbp + 0x88], r15
lea rax, [rbp + 0x78]
cmovae rax, rsi
xor esi, esi
mov word [rax + r15*2], si
jmp 0x1400203bf
mov rdx, r15
mov rax, rdi
sub rdx, rbx
sub rax, rbx
cmp rdx, rax
ja 0x14002035d
mov qword [rbp + 0x88], r15
jmp 0x1400202ef
xor esi, esi
lea rcx, [rbp + 0x78]
mov r9, rdx
mov word [rsp + 0x20], si
call fcn.1400129c0
jmp 0x1400203bf
cmp rdx, r15
jne 0x1400203ac
cmp rdi, 8
lea rax, [rbp + 0x78]
lea rdi, [0x1400c33a0]
cmovae rax, rsi
xor esi, esi
movzx ecx, word [r12 + rax]
mov eax, esi
cmp cx, word [rax + rdi]
je 0x1400203a5
add rax, 2
cmp rax, 4
jb 0x140020393
jmp 0x1400203ae
mov rdx, qword [rsp + 0x50]
jmp 0x1400203b3
xor esi, esi
test rdx, rdx
je 0x1400203bf
xor r8d, r8d
lea rcx, [rbp + 0x78]
call fcn.140012680
lea rcx, [rbp + 0x78]
call fcn.1400124e0
cmp qword [rbp + 0x88], 0
jne 0x1400203e8
mov r8d, 1
lea rdx, [0x1400c33a8]
lea rcx, [rbp + 0x78]
call fcn.140012890
mov r14, qword [rsp + 0x58]
lea rcx, [rbp + 0x78]
mov rdx, r14
call fcn.140011600
lea rcx, [rbp + 0x78]
movzx edi, al
call fcn.140001910
test dil, dil
je 0x140020624
mov rbx, qword [rsp + 0x40]
lea r8, [rbp + 0xa8]
mov rdx, rbx
lea rcx, [rbp + 0xc8]
call fcn.14001ea50
mov r12, qword [rsp + 0x38]
mov rdi, rax
cmp r13, r12
je 0x140020469
movups xmm0, xmmword [rax]
mov rsi, qword [rsp + 0x30]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r13 + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r13 + 0x20], xmm0
movsd xmm1, qword [rax + 0x30]
movsd qword [r13 + 0x30], xmm1
add r13, 0x38
jmp 0x140020578
mov rcx, qword [rsp + 0x30]
movabs rax, 0x4924924924924925
sub r13, rcx
imul r13
mov rsi, rdx
movabs rdx, 0x492492492492492
sar rsi, 4
mov rax, rsi
shr rax, 0x3f
add rsi, rax
cmp rsi, rdx
je 0x140020883
sub r12, rcx
lea r15, [rsi + 1]
sar r12, 3
movabs rax, 0x6db6db6db6db6db7
imul r12, rax
mov rax, rdx
mov rcx, r12
shr rcx, 1
sub rax, rcx
cmp r12, rax
jbe 0x1400204d1
mov rbx, rdx
jmp 0x1400204dc
lea rbx, [rcx + r12]
cmp rbx, r15
cmovb rbx, r15
mov rdx, rbx
call fcn.140023310
movups xmm0, xmmword [rdi]
mov r8, r13
mov r14, rax
imul rcx, rsi, 0x38
movups xmmword [rcx + rax], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rcx + rax + 0x10], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rcx + rax + 0x20], xmm0
movsd xmm1, qword [rdi + 0x30]
mov rdi, qword [rsp + 0x30]
movsd qword [rcx + rax + 0x30], xmm1
mov rdx, rdi
mov rcx, rax
call fcn.140082e70
test rdi, rdi
je 0x140020558
imul rdx, r12, 0x38
cmp rdx, 0x1000
jb 0x140020550
mov rcx, qword [rdi - 8]
add rdx, 0x27
sub rdi, rcx
lea rax, [rdi - 8]
cmp rax, 0x1f
ja 0x14002087d
mov rdi, rcx
mov rcx, rdi
call fcn.1400809f0
imul r13, r15, 0x38
imul rax, rbx, 0x38
mov rsi, r14
mov qword [rsp + 0x30], r14
mov rbx, qword [rsp + 0x40]
add r13, r14
add rax, r14
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
add rbx, 0xa0
add rax, 0xa0
mov qword [rsp + 0x40], rbx
xor r15d, r15d
mov qword [rsp + 0x48], rax
cmp rbx, qword [rsp + 0x60]
jne 0x140020170
mov r14, qword [rsp + 0x68]
movabs rdi, 0x6db6db6db6db6db7
mov rcx, qword [r14]
sub r13, rsi
sar r13, 3
mov rdx, rsi
imul r13, rdi
imul r8, r13, 0x38
call fcn.14001c060
test al, al
jne 0x140020806
lea rcx, [rsp + 0x70]
call fcn.140006da0
lea rax, str..._.._client_crash_report_database_win.cc
mov qword [rbp + 0x60], r15
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x68], 0x244
mov dword [rbp + 0x6c], 2
call fcn.140013280
lea rdx, str.failed_to_write_records
lea rcx, [rsp + 0x70]
call fcn.140006680
lea rcx, [rsp + 0x70]
call fcn.140012fd0
jmp 0x14002073b
cmp qword [r14 + 0x18], 8
mov rcx, r14
jb 0x140020631
mov rcx, qword [r14]
movdqa xmm1, xmmword [0x1400cd310]
lea r8, [rbp + 0xc8]
mov rdx, qword [r14 + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov byte [rbp + 0xc8], 0
movdqu xmmword [rbp + 0xd8], xmm1
call fcn.1400111b0
lea rcx, [rsp + 0x70]
call fcn.140006da0
lea rax, str..._.._client_crash_report_database_win.cc
mov qword [rbp + 0x60], rsi
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x68], 0x23a
mov dword [rbp + 0x6c], 2
call fcn.140013280
mov rdx, qword [rsp + 0x48]
cmp qword [rdx + 0x18], 8
jb 0x1400206a2
mov rdx, qword [rdx]
lea rcx, [rsp + 0x70]
call fcn.140009fb0
mov rcx, rax
lea rdx, str._expected_to_start_with
call fcn.140006680
cmp qword [rbp + 0xe0], 0x10
lea rdx, [rbp + 0xc8]
mov r8, qword [rbp + 0xd8]
mov rcx, rax
cmovae rdx, qword [rbp + 0xc8]
call fcn.140009230
lea rcx, [rsp + 0x70]
call fcn.140012fd0
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x14002072c
mov rcx, qword [rbp + 0xc8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140020727
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020889
call fcn.1400809f0
mov rsi, qword [rsp + 0x30]
movabs rdi, 0x6db6db6db6db6db7
test rsi, rsi
je 0x140020781
mov rax, qword [rsp + 0x38]
sub rax, rsi
sar rax, 3
imul rax, rdi
imul rdx, rax, 0x38
cmp rdx, 0x1000
jb 0x140020779
mov rcx, qword [rsi - 8]
add rdx, 0x27
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x140020871
mov rsi, rcx
mov rcx, rsi
call fcn.1400809f0
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x1400207c2
mov rcx, qword [rbp + 0xa8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400207bd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140020871
call fcn.1400809f0
mov r12, qword [rsp + 0x218]
mov rbx, qword [rsp + 0x248]
mov rsi, qword [rsp + 0x250]
mov r13, qword [rsp + 0x210]
mov rdi, qword [rsp + 0x258]
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400809d0
add rsp, 0x220
pop r15
pop r14
pop rbp
ret
cmp qword [rbp + 0xc0], 0x10
lea rdx, [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
cmovae rdx, qword [rbp + 0xa8]
mov rcx, qword [r14]
call fcn.14001c060
test al, al
jne 0x14002073b
lea rcx, [rsp + 0x70]
call fcn.140006da0
lea rax, str..._.._client_crash_report_database_win.cc
mov qword [rbp + 0x60], r15
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x68], 0x249
mov dword [rbp + 0x6c], 2
call fcn.140013280
lea rdx, str.failed_to_write_string_table
jmp 0x14002060b
call fcn.140087b78
int3
call fcn.1400232f0
int3
call fcn.140087b78
int3
call fcn.1400232f0
int3
call fcn.140087b78
int3