Function at 0x14003c210
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 [0x140081338]
xor rax, rsp
mov qword [rsp + 0x220], rax
mov r12, qword [rcx]
test r12, r12
je 0x14003c364
cmp byte [r12 + 0x28], 0
je 0x14003c2ad
mov rcx, qword [r12]
xor edx, edx
xor r8d, r8d
call fcn.14003faf0
test rax, rax
je 0x14003c389
mov ecx, 2
call fcn.14001a340
test al, al
je 0x14003c2ad
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov r8d, 0x1d5
mov r9d, 2
mov rcx, rdi
call fcn.14001a3f0
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_rewind_to_write
call fcn.140003420
mov rcx, rdi
call fcn.14001a880
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 0x14003c339
mov ecx, 2
call fcn.14001a340
test al, al
je 0x14003c339
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, 0x129
mov r9d, 2
mov rcx, rdi
call fcn.14001b8b0
lea rcx, [rsp + 0x100]
lea rdx, [0x14006adba]
call fcn.140003420
mov rcx, rdi
call fcn.14001b9f0
lea rcx, [r12 + 0x30]
call fcn.14003d9e0
lea rcx, [r12 + 8]
call fcn.140008cc0
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x14003c35c
call fcn.14003ea70
mov rcx, r12
call fcn.140041240
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140041210
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 0x14003c4d6
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 0x14003ca96
mov eax, edi
lea rdx, [rsp + 0x80]
mov dword [rdx + 8], eax
mov rcx, qword [r12]
mov r8d, 0x10
call fcn.14003feb0
test al, al
je 0x14003c535
test rbx, rbx
je 0x14003c2ad
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 0x14003caa5
imul rcx, rdi, 0x38
cmp rcx, 0x1000
jb 0x14003c57e
cmp rcx, 0xffffffffffffffd9
jae 0x14003ca9e
add rcx, 0x27
call fcn.140041250
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 0x14003c586
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 0x14003c4a0
jmp 0x14003c586
mov ecx, 2
call fcn.14001a340
test al, al
je 0x14003c2ad
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, 0x1dc
mov r9d, 2
mov rcx, rdi
call fcn.14001b8b0
lea rcx, [rsp + 0x100]
lea rdx, str.failed_to_truncate
call fcn.140003420
mov rcx, rdi
call fcn.14001b9f0
jmp 0x14003c2ad
mov ecx, 2
call fcn.14001a340
test al, al
je 0x14003c2ad
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov r8d, 0x1e8
mov r9d, 2
mov rcx, rdi
call fcn.14001a3f0
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_header
jmp 0x14003c2a0
call fcn.140041250
mov rdx, rax
lea rcx, [rsp + 0x60]
xor r8d, r8d
mov r9, rdi
call fcn.14003dac0
mov rdi, qword [r12 + 0x30]
mov rax, qword [r12 + 0x38]
mov qword [rsp + 0x58], rax
cmp rdi, rax
je 0x14003c8c3
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.140009980
mov rcx, rsi
mov rdx, qword [rsp + 0x40]
call fcn.140009080
mov ebx, eax
mov rcx, rsi
call fcn.140008cc0
test bl, bl
jne 0x14003c94a
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0xa0], xmm0
mov rcx, rbp
mov rdx, r14
call fcn.140009d30
mov rax, qword [rsp + 0x210]
cmp qword [rsp + 0x218], 7
mov rcx, r14
jbe 0x14003c62a
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.14000bc90
lea rbx, [rsp + 0xd0]
mov rcx, rbx
mov rdx, rsi
call fcn.14003db70
mov ebp, eax
mov rcx, rsi
call fcn.140001260
mov rcx, r14
call fcn.140008cc0
lea rdx, [rdi + 0x30]
mov rcx, rbx
call fcn.14003db70
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 0x14003c71f
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 0x14003c8ac
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 0x14003c762
add rax, r15
cmp rax, r8
cmovb rax, r8
mov r9, rax
test r9, r9
je 0x14003c7d8
movabs rax, 0x492492492492492
cmp r9, rax
ja 0x14003ca9e
imul rcx, r9, 0x38
cmp rcx, 0x1000
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x34], r11d
mov qword [rsp + 0x48], rsi
jb 0x14003c7de
mov qword [rsp + 0x38], r9
cmp rcx, 0xffffffffffffffd9
jae 0x14003ca9e
mov esi, r10d
add rcx, 0x27
call fcn.140041250
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 0x14003c807
mov ecx, ebp
xor edx, edx
jmp 0x14003c807
mov dword [rsp + 0x38], r10d
mov rsi, r9
call fcn.140041250
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 0x14003c8a2
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 0x14003c871
lea rcx, [rsp + 0x60]
call fcn.14003dac0
lea r14, [rsp + 0x200]
add rdi, 0x78
cmp rdi, qword [rsp + 0x58]
jne 0x14003c5c0
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
sub r8, rdx
mov rcx, qword [r12]
call fcn.14003feb0
test al, al
je 0x14003c901
mov r8, qword [rsp + 0xe0]
cmp qword [rsp + 0xe8], 0xf
jbe 0x14003ca18
mov rdx, qword [rsp + 0xd0]
jmp 0x14003ca20
mov ecx, 2
call fcn.14001a340
test al, al
je 0x14003ca7a
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov r8d, 0x200
mov r9d, 2
mov rcx, rdi
call fcn.14001a3f0
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_records
jmp 0x14003ca6d
mov ecx, 2
call fcn.14001a340
test al, al
je 0x14003ca7a
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xf0]
mov r8d, 0x1f6
mov r9d, 2
call fcn.14001a3f0
lea rcx, [rsp + 0xf8]
mov eax, 8
cmp qword [rdi + 0x28], rax
jb 0x14003c993
mov rbp, qword [rbp]
mov rdx, rbp
call fcn.14001bac0
lea rdx, str._expected_to_start_with
mov rcx, rax
call fcn.140003420
mov rdi, rax
cmp qword [r12 + 0x20], 7
jbe 0x14003c9bf
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.14000bc90
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x14003c9fe
mov rdx, qword [rsp + 0x200]
mov rcx, rdi
call fcn.140013130
mov rcx, rbx
call fcn.140001260
lea rcx, [rsp + 0xf0]
jmp 0x14003ca75
lea rdx, [rsp + 0xd0]
mov rcx, qword [r12]
call fcn.14003feb0
test al, al
jne 0x14003ca7a
mov ecx, 2
call fcn.14001a340
test al, al
je 0x14003ca7a
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov r8d, 0x205
mov r9d, 2
mov rcx, rdi
call fcn.14001a3f0
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_string_table
call fcn.140003420
mov rcx, rdi
call fcn.14001a880
lea rcx, [rsp + 0x60]
call fcn.14003d950
lea rcx, [rsp + 0xd0]
call fcn.140001260
jmp 0x14003c2ad
int3
call fcn.140041f40
ud2
call fcn.14003daa0
ud2