Function at 0x1400b1440
Capabilities:
Clear file content

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rcx]
xor eax, eax
mov qword [rcx], rax
test rsi, rsi
je 0x1400b1594
cmp byte [rsi + 0x30], 0
je 0x1400b14e6
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.1400d0dfb
test rax, rax
je 0x1400b15b9
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400b14e6
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x1e0
mov r9d, 2
call fcn.140030390
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140001c63
mov rcx, rdi
call fcn.14002f710
xorps xmm0, xmm0
lea rax, [rsp + 0x60]
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax], xmm0
mov rcx, qword [rsi + 8]
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 0x1400b1572
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400b1572
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 rcx, rdi
mov r8d, 0x129
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x100]
lea rdx, [0x140166550]
mov r8d, 0xc
call fcn.140001c63
mov rcx, rdi
call fcn.140030cb0
lea rcx, [rsi + 0x38]
call fcn.1400b2db8
lea rcx, [rsi + 0x18]
call fcn.14002c850
mov rcx, rsi
call fcn.1400af816
mov rcx, rsi
call fcn.1401203c4
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1401207e0
nop
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1400b19b4
mov rbx, qword [rsi + 0x40]
sub rbx, qword [rsi + 0x38]
mov rdi, rbx
sar rdi, 4
movabs r15, 0x6db6db6db6db6db7
imul rdi, r15
mov qword [rsp + 0xc8], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rdi
shr rax, 0x20
jne 0x1400b1c90
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.1400d11c3
test al, al
je 0x1400b1a19
test rbx, rbx
je 0x1400b14e6
movabs rcx, 0x492492492492492
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x90], rax
movaps xmmword [rsp + 0x80], xmm0
cmp rdi, rcx
ja 0x1400b1ca5
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.140120368
add rdi, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdi
mov r14, qword [rsi + 0x38]
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x58], rcx
cmp r14, rcx
je 0x1400b1a68
mov qword [rsp + 0x38], rsi
lea r13, [rsi + 0x18]
lea rsi, [rsp + 0xf0]
lea rdi, [rsp + 0x60]
lea r12, [rsp + 0xa0]
mov qword [rsp + 0x40], r13
lea rbp, [r14 + 0x10]
mov rcx, rbp
mov rdx, rsi
call fcn.14002d3f0
mov rcx, rsi
mov rdx, r13
call fcn.14002cb50
mov ebx, eax
mov rcx, rsi
call fcn.14002c850
test bl, bl
jne 0x1400b1af6
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, rbp
mov rdx, rdi
call fcn.14002d570
movzx eax, byte [rsp + 0x60]
mov rcx, rax
shr rcx, 1
mov bl, 1
test al, bl
mov rax, qword [rsp + 0x70]
lea rdx, [rsp + 0x62]
cmove rax, rdx
mov qword [rsp + 0xd0], rax
cmovne rcx, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rcx
mov rcx, rsi
lea rdx, [rsp + 0xd0]
call fcn.14003af00
mov rcx, r12
mov rdx, rsi
call fcn.1400b2e04
mov ebp, eax
test byte [rsp + 0xf0], bl
je 0x1400b1781
mov rcx, qword [rsp + 0x100]
call fcn.1401203c4
mov rcx, rdi
call fcn.14002c850
lea rdx, [r14 + 0x28]
mov rcx, r12
call fcn.1400b2e04
mov r10d, eax
mov r11, qword [r14 + 0x40]
mov r9, qword [r14 + 0x50]
mov r8d, dword [r14 + 0x58]
mov esi, dword [r14 + 0x68]
mov bl, byte [r14 + 0x5c]
add bl, bl
or bl, byte [r14 + 0x48]
xor eax, eax
mov dword [rsp + 0xf3], eax
mov dword [rsp + 0xf0], eax
mov r12, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
cmp r12, rax
jae 0x1400b1830
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [r12], xmm0
mov dword [r12 + 0x10], ebp
mov dword [r12 + 0x14], r10d
mov qword [r12 + 0x18], r11
mov qword [r12 + 0x20], r9
mov dword [r12 + 0x28], r8d
mov dword [r12 + 0x2c], esi
mov byte [r12 + 0x30], bl
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0xf3]
mov dword [r12 + 0x31], eax
mov dword [r12 + 0x34], ecx
add r12, 0x38
mov qword [rsp + 0x88], r12
jmp 0x1400b1976
mov dword [rsp + 0x34], ebp
mov rdi, qword [rsp + 0x80]
sub r12, rdi
mov rbp, r12
sar rbp, 3
imul rbp, r15
lea rcx, [rbp + 1]
movabs rdx, 0x492492492492492
cmp rcx, rdx
ja 0x1400b1c98
sub rax, rdi
sar rax, 3
imul rax, r15
lea r15, [rax + rax]
cmp r15, rcx
cmovb r15, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
jb 0x1400b1889
mov r15, rdx
test r15, r15
je 0x1400b18cc
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x50], r9
cmp r15, rdx
ja 0x1400b1ca5
mov r13, rdi
mov edi, r8d
imul rcx, r15, 0x38
call fcn.140120368
mov r8d, edi
mov rdi, r13
mov r9, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x30]
mov r11, qword [rsp + 0x48]
jmp 0x1400b18ce
xor eax, eax
imul rcx, rbp, 0x38
lea r13, [rax + rcx]
imul rbp, r15, 0x38
add rbp, rax
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rax + rcx], xmm0
mov edx, dword [rsp + 0x34]
mov dword [rax + rcx + 0x10], edx
mov dword [rax + rcx + 0x14], r10d
mov qword [rax + rcx + 0x18], r11
mov qword [rax + rcx + 0x20], r9
mov dword [rax + rcx + 0x28], r8d
mov dword [rax + rcx + 0x2c], esi
mov byte [rax + rcx + 0x30], bl
mov edx, dword [rsp + 0xf0]
mov ebx, dword [rsp + 0xf3]
mov dword [rax + rcx + 0x31], edx
mov dword [rax + rcx + 0x34], ebx
mov eax, 0x38
lea rbx, [rax + r13]
sub r13, r12
test r12, r12
jle 0x1400b1942
mov rcx, r13
mov rdx, rdi
mov r8, r12
call fcn.140123290
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rbp
test rdi, rdi
movabs r15, 0x6db6db6db6db6db7
mov r13, qword [rsp + 0x40]
je 0x1400b1976
mov rcx, rdi
call fcn.1401203c4
add r14, 0x70
cmp qword [rsp + 0x58], r14
lea rsi, [rsp + 0xf0]
lea rdi, [rsp + 0x60]
lea r12, [rsp + 0xa0]
jne 0x1400b16d8
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x38]
jmp 0x1400b1a6b
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400b14e6
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 rcx, rdi
mov r8d, 0x1e7
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x100]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140001c63
mov rcx, rdi
call fcn.140030cb0
jmp 0x1400b14e6
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400b14e6
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x1f3
mov r9d, 2
call fcn.140030390
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x1400b14d9
mov r8, rax
sub r8, rax
mov rcx, qword [rsi + 8]
mov rdx, rax
call fcn.1400d11c3
test al, al
je 0x1400b1aa7
movzx r8d, byte [rsp + 0xa0]
mov al, 1
test r8b, al
je 0x1400b1b42
mov r8, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xb0]
jmp 0x1400b1b4d
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400b1c56
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x20b
mov r9d, 2
call fcn.140030390
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
jmp 0x1400b1ba8
mov ecx, 2
call fcn.1400302f0
test al, al
mov rsi, qword [rsp + 0x38]
je 0x1400b1c56
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xf0]
mov r8d, 0x201
mov r9d, 2
call fcn.140030390
lea rcx, [rsp + 0xf8]
test byte [r14 + 0x10], 1
jne 0x1400b1bb5
add r14, 0x12
jmp 0x1400b1bb9
shr r8, 1
lea rdx, [rsp + 0xa1]
mov rcx, qword [rsi + 8]
call fcn.1400d11c3
test al, al
jne 0x1400b1c56
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400b1c56
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xf0]
mov rcx, rdi
mov r8d, 0x210
mov r9d, 2
call fcn.140030390
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
call fcn.140001c63
mov rcx, rdi
jmp 0x1400b1c51
mov r14, qword [r14 + 0x20]
mov rdx, r14
call fcn.140030d60
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140001c63
movzx edx, byte [rsi + 0x18]
add r13, 2
mov rcx, rdx
shr rcx, 1
mov bpl, 1
test dl, bpl
cmovne r13, qword [rsi + 0x28]
mov rdi, rax
lea rdx, [rsp + 0xd0]
mov qword [rdx], r13
cmovne rcx, qword [rsi + 0x20]
mov qword [rdx + 8], rcx
lea rbx, [rsp + 0x60]
mov rcx, rbx
call fcn.14003af00
movzx r8d, byte [rbx]
test r8b, bpl
je 0x1400b1c28
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
jmp 0x1400b1c30
shr r8, 1
lea rdx, [rsp + 0x61]
mov rcx, rdi
call fcn.140001c63
test byte [rsp + 0x60], bpl
je 0x1400b1c49
mov rcx, qword [rsp + 0x70]
call fcn.1401203c4
lea rcx, [rsp + 0xf0]
call fcn.14002f710
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400b1c70
mov qword [rsp + 0x88], rcx
call fcn.1401203c4
test byte [rsp + 0xa0], 1
je 0x1400b14e6
mov rcx, qword [rsp + 0xb0]
call fcn.1401203c4
jmp 0x1400b14e6
int3
lea rcx, [rsp + 0x80]
call fcn.140026eb0
call fcn.140134e78
int3