Function at 0x140043a04
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 [0x1400c95d8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rcx]
xor eax, eax
mov qword [rcx], rax
test rsi, rsi
je 0x140043b58
cmp byte [rsi + 0x30], 0
je 0x140043aaa
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.140053423
test rax, rax
je 0x140043b7d
mov ecx, 2
call fcn.140031ce0
test al, al
je 0x140043aaa
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.140031d90
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.140028a70
mov rcx, rdi
call fcn.1400321f0
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 0x140043b36
mov ecx, 2
call fcn.140031ce0
test al, al
je 0x140043b36
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.140032a30
lea rcx, [rsp + 0x100]
lea rdx, [0x1400a7a90]
mov r8d, 0xc
call fcn.140028a70
mov rcx, rdi
call fcn.140032b00
lea rcx, [rsi + 0x38]
call fcn.140045240
lea rcx, [rsi + 0x18]
call fcn.140021d80
mov rcx, rsi
call fcn.14002f3b2
mov rcx, rsi
call fcn.1400795d8
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140079940
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 0x140043f64
mov rbx, qword [rsi + 0x40]
sub rbx, qword [rsi + 0x38]
mov rdi, rbx
sar rdi, 4
movabs r12, 0x6db6db6db6db6db7
imul rdi, r12
mov qword [rsp + 0xc8], 0
movabs rax, 0x143504144
mov qword [rsp + 0xc0], rax
mov rax, rdi
shr rax, 0x20
jne 0x14004420a
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.1400537df
test al, al
je 0x140043fc9
test rbx, rbx
je 0x140043aaa
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 0x14004421f
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.14007957c
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 0x140044018
mov qword [rsp + 0x38], rsi
lea rax, [rsi + 0x18]
mov qword [rsp + 0x40], rax
lea rbp, [rsp + 0xf0]
lea r14, [rsp + 0x60]
lea rsi, [rsp + 0xa0]
xor r15d, r15d
lea rdi, [r13 + 0x10]
mov rcx, rdi
mov rdx, rbp
call fcn.140022840
mov rcx, rbp
mov rdx, qword [rsp + 0x40]
call fcn.140022070
mov ebx, eax
mov rcx, rbp
call fcn.140021d80
test bl, bl
jne 0x1400440fb
movups xmm0, xmmword [r13]
movaps xmmword [rsp + 0xe0], xmm0
mov rcx, rdi
mov rdx, r14
call fcn.1400229f0
movzx eax, byte [rsp + 0x77]
test al, al
mov rcx, qword [rsp + 0x60]
cmovns rcx, r14
mov qword [rsp + 0xd0], rcx
cmovs rax, qword [rsp + 0x68]
mov qword [rsp + 0xd8], rax
mov rcx, rbp
lea rdx, [rsp + 0xd0]
call fcn.140027070
mov rcx, rsi
mov rdx, rbp
call fcn.14004528c
mov edi, eax
cmp byte [rsp + 0x107], r15b
jns 0x140043d3f
mov rcx, qword [rsp + 0xf0]
call fcn.1400795d8
mov rcx, r14
call fcn.140021d80
lea rdx, [r13 + 0x28]
mov rcx, rsi
call fcn.14004528c
mov r10d, eax
mov r11, qword [r13 + 0x40]
mov r9, qword [r13 + 0x50]
mov r8d, dword [r13 + 0x58]
mov esi, dword [r13 + 0x68]
mov bl, byte [r13 + 0x5c]
add bl, bl
or bl, byte [r13 + 0x48]
mov dword [rsp + 0xf3], r15d
mov dword [rsp + 0xf0], r15d
mov rbp, qword [rsp + 0x88]
mov rax, qword [rsp + 0x90]
cmp rbp, rax
jae 0x140043ddf
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rbp], xmm0
mov dword [rbp + 0x10], edi
mov dword [rbp + 0x14], r10d
mov qword [rbp + 0x18], r11
mov qword [rbp + 0x20], r9
mov dword [rbp + 0x28], r8d
mov dword [rbp + 0x2c], esi
mov byte [rbp + 0x30], bl
mov eax, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0xf3]
mov dword [rbp + 0x31], eax
mov dword [rbp + 0x34], ecx
add rbp, 0x38
mov qword [rsp + 0x88], rbp
jmp 0x140043f25
mov dword [rsp + 0x34], edi
mov r15, qword [rsp + 0x80]
sub rbp, r15
mov rdi, rbp
sar rdi, 3
imul rdi, r12
lea rcx, [rdi + 1]
movabs rdx, 0x492492492492492
cmp rcx, rdx
ja 0x140044212
sub rax, r15
sar rax, 3
imul rax, r12
lea r14, [rax + rax]
cmp r14, rcx
cmovb r14, rcx
movabs rcx, 0x249249249249249
cmp rax, rcx
jb 0x140043e38
mov r14, rdx
test r14, r14
je 0x140043e7b
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x50], r15
cmp r14, rdx
ja 0x14004421f
mov r15, r9
mov r12d, r8d
imul rcx, r14, 0x38
call fcn.14007957c
mov r8d, r12d
mov r9, r15
mov r15, qword [rsp + 0x50]
mov r10d, dword [rsp + 0x30]
mov r11, qword [rsp + 0x48]
jmp 0x140043e7d
xor eax, eax
imul rcx, rdi, 0x38
lea r12, [rax + rcx]
imul rdi, r14, 0x38
add rdi, 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, [r12 + rax]
sub r12, rbp
test rbp, rbp
jle 0x140043ef1
mov rcx, r12
mov rdx, r15
mov r8, rbp
call fcn.14007c250
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x90], rdi
test r15, r15
lea r14, [rsp + 0x60]
movabs r12, 0x6db6db6db6db6db7
je 0x140043f25
mov rcx, r15
call fcn.1400795d8
add r13, 0x70
cmp qword [rsp + 0x58], r13
lea rbp, [rsp + 0xf0]
lea rsi, [rsp + 0xa0]
mov r15d, 0
jne 0x140043c9f
mov rax, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x38]
jmp 0x14004401b
mov ecx, 2
call fcn.140031ce0
test al, al
je 0x140043aaa
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.140032a30
lea rcx, [rsp + 0x100]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.140028a70
mov rcx, rdi
call fcn.140032b00
jmp 0x140043aaa
mov ecx, 2
call fcn.140031ce0
test al, al
je 0x140043aaa
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.140031d90
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x140043a9d
mov r8, rax
sub r8, rax
mov rcx, qword [rsi + 8]
mov rdx, rax
call fcn.1400537df
test al, al
je 0x1400440a4
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.1400537df
test al, al
jne 0x1400441d0
mov ecx, 2
call fcn.140031ce0
test al, al
je 0x1400441d0
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.140031d90
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x1400440ee
mov ecx, 2
call fcn.140031ce0
test al, al
je 0x1400441d0
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.140031d90
lea rcx, [rsp + 0xf8]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.140028a70
mov rcx, rdi
jmp 0x1400441cb
mov ecx, 2
call fcn.140031ce0
test al, al
mov rsi, qword [rsp + 0x38]
je 0x1400441d0
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.140031d90
lea rcx, [rsp + 0xf8]
cmp byte [r13 + 0x27], 0
jns 0x140044145
mov rdi, qword [r13 + 0x10]
mov rdx, rdi
call fcn.140032bb0
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.140028a70
movzx ecx, byte [rsi + 0x2f]
test cl, cl
mov rbp, qword [rsp + 0x40]
cmovs rbp, qword [rsi + 0x18]
mov rdi, rax
lea rdx, [rsp + 0xd0]
mov qword [rdx], rbp
cmovs rcx, qword [rsi + 0x20]
mov qword [rdx + 8], rcx
mov rcx, r14
call fcn.140027070
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x1400441a6
mov r8, qword [rsp + 0x68]
mov r14, qword [rsp + 0x60]
mov rcx, rdi
mov rdx, r14
call fcn.140028a70
xor eax, eax
cmp byte [rsp + 0x77], al
jns 0x1400441c3
mov rcx, qword [rsp + 0x60]
call fcn.1400795d8
lea rcx, [rsp + 0xf0]
call fcn.1400321f0
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1400441ea
mov qword [rsp + 0x88], rcx
call fcn.1400795d8
cmp byte [rsp + 0xb7], 0
jns 0x140043aaa
mov rcx, qword [rsp + 0xa0]
call fcn.1400795d8
jmp 0x140043aaa
int3
lea rcx, [rsp + 0x80]
call fcn.14001dff4
call fcn.140089ad8
int3