Function at 0x1800bb920
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1801df668]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rsi, rcx
mov qword [rbp - 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x30], r13d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx]
call fcn.1800dd060
test rax, rax
je 0x1800bb9c8
mov dword [rsp + 0x20], 2
mov r9d, 0x203
lea r8, str..._src_4c3e2d1c10_1c4f0a1e28.clean_client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.1800daee0
nop
mov dword [rsp + 0x30], 1
lea rdx, str.failed_to_rewind_to_write
mov rcx, rax
call fcn.1800aac20
nop
lea rcx, [rbp - 0x60]
call fcn.1800db070
jmp 0x1800bc22f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800bba2a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x20a
lea r8, str..._src_4c3e2d1c10_1c4f0a1e28.clean_client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.1800dbc60
nop
mov dword [rsp + 0x30], 2
lea rdx, str.failed_to_truncate
mov rcx, rax
call fcn.1800aac20
nop
lea rcx, [rbp - 0x60]
call fcn.1800dbce0
jmp 0x1800bc22f
mov rbx, qword [rsi + 0x58]
sub rbx, qword [rsi + 0x50]
sar rbx, 7
mov dword [rbp + 0xd4], r13d
mov dword [rbp + 0xc8], 0x43504144
mov dword [rbp + 0xcc], 1
mov eax, 0xffffffff
cmp rbx, rax
ja 0x1800bba63
mov dword [rbp + 0xd0], ebx
jmp 0x1800bba6b
int3
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp + 0xc8]
mov rcx, qword [rsi]
call fcn.1800dc500
test al, al
jne 0x1800bbad1
mov dword [rsp + 0x20], 2
mov r9d, 0x216
lea r8, str..._src_4c3e2d1c10_1c4f0a1e28.clean_client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.1800daee0
nop
or r13d, 4
mov dword [rsp + 0x30], r13d
lea rdx, str.failed_to_write_header
mov rcx, rax
call fcn.1800aac20
nop
lea rcx, [rbp - 0x60]
call fcn.1800db070
jmp 0x1800bc22f
test rbx, rbx
je 0x1800bc22f
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r13
mov qword [rbp + 0xc0], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xa8], r13b
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
movabs rax, 0x492492492492492
cmp rbx, rax
ja 0x1800bc2e5
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1800bc5a0
mov r14, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x40], rax
imul r15, rbx, 0x38
add r15, rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
mov r12, qword [rsi + 0x50]
mov qword [rsp + 0x58], r12
mov rax, qword [rsi + 0x58]
mov qword [rbp - 0x80], rax
mov rcx, rdi
movabs rbx, 0x4924924924924925
cmp r12, rax
je 0x1800bc01d
lea rbx, [rsi + 8]
mov qword [rsp + 0x60], rbx
lea rsi, [r12 + 0x10]
nop
lea rdx, [rbp + 0xd8]
mov rcx, rsi
call fcn.1800b6400
nop
mov rdx, rbx
mov rcx, rax
call fcn.1800b63e0
movzx ebx, al
lea rcx, [rbp + 0xd8]
call fcn.1800b6390
test bl, bl
jne 0x1800bc098
movups xmm6, xmmword [r12]
lea rdx, [rbp + 0x130]
mov rcx, rsi
call fcn.1800b6510
nop
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x1800bbbd4
mov rcx, qword [rax]
mov qword [rsp + 0x70], rcx
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd8]
call fcn.1800df490
mov r9, rax
mov r12, qword [rbp + 0xb8]
mov ebx, 0xffffffff
cmp r12, rbx
ja 0x1800bbc17
mov dword [rsp + 0x30], r12d
jmp 0x1800bbc1d
int3
mov r15, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1800bbc2b
mov r9, qword [rax]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
sub rax, r12
cmp r15, rax
ja 0x1800bbc7a
lea rax, [r12 + r15]
mov qword [rbp + 0xb8], rax
lea rbx, [rbp + 0xa8]
cmp rcx, 0x10
cmovae rbx, qword [rbp + 0xa8]
lea rcx, [rbx + r12]
mov r8, r15
mov rdx, r9
call fcn.1801258c0
lea rax, [r15 + rbx]
mov byte [rax + r12], 0
mov ebx, 0xffffffff
jmp 0x1800bbc91
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp + 0xa8]
call fcn.1800b99e0
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xc0]
cmp rcx, rdx
jae 0x1800bbcca
lea rax, [rcx + 1]
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0xa8]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xa8]
mov word [rax + rcx], 0
jmp 0x1800bbce1
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp + 0xa8]
call fcn.1800be910
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x1800bbd22
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bbd1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bc2eb
call fcn.1800c38fc
mov qword [rbp + 0xe8], r13
mov qword [rbp + reloc.WS2_32.dll_ntohs0], 0xf
mov byte [rbp + 0xd8], 0
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x108], eax
lea rcx, [rbp + 0x130]
call fcn.1800b6390
mov r15, qword [rbp + 0xb8]
cmp r15, rbx
ja 0x1800bbd64
mov dword [rsp + 0x30], r15d
jmp 0x1800bbd6a
int3
mov r12, qword [rsi + 0x30]
lea r9, [rsi + 0x20]
cmp qword [rsi + 0x38], 0x10
jb 0x1800bbd7c
mov r9, qword [r9]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
sub rax, r15
cmp r12, rax
ja 0x1800bbdc6
lea rax, [r15 + r12]
mov qword [rbp + 0xb8], rax
lea rbx, [rbp + 0xa8]
cmp rcx, 0x10
cmovae rbx, qword [rbp + 0xa8]
lea rcx, [rbx + r15]
mov r8, r12
mov rdx, r9
call fcn.1801258c0
lea rax, [rbx + r12]
mov byte [rax + r15], 0
jmp 0x1800bbddd
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp + 0xa8]
call fcn.1800b99e0
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xc0]
cmp rcx, rdx
jae 0x1800bbe16
lea rax, [rcx + 1]
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0xa8]
cmp rdx, 0x10
cmovae rax, qword [rbp + 0xa8]
mov word [rax + rcx], 0
jmp 0x1800bbe2c
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp + 0xa8]
call fcn.1800be910
mov eax, dword [rsp + 0x30]
mov dword [rbp + 0x10c], eax
mov rax, qword [rsi + 0x40]
mov qword [rbp + 0x110], rax
mov rax, qword [rsi + 0x50]
mov qword [rbp + 0x118], rax
mov eax, dword [rsi + 0x58]
mov dword [rbp + 0x120], eax
mov eax, dword [rsi + 0x68]
mov dword [rbp + 0x124], eax
movzx eax, byte [rsi + 0x5c]
neg al
sbb cl, cl
and cl, 2
cmp byte [rsi + 0x48], 0
setne al
or cl, al
mov byte [rbp + 0x128], cl
xor eax, eax
mov dword [rbp + 0x129], eax
mov word [rbp + reloc.WLDAP32.dll_Ordinal_301], ax
mov byte [rbp + 0x12f], al
mov r15, qword [rsp + 0x50]
cmp rdi, r15
je 0x1800bbec6
movups xmmword [rdi], xmm6
movups xmm0, xmmword [rbp + 0x108]
movups xmmword [rdi + 0x10], xmm0
movups xmm1, xmmword [rbp + 0x118]
movups xmmword [rdi + 0x20], xmm1
movsd xmm0, qword [rbp + 0x128]
movsd qword [rdi + 0x30], xmm0
add rdi, 0x38
jmp 0x1800bbfe5
sub rdi, r14
movabs rcx, 0x4924924924924925
mov rax, rcx
imul rdi
mov r13, rdx
sar r13, 4
mov rax, r13
shr rax, 0x3f
add r13, rax
movabs r9, 0x492492492492492
cmp r13, r9
je 0x1800bc2f7
lea r8, [r13 + 1]
sub r15, r14
mov rax, rcx
imul r15
mov r15, rdx
sar r15, 4
mov rax, r15
shr rax, 0x3f
add r15, rax
mov rcx, r15
shr rcx, 1
mov rax, r9
sub rax, rcx
cmp r15, rax
jbe 0x1800bbf31
mov rbx, r9
jmp 0x1800bbf3c
lea rbx, [rcx + r15]
cmp rbx, r8
cmovb rbx, r8
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1800bc5a0
mov r12, rax
imul rcx, r13, 0x38
movups xmmword [rcx + rax], xmm6
movups xmm0, xmmword [rbp + 0x108]
movups xmmword [rcx + rax + 0x10], xmm0
movups xmm1, xmmword [rbp + 0x118]
movups xmmword [rcx + rax + 0x20], xmm1
movsd xmm0, qword [rbp + 0x128]
movsd qword [rcx + rax + 0x30], xmm0
mov r8, rdi
mov rdx, r14
mov rcx, rax
call fcn.1801258c0
test r14, r14
je 0x1800bbfbe
imul rdx, r15, 0x38
mov rax, r14
cmp rdx, 0x1000
jb 0x1800bbfb6
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bc2f1
mov rcx, r14
call fcn.1800c38fc
mov r14, r12
mov qword [rsp + 0x38], r12
lea rax, [r13 + 1]
imul rdi, rax, 0x38
add rdi, r12
imul r15, rbx, 0x38
add r15, r12
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
xor r13d, r13d
mov rcx, rdi
mov qword [rsp + 0x40], rdi
mov r12, qword [rsp + 0x58]
sub r12, 0xffffffffffffff80
mov qword [rsp + 0x58], r12
sub rsi, 0xffffffffffffff80
cmp r12, qword [rbp - 0x80]
je 0x1800bc00f
mov rbx, qword [rsp + 0x60]
jmp 0x1800bbb80
mov rsi, qword [rbp - 0x78]
movabs rbx, 0x4924924924924925
sub rcx, r14
mov rax, rbx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x38
mov rdx, r14
mov rcx, qword [rsi]
call fcn.1800dc500
test al, al
jne 0x1800bc264
mov dword [rsp + 0x20], 2
mov r9d, 0x22e
lea r8, str..._src_4c3e2d1c10_1c4f0a1e28.clean_client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.1800daee0
nop
or r13d, 0x20
mov dword [rsp + 0x30], r13d
lea rdx, str.failed_to_write_records
mov rcx, rax
call fcn.1800aac20
nop
lea rcx, [rbp - 0x60]
call fcn.1800db070
jmp 0x1800bc1a0
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x1800bc0aa
mov rax, qword [rcx]
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd8]
call fcn.1800df490
mov rbx, rax
or r13d, 8
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x20], 2
mov r9d, 0x224
lea r8, str..._src_4c3e2d1c10_1c4f0a1e28.clean_client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.1800daee0
nop
or r13d, 0x10
mov dword [rsp + 0x30], r13d
cmp qword [rsi + 0x18], 8
jb 0x1800bc117
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.1800b7350
mov rcx, rax
lea rdx, str._expected_to_start_with
call fcn.1800aac20
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1800bc13f
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1800ab2d0
nop
lea rcx, [rbp - 0x60]
call fcn.1800db070
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0x10
jb 0x1800bc196
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bc191
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bc2fd
call fcn.1800c38fc
movabs rbx, 0x4924924924924925
test r14, r14
je 0x1800bc1ee
sub r15, r14
mov rax, rbx
imul r15
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x38
mov rax, r14
cmp rdx, 0x1000
jb 0x1800bc1e5
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bc303
mov rcx, r14
call fcn.1800c38fc
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x1800bc22f
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800bc22a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800bc2df
call fcn.1800c38fc
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1800da5d0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
mov rcx, qword [rsi]
call fcn.1800dc500
test al, al
jne 0x1800bc1a0
mov dword [rsp + 0x20], 2
mov r9d, 0x233
lea r8, str..._src_4c3e2d1c10_1c4f0a1e28.clean_client_crash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.1800daee0
nop
or r13d, 0x40
mov dword [rsp + 0x30], r13d
lea rdx, str.failed_to_write_string_table
mov rcx, rax
call fcn.1800aac20
nop
lea rcx, [rbp - 0x60]
call fcn.1800db070
jmp 0x1800bc1a0
call fcn.180139754
nop
call fcn.1800bc490
nop
call fcn.180139754
nop
call fcn.180139754
int3
call fcn.1800bc490
int3
call fcn.180139754
nop
call fcn.180139754
int3