Function at 0x14003b65c
Capabilities:
Clear file content

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x248
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1c0], 0xfffffffffffffffe
mov rbx, qword [rcx]
test rbx, rbx
je 0x14003b790
cmp byte [rbx + 0x48], 0
je 0x14003b6e8
mov rcx, qword [rbx]
xor edx, edx
xor r8d, r8d
call fcn.14005a70d
test rax, rax
je 0x14003b7a5
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x203
call fcn.1400366da
lea rdx, str.failed_to_rewind_to_write
lea rcx, [rbp - 0x40]
call fcn.14000345f
lea rcx, [rbp - 0x40]
call fcn.140036d3a
xorps xmm0, xmm0
lea rax, [rbp + 0x170]
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov rcx, qword [rbx]
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 0x14003b760
call fcn.1400372c2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.__cdecl_crashpad::_anonymous_namespace_::Metadata::Metadata_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x13b
call fcn.1400372da
lea rdx, [0x140139e38]
lea rcx, [rbp - 0x40]
call fcn.14000345f
lea rcx, [rbp - 0x40]
call fcn.14003730a
lea rcx, [rbx + 0x50]
call fcn.14003fbba
lea rcx, [rbx + 0x28]
call fcn.140009ffe
lea rcx, [rbx + 8]
call fcn.140009ffe
mov rcx, rbx
call fcn.14003f968
mov edx, 0x68
mov rcx, rbx
call fcn.1400e7768
nop
add rsp, 0x248
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x14003b87d
mov r14, qword [rbx + 0x50]
mov r15, qword [rbx + 0x58]
mov rsi, r15
sub rsi, r14
mov rdi, rsi
sar rdi, 7
mov qword [rbp + 0xd0], 0
movabs rax, 0x143504144
mov qword [rbp + 0xc8], rax
mov rax, rsi
shr rax, 0x27
jne 0x14003c083
mov eax, edi
lea rdx, [rbp + 0xc8]
mov dword [rdx + 8], eax
mov rcx, qword [rbx]
mov r8d, send
call fcn.14005abd3
test al, al
je 0x14003b8c9
cmp r15, r14
je 0x14003b6e8
mov qword [rbp + 0x190], rbx
mov qword [rbp + 0x108], 0
movaps xmm0, xmmword [section..rdata]
movups xmmword [rbp + 0x118], xmm0
mov byte [rbp + 0x108], 0
test rsi, rsi
js 0x14003c0a8
imul rcx, rdi, 0x38
xor eax, eax
cmp rsi, 0x2481
jb 0x14003b903
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
call fcn.1400014ce
jmp 0x14003b919
call fcn.1400372c2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x20a
call fcn.1400372da
lea rdx, str.failed_to_truncate
lea rcx, [rbp - 0x40]
call fcn.14000345f
lea rcx, [rbp - 0x40]
call fcn.14003730a
jmp 0x14003b6e8
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x216
call fcn.1400366da
lea rdx, str.failed_to_write_header
lea rcx, [rbp - 0x40]
call fcn.14000345f
jmp 0x14003b6df
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
call fcn.1400e7770
mov r15, rax
add rbx, rax
mov rdi, qword [rbp + 0x190]
mov r12, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x58]
mov qword [rbp + 0xd8], rcx
lea rcx, [rdi + 8]
mov qword [rbp + 0x150], rcx
lea rax, [rbp - 0x40]
lea rcx, [rbp + 0x108]
mov qword [rbp + 0x100], rcx
mov r14, r15
cmp r12, qword [rbp + 0xd8]
mov qword [rbp + 0x1a0], rbx
mov qword [rbp + 0x1a8], r15
je 0x14003bd1c
lea rdi, [r12 + 0x10]
mov qword [rbp + 0x1b8], r15
mov qword [rbp + 0x1b0], rbx
mov rcx, rdi
mov rdx, rax
call fcn.140037940
lea rsi, [rbp - 0x40]
mov rcx, rsi
mov rdx, qword [rbp + 0x150]
call fcn.140037928
mov ebx, eax
mov rcx, rsi
call fcn.140009ffe
test bl, bl
jne 0x14003bdf2
movups xmm0, xmmword [r12]
movaps xmmword [rbp + 0xf0], xmm0
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x1b0], rax
mov rcx, rdi
lea rdx, [rbp + 0x170]
call fcn.140037dae
cmp qword [rbp + 0x188], 8
lea rax, [rbp + 0x170]
jb 0x14003ba02
mov rax, qword [rbp + 0x170]
mov rcx, qword [rbp + 0x180]
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], rcx
lea rdi, [rbp - 0x40]
mov rcx, rdi
lea rdx, [rbp + 0x128]
call fcn.14004784a
lea rcx, [rbp + 0x108]
mov rdx, rdi
call fcn.14003fce2
mov esi, eax
mov rax, qword [rbp - 0x28]
cmp rax, 0x10
jb 0x14003ba7a
mov rcx, qword [rbp - 0x40]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14003ba75
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14003c09e
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp + 0x170]
call fcn.140009ffe
lea rdx, [r12 + 0x30]
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x1b0], rax
lea rcx, [rbp + 0x108]
call fcn.14003fce2
mov r13d, eax
mov rcx, qword [r12 + 0x50]
mov rax, qword [r12 + 0x60]
mov r15d, dword [r12 + 0x68]
mov r11d, dword [r12 + 0x78]
mov dil, byte [r12 + 0x6c]
add dil, dil
or dil, byte [r12 + 0x58]
mov rbx, qword [rbp + 0x1a0]
cmp r14, rbx
je 0x14003bb24
movaps xmm0, xmmword [rbp + 0xf0]
movups xmmword [r14], xmm0
mov dword [r14 + 0x10], esi
mov dword [r14 + 0x14], r13d
mov qword [r14 + 0x18], rcx
mov qword [r14 + 0x20], rax
mov dword [r14 + 0x28], r15d
mov dword [r14 + 0x2c], r11d
mov byte [r14 + 0x30], dil
xor eax, eax
mov dword [r14 + 0x31], eax
mov dword [r14 + 0x34], eax
add r14, 0x38
mov r15, qword [rbp + 0x1a8]
jmp 0x14003bd00
mov qword [rbp + 0x160], rcx
mov qword [rbp + 0x158], rax
mov r9, rbx
mov rcx, qword [rbp + 0x1a8]
sub r9, rcx
mov rax, r9
movabs rdx, 0x4924924924924925
imul rdx
mov rax, rdx
shr rax, 0x3f
sar rdx, 4
lea r14, [rdx + rax]
lea r10, [rdx + rax]
inc r10
mov rax, r14
shr rax, 1
movabs r8, 0x492492492492492
mov rdx, r8
sub rdx, rax
add rax, r14
cmp rax, r10
cmovbe rax, r10
cmp r14, rdx
cmova rax, r8
movabs rdx, 0x492492492492493
cmp rax, rdx
jae 0x14003c08b
imul rdx, rax, 0x38
cmp rax, 0x4a
mov qword [rbp + 0xe0], r10
mov qword [rbp + 0xe8], rdx
mov dword [rbp + 0x14c], r15d
jb 0x14003bbe4
mov dword [rbp + 0x19c], r11d
mov qword [rbp + 0x168], r9
mov qword [rbp + 0x1b8], rcx
mov qword [rbp + 0x1b0], rbx
mov rcx, rdx
call fcn.1400014ce
jmp 0x14003bc11
test rax, rax
je 0x14003bd14
mov dword [rbp + 0x19c], r11d
mov qword [rbp + 0x168], r9
mov qword [rbp + 0x1b8], rcx
mov qword [rbp + 0x1b0], rbx
mov rcx, rdx
call fcn.1400e7770
mov r15, rax
mov rbx, qword [rbp + 0x1a0]
mov rcx, qword [rbp + 0x1a8]
mov r9, qword [rbp + 0x168]
mov r11d, dword [rbp + 0x19c]
mov r8, qword [rbp + 0x158]
mov rdx, qword [rbp + 0x160]
imul rax, r14, 0x38
movaps xmm0, xmmword [rbp + 0xf0]
movups xmmword [r15 + rax], xmm0
mov dword [r15 + rax + 0x10], esi
mov dword [r15 + rax + 0x14], r13d
mov qword [r15 + rax + 0x18], rdx
mov qword [r15 + rax + 0x20], r8
mov edx, dword [rbp + 0x14c]
mov dword [r15 + rax + 0x28], edx
mov dword [r15 + rax + 0x2c], r11d
mov byte [r15 + rax + 0x30], dil
xor edx, edx
mov dword [r15 + rax + 0x31], edx
mov dword [r15 + rax + 0x34], edx
cmp rcx, rbx
je 0x14003bcb9
mov rax, rcx
mov rdi, r15
mov rdx, qword [rax + 0x30]
mov qword [rdi + 0x30], rdx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
add rdi, 0x38
add rax, 0x38
cmp rax, rbx
jne 0x14003bc8e
test rcx, rcx
je 0x14003bceb
cmp r9, 0x1000
jb 0x14003bce3
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14003c0a3
add r9, 0x27
mov rcx, rax
mov rdx, r9
call fcn.1400e7768
imul r14, qword [rbp + 0xe0], 0x38
add r14, r15
mov rbx, qword [rbp + 0xe8]
add rbx, r15
sub r12, 0xffffffffffffff80
mov rdi, qword [rbp + 0x190]
lea rax, [rbp - 0x40]
jmp 0x14003b955
xor r15d, r15d
jmp 0x14003bc30
sub r14, r15
mov rcx, qword [rdi]
mov qword [rbp + 0x1b8], r15
mov qword [rbp + 0x1b0], rbx
mov rdx, r15
mov r8, r14
call fcn.14005abd3
test al, al
je 0x14003be56
mov r8, qword [rbp + 0x118]
cmp qword [rbp + 0x120], 0x10
jb 0x14003bd62
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x190]
mov rcx, qword [rax]
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x1b0], rax
mov rdx, qword [rbp + 0x100]
call fcn.14005abd3
test al, al
jne 0x14003bff2
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x1b0], rax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x233
call fcn.1400366da
lea rdx, str.failed_to_write_string_table
lea rcx, [rbp - 0x40]
call fcn.14000345f
jmp 0x14003bfe9
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x1b0], rax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x224
call fcn.1400366da
cmp qword [r12 + 0x28], 8
jb 0x14003be40
mov rdi, qword [r12 + 0x10]
mov qword [rbp + 0xf0], rdi
test rdi, rdi
je 0x14003beac
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
jmp 0x14003beae
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x1a0]
mov qword [rbp + 0x1b0], rax
mov dword [rsp + 0x20], 2
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace_::Metadata::Write_void_
lea r8, str.xplat_third_partycrashpadclientcrash_report_database_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x22e
call fcn.1400366da
lea rdx, str.failed_to_write_records
lea rcx, [rbp - 0x40]
call fcn.14000345f
jmp 0x14003bfe9
xor eax, eax
lea rdx, [rbp + 0xf0]
mov qword [rdx + 8], rax
lea rdi, [rbp + 0x170]
mov rcx, rdi
call fcn.14004784a
mov rsi, qword [rbp + 0x190]
mov r8, qword [rbp + 0x180]
cmp qword [rbp + 0x188], 0x10
jb 0x14003bee7
mov rdi, qword [rbp + 0x170]
lea rcx, [rbp - 0x40]
mov rdx, rdi
call fcn.140004e8c
lea rdx, str._expected_to_start_with
mov rcx, rax
call fcn.14000345f
mov rdi, rax
cmp qword [rsi + 0x20], 8
jb 0x14003bf17
mov rax, qword [rsi + 8]
mov qword [rbp + 0x150], rax
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0x150]
mov qword [rdx], rax
mov rax, qword [rsi + 0x18]
mov qword [rdx + 8], rax
lea rbx, [rbp + 0x128]
mov rcx, rbx
call fcn.14004784a
mov r8, qword [rbp + 0x138]
cmp qword [rbp + 0x140], 0x10
jb 0x14003bf54
mov rbx, qword [rbp + 0x128]
mov rcx, rdi
mov rdx, rbx
call fcn.140004e8c
mov rax, qword [rbp + 0x140]
cmp rax, 0x10
jb 0x14003bfa4
mov rcx, qword [rbp + 0x128]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14003bf9f
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14003c0c7
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
mov rax, qword [rbp + 0x188]
cmp rax, 0x10
jb 0x14003bfe9
mov rcx, qword [rbp + 0x170]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14003bfe4
mov rbx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbx
cmp rcx, 0x20
jae 0x14003c0cc
add rax, 0x28
mov rdx, rax
mov rcx, rbx
call fcn.1400e7768
lea rcx, [rbp - 0x40]
call fcn.140036d3a
mov rcx, qword [rbp + 0x1a8]
test rcx, rcx
mov rdx, qword [rbp + 0x1a0]
je 0x14003c032
sub rdx, rcx
cmp rdx, 0x1000
jb 0x14003c02d
mov rax, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rax
cmp rcx, 0x20
jae 0x14003c0bd
add rdx, 0x27
mov rcx, rax
call fcn.1400e7768
mov rax, qword [rbp + 0x120]
cmp rax, 0x10
mov rbx, qword [rbp + 0x190]
jb 0x14003b6e8
mov rcx, qword [rbp + 0x108]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14003c079
mov rdi, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rdi
cmp rcx, 0x20
jae 0x14003c0c2
add rax, 0x28
mov rdx, rax
mov rcx, rdi
call fcn.1400e7768
jmp 0x14003b6e8
int3
mov qword [rbp + 0x1b8], rcx
mov qword [rbp + 0x1b0], rbx
call fcn.140001502
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
xor eax, eax
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1b0], rax
call fcn.14000431c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3