Function at 0x140070750
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 [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
je 0x14007080f
cmp byte [rsi + 0x30], 0
jne 0x140070834
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
je 0x1400708a7
mov rbx, qword [rsi + 0x38]
test rbx, rbx
jne 0x14007090c
lea rcx, [rsi + 0x18]
call fcn.1400ec550
lea rax, [0x140214758]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x140070956
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x140070807
call fcn.140099d20
mov qword [rsi + 8], 0xffffffffffffffff
mov rcx, rsi
call fcn.140105bb4
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140106490
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]
xor edx, edx
xor r8d, r8d
call fcn.14009a7f0
test rax, rax
je 0x140070959
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x140070792
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x1fa
mov r9d, 2
call fcn.14004bc40
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.1400e7690
mov rcx, rdi
call fcn.14004c0e0
jmp 0x140070792
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x1400707c6
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 + 0xd0]
mov rcx, rdi
mov r8d, 0x135
mov r9d, 2
call fcn.140157100
lea rcx, [rsp + 0xe0]
lea rdx, [0x1402257c0]
mov r8d, ntohl
call fcn.1400e7690
mov rcx, rdi
call fcn.140157180
jmp 0x1400707c6
mov rdi, qword [rsi + 0x40]
cmp rdi, rbx
je 0x140070d4d
add rdi, 0xffffffffffffffa0
cmp byte [rdi + 0x2f], 0
jns 0x14007092c
mov rcx, qword [rdi + 0x18]
call fcn.140105bb4
mov rcx, rdi
call fcn.1400ec550
lea rax, [rdi - 0x70]
add rdi, 0xfffffffffffffff0
cmp rdi, rbx
mov rdi, rax
jne 0x14007091d
mov rcx, qword [rsi + 0x38]
mov qword [rsi + 0x40], rbx
call fcn.140105bb4
jmp 0x1400707d3
int3
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x140070d55
mov rbx, qword [rsi + 0x40]
sub rbx, qword [rsi + 0x38]
mov rdi, rbx
sar rdi, 4
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
mov dword [rsp + 0xcc], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rdi
shr rax, 0x20
jne 0x140071009
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.14009abb0
test al, al
je 0x140070dba
test rbx, rbx
je 0x140070792
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 0x140071011
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.140105b78
add rdi, rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rdi
mov r13, qword [rsi + 0x38]
mov rcx, qword [rsi + 0x40]
mov qword [rsp + 0x58], rcx
cmp r13, rcx
je 0x140070f1a
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
mov r12, rax
lea rbp, [r13 + 0x10]
mov rcx, rbp
lea rdi, [rsp + 0xd0]
mov rdx, rdi
call fcn.140049fc0
mov rcx, rdi
lea rdx, [rsi + 0x18]
call fcn.140049820
mov ebx, eax
mov rcx, rdi
call fcn.1400ec550
test bl, bl
jne 0x140070e09
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0x220], xmm0
mov rcx, rbp
lea rdi, [rsp + 0x60]
mov rdx, rdi
call fcn.1400ec560
movzx eax, byte [rsp + 0x77]
test al, al
mov rcx, qword [rsp + 0x60]
cmovns rcx, rdi
mov qword [rsp + 0x210], rcx
cmovs rax, qword [rsp + 0x68]
mov qword [rsp + 0x218], rax
lea rdi, [rsp + 0xd0]
mov rcx, rdi
lea rdx, [rsp + 0x210]
call fcn.1400f0680
lea rcx, [rsp + 0xa0]
mov rdx, rdi
call fcn.14016d0e0
mov dword [rsp + 0x34], eax
cmp byte [rsp + 0xe7], 0
jns 0x140070b1c
mov rcx, qword [rsp + 0xd0]
call fcn.140105bb4
lea rcx, [rsp + 0x60]
call fcn.1400ec550
lea rdx, [r13 + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.14016d0e0
mov dword [rsp + 0x28], eax
mov rax, qword [r13 + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [r13 + 0x50]
mov qword [rsp + 0x50], rax
mov eax, dword [r13 + 0x58]
mov dword [rsp + 0x2c], eax
mov eax, dword [r13 + 0x68]
mov dword [rsp + 0x30], eax
mov bpl, byte [r13 + 0x5c]
add bpl, bpl
or bpl, byte [r13 + 0x48]
mov rax, qword [rsp + 0x90]
cmp r12, rax
jae 0x140070beb
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r12], xmm0
mov eax, dword [rsp + 0x34]
mov dword [r12 + 0x10], eax
mov eax, dword [rsp + 0x28]
mov dword [r12 + 0x14], eax
mov rax, qword [rsp + 0x48]
mov qword [r12 + 0x18], rax
mov rax, qword [rsp + 0x50]
mov qword [r12 + 0x20], rax
mov eax, dword [rsp + 0x2c]
mov dword [r12 + 0x28], eax
mov eax, dword [rsp + 0x30]
mov dword [r12 + 0x2c], eax
mov byte [r12 + 0x30], bpl
xor eax, eax
mov dword [r12 + 0x31], eax
mov dword [r12 + 0x34], eax
add r12, 0x38
mov qword [rsp + 0x88], r12
add r13, 0x70
cmp r13, qword [rsp + 0x58]
jne 0x140070a61
jmp 0x140070ffc
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x38], rcx
sub r12, rcx
mov rdi, r12
sar rdi, 3
movabs rcx, 0x6db6db6db6db6db7
imul rdi, rcx
lea rbx, [rdi + 1]
movabs rcx, 0x492492492492492
cmp rbx, rcx
ja 0x140071016
sub rax, qword [rsp + 0x38]
sar rax, 3
movabs rcx, 0x6db6db6db6db6db7
imul rax, rcx
lea rcx, [rax + rax]
cmp rcx, rbx
jb 0x140070c4a
mov rbx, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
movabs rax, 0x492492492492492
cmovae rbx, rax
test rbx, rbx
je 0x140070d45
movabs rax, 0x492492492492492
cmp rbx, rax
ja 0x140071011
imul rcx, rbx, 0x38
call fcn.140105b78
mov r14, rax
imul rdi, rdi, 0x38
lea r15, [r14 + rdi]
imul rbx, rbx, 0x38
add rbx, r14
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r14 + rdi], xmm0
mov eax, dword [rsp + 0x34]
mov dword [r14 + rdi + 0x10], eax
mov eax, dword [rsp + 0x28]
mov dword [r14 + rdi + 0x14], eax
mov rax, qword [rsp + 0x48]
mov qword [r14 + rdi + 0x18], rax
mov rax, qword [rsp + 0x50]
mov qword [r14 + rdi + 0x20], rax
mov eax, dword [rsp + 0x2c]
mov dword [r14 + rdi + 0x28], eax
mov eax, dword [rsp + 0x30]
mov dword [r14 + rdi + 0x2c], eax
mov byte [r14 + rdi + 0x30], bpl
xor eax, eax
mov dword [r14 + rdi + 0x31], eax
mov dword [r14 + rdi + 0x34], eax
sub r15, r12
test r12, r12
jle 0x140070d0a
mov rcx, r15
mov rdx, qword [rsp + 0x38]
mov r8, r12
call fcn.140108e80
lea r12, [r14 + rdi]
add r12, 0x38
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], rbx
cmp qword [rsp + 0x38], 0
je 0x140070bd7
mov rcx, qword [rsp + 0x38]
call fcn.140105bb4
jmp 0x140070bd7
xor r14d, r14d
jmp 0x140070c8d
mov rcx, rbx
jmp 0x140070948
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x140070792
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 + 0xd0]
mov rcx, rdi
mov r8d, 0x201
mov r9d, 2
call fcn.140157100
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.1400e7690
mov rcx, rdi
call fcn.140157180
jmp 0x140070792
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x140070792
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x20d
mov r9d, 2
call fcn.14004bc40
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x140070895
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x140070ee0
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xd0]
mov r8d, 0x21b
mov r9d, 2
call fcn.14004bc40
lea rcx, [rsp + 0xe0]
cmp byte [r13 + 0x27], 0
jns 0x140070e4e
mov rbp, qword [r13 + 0x10]
mov rdx, rbp
call fcn.140157230
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.1400e7690
movzx ecx, byte [rsi + 0x2f]
test cl, cl
lea rbp, [rsi + 0x18]
cmovs rbp, qword [rsi + 0x18]
mov rdi, rax
lea rdx, [rsp + 0x210]
mov qword [rdx], rbp
cmovs rcx, qword [rsi + 0x20]
mov qword [rdx + 8], rcx
lea rcx, [rsp + 0x60]
call fcn.1400f0680
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x140070eb5
mov r8, qword [rsp + 0x68]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rcx, rdi
mov rdx, qword [rsp + 0x40]
call fcn.1400e7690
cmp byte [rsp + 0x77], 0
jns 0x140070ed3
mov rcx, qword [rsp + 0x60]
call fcn.140105bb4
lea rcx, [rsp + 0xd0]
call fcn.14004c0e0
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140070efa
mov qword [rsp + 0x88], rcx
call fcn.140105bb4
cmp byte [rsp + 0xb7], 0
jns 0x140070792
mov rcx, qword [rsp + 0xa0]
call fcn.140105bb4
jmp 0x140070792
mov r12, rax
sub r12, rax
mov rcx, qword [rsi + 8]
mov rdx, rax
mov r8, r12
call fcn.14009abb0
test al, al
je 0x140070fa5
lea rdx, [rsp + 0xa0]
movzx r8d, byte [rdx + 0x17]
test r8b, r8b
cmovs r8, qword [rdx + 8]
cmovs rdx, qword [rdx]
mov rcx, qword [rsi + 8]
call fcn.14009abb0
test al, al
jne 0x140070ee0
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x140070ee0
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x22a
mov r9d, 2
call fcn.14004bc40
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x140070fef
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x140070ee0
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x225
mov r9d, 2
call fcn.14004bc40
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.1400e7690
mov rcx, rdi
jmp 0x140070edb
mov rax, qword [rsp + 0x80]
jmp 0x140070f1d
int3
call fcn.140119940
lea rcx, [rsp + 0x80]
call fcn.1401364b0
int3