Function at 0x140088ce0
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x228
mov rax, qword [0x140191d78]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r12, qword [rcx]
test r12, r12
je 0x140088e34
cmp byte [r12 + 0x28], 0
je 0x140088d7d
mov rcx, qword [r12]
xor edx, edx
xor r8d, r8d
call fcn.14008b340
test rax, rax
je 0x140088e59
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x140088d7d
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov r8d, 0x1d4
mov r9d, 2
mov rcx, rdi
call fcn.140015d90
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_rewind_to_write
call fcn.140001700
mov rcx, rdi
call fcn.140015290
pxor xmm0, xmm0
lea rax, [rsp + 0x200]
movdqa xmmword [rax + 0x10], xmm0
movdqa xmmword [rax], xmm0
mov rcx, qword [r12]
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 0x140088e09
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x140088e09
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 r8d, pe_nt_image_headers64
mov r9d, 2
mov rcx, rdi
call fcn.1400170c0
lea rcx, [rsp + 0x100]
lea rdx, [0x14016feb2]
call fcn.140001700
mov rcx, rdi
call fcn.140017200
lea rcx, [r12 + 0x30]
call fcn.140089610
lea rcx, [r12 + 8]
call fcn.1400138f0
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x140088e2c
call fcn.14008b990
mov rcx, r12
call fcn.1400edcd0
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.1400edc60
nop
add rsp, 0x228
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140088fa6
mov rbx, qword [r12 + 0x38]
sub rbx, qword [r12 + 0x30]
mov rax, rbx
sar rax, 3
movabs rdi, 0xeeeeeeeeeeeeeeef
imul rdi, rax
mov qword [rsp + 0x88], 0
movabs rax, 0x143504144
mov qword [rsp + 0x80], rax
mov rax, rdi
shr rax, 0x20
jne 0x140089566
mov eax, edi
lea rdx, [rsp + 0x80]
mov dword [rdx + 8], eax
mov rcx, qword [r12]
mov r8d, 0x10
call fcn.14008bbe0
test al, al
je 0x140089005
test rbx, rbx
je 0x140088d7d
movabs rcx, 0x492492492492492
mov eax, 0xf
movq xmm0, rax
pslldq xmm0, 8
movdqu xmmword [rsp + 0xe0], xmm0
mov byte [rsp + 0xd0], 0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
cmp rdi, rcx
ja 0x140089575
imul rcx, rdi, 0x38
cmp rcx, 0x1000
jb 0x14008904e
cmp rcx, 0xffffffffffffffd9
jae 0x14008956e
add rcx, 0x27
call fcn.1400edc90
lea rdx, [rax + 0x27]
and rdx, 0xffffffffffffffe0
mov qword [rdx - 8], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
je 0x140089056
sub rcx, rax
xor ebp, ebp
mov rbx, qword [rax + rbp + 0x30]
mov qword [rdx + rbp + 0x30], rbx
movdqu xmm0, xmmword [rax + rbp]
movups xmm1, xmmword [rax + rbp + 0x10]
movups xmm2, xmmword [rax + rbp + 0x20]
movups xmmword [rdx + rbp + 0x20], xmm2
movups xmmword [rdx + rbp + 0x10], xmm1
movdqu xmmword [rdx + rbp], xmm0
add rbp, 0x38
cmp rcx, rbp
jne 0x140088f70
jmp 0x140089056
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x140088d7d
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 r8d, 0x1db
mov r9d, 2
mov rcx, rdi
call fcn.1400170c0
lea rcx, [rsp + 0x100]
lea rdx, str.failed_to_truncate
call fcn.140001700
mov rcx, rdi
call fcn.140017200
jmp 0x140088d7d
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x140088d7d
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov r8d, 0x1e7
mov r9d, 2
mov rcx, rdi
call fcn.140015d90
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_header
jmp 0x140088d70
call fcn.1400edc90
mov rdx, rax
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov r9, rdi
call fcn.140089860
mov rdi, qword [r12 + 0x30]
mov rax, qword [r12 + 0x38]
mov qword [rsp + 0x58], rax
cmp rdi, rax
je 0x140089393
lea rax, [r12 + 8]
mov qword [rsp + 0x40], rax
lea r14, [rsp + 0x200]
lea rbp, [rdi + 0x10]
mov rcx, rbp
lea rsi, [rsp + 0xb0]
mov rdx, rsi
call fcn.140013550
mov rcx, rsi
mov rdx, qword [rsp + 0x40]
call fcn.140012c60
mov ebx, eax
mov rcx, rsi
call fcn.1400138f0
test bl, bl
jne 0x14008941a
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0xa0], xmm0
mov rcx, rbp
mov rdx, r14
call fcn.140013960
mov rax, qword [rsp + 0x210]
cmp qword [rsp + 0x218], 7
mov rcx, r14
jbe 0x1400890fa
mov rcx, qword [rsp + 0x200]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x98], rax
lea rsi, [rsp + 0xf0]
mov rcx, rsi
lea rdx, [rsp + 0x90]
call fcn.140018880
lea rbx, [rsp + 0xd0]
mov rcx, rbx
mov rdx, rsi
call fcn.140089910
mov ebp, eax
mov rcx, rsi
call fcn.140001c80
mov rcx, r14
call fcn.1400138f0
lea rdx, [rdi + 0x30]
mov rcx, rbx
call fcn.140089910
mov r13d, eax
mov r14, qword [rdi + 0x50]
mov rsi, qword [rdi + 0x60]
mov r11d, dword [rdi + 0x68]
mov r10d, dword [rdi + 0x70]
mov bl, byte [rdi + 0x6c]
add bl, bl
or bl, byte [rdi + 0x58]
mov word [rsp + 0xf4], 0
mov byte [rsp + 0xf6], 0
mov dword [rsp + 0xf0], 0
mov rax, qword [rsp + 0x68]
mov r15, qword [rsp + 0x70]
cmp r15, rax
je 0x1400891ef
movdqa xmm0, xmmword [rsp + 0xa0]
movdqu xmmword [rax], xmm0
mov dword [rax + 0x10], ebp
mov dword [rax + 0x14], r13d
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], rsi
mov dword [rax + 0x28], r11d
mov dword [rax + 0x2c], r10d
mov byte [rax + 0x30], bl
mov cl, byte [rsp + 0xf6]
mov byte [rax + 0x37], cl
movzx ecx, word [rsp + 0xf4]
mov word [rax + 0x35], cx
mov ecx, dword [rsp + 0xf0]
mov dword [rax + 0x31], ecx
add rax, 0x38
mov qword [rsp + 0x68], rax
jmp 0x14008937c
sub r15, qword [rsp + 0x60]
sar r15, 3
movabs rax, 0x6db6db6db6db6db7
imul r15, rax
lea r8, [r15 + 1]
mov rax, r15
shr rax, 1
movabs rcx, 0x492492492492492
sub rcx, rax
mov r9, r8
cmp r15, rcx
ja 0x140089232
add rax, r15
cmp rax, r8
cmovb rax, r8
mov r9, rax
test r9, r9
mov ecx, ebp
je 0x1400892aa
movabs rax, 0x492492492492492
cmp r9, rax
ja 0x14008956e
imul rcx, r9, 0x38
cmp rcx, 0x1000
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x34], r11d
mov qword [rsp + 0x48], rsi
jb 0x1400892ae
mov qword [rsp + 0x38], r9
mov esi, r10d
cmp rcx, 0xffffffffffffffd9
jae 0x14008956e
add rcx, 0x27
call fcn.1400edc90
lea rdx, [rax + 0x27]
and rdx, 0xffffffffffffffe0
mov qword [rdx - 8], rax
mov ecx, ebp
mov r8, qword [rsp + 0x50]
mov r10d, esi
mov r11d, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x48]
mov r9, qword [rsp + 0x38]
jmp 0x1400892d7
xor edx, edx
jmp 0x1400892d7
mov dword [rsp + 0x38], r10d
mov rsi, r9
call fcn.1400edc90
mov r9, rsi
mov rsi, qword [rsp + 0x48]
mov r11d, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x38]
mov r8, qword [rsp + 0x50]
mov ecx, ebp
mov rdx, rax
imul rax, r15, 0x38
movdqa xmm0, xmmword [rsp + 0xa0]
movdqu xmmword [rdx + rax], xmm0
mov dword [rdx + rax + 0x10], ecx
mov dword [rdx + rax + 0x14], r13d
mov qword [rdx + rax + 0x18], r14
mov qword [rdx + rax + 0x20], rsi
mov dword [rdx + rax + 0x28], r11d
mov dword [rdx + rax + 0x2c], r10d
mov byte [rdx + rax + 0x30], bl
mov cl, byte [rsp + 0xf6]
mov byte [rdx + rax + 0x37], cl
movzx ecx, word [rsp + 0xf4]
mov word [rdx + rax + 0x35], cx
mov ecx, dword [rsp + 0xf0]
mov dword [rdx + rax + 0x31], ecx
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
cmp rax, rcx
je 0x140089372
sub rcx, rax
xor ebp, ebp
mov rbx, qword [rax + rbp + 0x30]
mov qword [rdx + rbp + 0x30], rbx
movdqu xmm0, xmmword [rax + rbp]
movups xmm1, xmmword [rax + rbp + 0x10]
movups xmm2, xmmword [rax + rbp + 0x20]
movups xmmword [rdx + rbp + 0x20], xmm2
movups xmmword [rdx + rbp + 0x10], xmm1
movdqu xmmword [rdx + rbp], xmm0
add rbp, 0x38
cmp rcx, rbp
jne 0x140089341
lea rcx, [rsp + 0x60]
call fcn.140089860
lea r14, [rsp + 0x200]
add rdi, 0x78
cmp rdi, qword [rsp + 0x58]
jne 0x140089090
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
sub r8, rdx
mov rcx, qword [r12]
call fcn.14008bbe0
test al, al
je 0x1400893d1
mov r8, qword [rsp + 0xe0]
cmp qword [rsp + 0xe8], 0xf
jbe 0x1400894e8
mov rdx, qword [rsp + 0xd0]
jmp 0x1400894f0
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x14008954a
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov r8d, 0x1ff
mov r9d, 2
mov rcx, rdi
call fcn.140015d90
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_records
jmp 0x14008953d
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x14008954a
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xf0]
mov r8d, 0x1f5
mov r9d, 2
call fcn.140015d90
lea rcx, [rsp + 0xf8]
mov eax, 8
cmp qword [rdi + 0x28], rax
jb 0x140089463
mov rbp, qword [rbp]
mov rdx, rbp
call fcn.1400172d0
lea rdx, str._expected_to_start_with
mov rcx, rax
call fcn.140001700
mov rdi, rax
cmp qword [r12 + 0x20], 7
jbe 0x14008948f
mov rax, qword [r12 + 8]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x90]
mov rax, qword [rsp + 0x40]
mov qword [rdx], rax
mov rax, qword [r12 + 0x18]
mov qword [rdx + 8], rax
lea rbx, [rsp + 0x200]
mov rcx, rbx
call fcn.140018880
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x1400894ce
mov rdx, qword [rsp + 0x200]
mov rcx, rdi
call fcn.1400032d0
mov rcx, rbx
call fcn.140001c80
lea rcx, [rsp + 0xf0]
jmp 0x140089545
lea rdx, [rsp + 0xd0]
mov rcx, qword [r12]
call fcn.14008bbe0
test al, al
jne 0x14008954a
mov ecx, 2
call fcn.140015cf0
test al, al
je 0x14008954a
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov r8d, 0x204
mov r9d, 2
mov rcx, rdi
call fcn.140015d90
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_string_table
call fcn.140001700
mov rcx, rdi
call fcn.140015290
lea rcx, [rsp + 0x60]
call fcn.140089580
lea rcx, [rsp + 0xd0]
call fcn.140001c80
jmp 0x140088d7d
int3
call fcn.1400ef170
ud2
call fcn.140020a60
ud2