Function at 0x140081770
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 [0x1400c9040]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r12, rcx
mov qword [rbp - 0x80], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx]
call fcn.140049e70
test rax, rax
je 0x140081818
mov dword [rsp + 0x20], 2
mov r9d, 0x203
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.14004b780
nop
mov dword [rsp + 0x30], 1
lea rdx, str.failed_to_rewind_to_write
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rbp - 0x60]
call fcn.14004b9a0
jmp 0x140082028
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14008187b
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x20a
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.14004b920
nop
mov dword [rsp + 0x30], 2
lea rdx, str.failed_to_truncate
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rbp - 0x60]
call fcn.14004bbf0
jmp 0x140082028
mov rbx, qword [r12 + 0x58]
sub rbx, qword [r12 + 0x50]
sar rbx, 7
mov dword [rbp + 0xd4], r15d
mov dword [rbp + 0xc8], 0x43504144
mov dword [rbp + 0xcc], 1
mov eax, 0xffffffff
cmp rbx, rax
ja 0x1400818b6
mov dword [rbp + 0xd0], ebx
jmp 0x1400818be
int3
mov r8d, 0x10
lea rdx, [rbp + 0xc8]
mov rcx, qword [r12]
call fcn.140047cb0
test al, al
jne 0x140081925
mov dword [rsp + 0x20], 2
mov r9d, 0x216
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.14004b780
nop
or r15d, 4
mov dword [rsp + 0x30], r15d
lea rdx, str.failed_to_write_header
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rbp - 0x60]
call fcn.14004b9a0
jmp 0x140082028
test rbx, rbx
je 0x140082028
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], r15b
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r15
movabs rax, 0x492492492492492
cmp rbx, rax
ja 0x140082063
imul rdi, rbx, 0x38
cmp rdi, 0x1000
jb 0x1400819a5
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140082069
call fcn.1400551ac
test rax, rax
je 0x14008206f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400819ba
test rdi, rdi
je 0x1400819b7
mov rcx, rdi
call fcn.1400551ac
mov rbx, rax
jmp 0x1400819ba
mov rbx, r15
mov qword [rsp + 0x38], rbx
mov rsi, rbx
mov qword [rsp + 0x40], rbx
lea r13, [rbx + rdi]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x48], r13
mov r14, qword [r12 + 0x50]
mov qword [rsp + 0x50], r14
mov rax, qword [r12 + 0x58]
mov qword [rsp + 0x70], rax
movabs rdi, 0x4924924924924925
cmp r14, rax
je 0x140081da9
add r12, 8
mov qword [rsp + 0x78], r12
lea rdi, [r14 + 0x10]
nop dword [rax]
lea rdx, [rbp + 0xd8]
mov rcx, rdi
call fcn.14004a920
nop
mov rdx, r12
mov rcx, rax
call fcn.14004a4b0
movzx ebx, al
lea rcx, [rbp + 0xd8]
call fcn.14002e8c0
test bl, bl
jne 0x140081e1c
movups xmm6, xmmword [r14]
movups xmmword [rbp + 0xf8], xmm6
lea rdx, [rbp + 0x130]
mov rcx, rdi
call fcn.14004a890
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x140081a6a
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd8]
call fcn.14004cd30
mov r9, rax
mov r12, qword [rbp + 0xb8]
mov ebx, 0xffffffff
cmp r12, rbx
ja 0x140081aab
mov r13d, r12d
jmp 0x140081aaf
int3
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140081abd
mov r9, qword [rax]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
sub rax, r12
cmp r14, rax
ja 0x140081b0c
lea rax, [r12 + r14]
mov qword [rbp + 0xb8], rax
lea rbx, [rbp + 0xa8]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0xa8]
lea rcx, [rbx + r12]
mov r8, r14
mov rdx, r9
call fcn.14008dec0
lea rax, [r14 + rbx]
mov byte [rax + r12], 0
mov ebx, 0xffffffff
jmp 0x140081b23
mov qword [rsp + 0x20], r14
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0xa8]
call fcn.140002890
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xc0]
cmp rcx, rdx
jae 0x140081b5c
lea rax, [rcx + 1]
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0xa8]
cmp rdx, 0xf
cmova rax, qword [rbp + 0xa8]
mov word [rax + rcx], 0
jmp 0x140081b73
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp + 0xa8]
call fcn.140027c60
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x140081bb4
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081baf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082075
call fcn.1400551e8
mov qword [rbp + 0xe8], r15
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], 0
mov dword [rbp + 0x108], r13d
lea rcx, [rbp + 0x130]
call fcn.14002e8c0
mov r14, qword [rbp + 0xb8]
cmp r14, rbx
ja 0x140081bf1
mov r13d, r14d
jmp 0x140081bf5
int3
mov r12, qword [rdi + 0x30]
lea r9, [rdi + 0x20]
cmp qword [rdi + 0x38], 0xf
jbe 0x140081c07
mov r9, qword [r9]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
sub rax, r14
cmp r12, rax
ja 0x140081c51
lea rax, [r14 + r12]
mov qword [rbp + 0xb8], rax
lea rbx, [rbp + 0xa8]
cmp rcx, 0xf
cmova rbx, qword [rbp + 0xa8]
lea rcx, [rbx + r14]
mov r8, r12
mov rdx, r9
call fcn.14008dec0
lea rax, [rbx + r12]
mov byte [rax + r14], 0
jmp 0x140081c68
mov qword [rsp + 0x20], r12
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp + 0xa8]
call fcn.140002890
mov rcx, qword [rbp + 0xb8]
mov rdx, qword [rbp + 0xc0]
cmp rcx, rdx
jae 0x140081ca1
lea rax, [rcx + 1]
mov qword [rbp + 0xb8], rax
lea rax, [rbp + 0xa8]
cmp rdx, 0xf
cmova rax, qword [rbp + 0xa8]
mov word [rax + rcx], 0
jmp 0x140081cb7
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, [rbp + 0xa8]
call fcn.140027c60
mov dword [rbp + 0x10c], r13d
mov rax, qword [rdi + 0x40]
mov qword [rbp + 0x110], rax
mov rax, qword [rdi + 0x50]
mov qword [rbp + 0x118], rax
mov eax, dword [rdi + 0x58]
mov dword [rbp + 0x120], eax
mov eax, dword [rdi + 0x68]
mov dword [rbp + 0x124], eax
movzx eax, byte [rdi + 0x5c]
neg al
sbb cl, cl
and cl, 2
cmp byte [rdi + 0x48], 0
setne al
or cl, al
mov byte [rbp + 0x128], cl
xor eax, eax
mov dword [rbp + 0x129], eax
mov word [rbp + 0x12d], ax
mov byte [rbp + 0x12f], al
mov r13, qword [rsp + 0x30]
cmp rsi, r13
je 0x140081d50
movups xmmword [rsi], xmm6
movups xmm0, xmmword [rbp + 0x108]
movups xmmword [rsi + 0x10], xmm0
movups xmm1, xmmword [rbp + 0x118]
movups xmmword [rsi + 0x20], xmm1
movsd xmm0, qword [rbp + 0x128]
movsd qword [rsi + 0x30], xmm0
add rsi, 0x38
mov qword [rsp + 0x40], rsi
jmp 0x140081d73
lea r8, [rbp + 0xf8]
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.14007e310
mov r13, qword [rsp + 0x48]
mov qword [rsp + 0x30], r13
mov rsi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
sub r14, 0xffffffffffffff80
mov qword [rsp + 0x50], r14
sub rdi, 0xffffffffffffff80
cmp r14, qword [rsp + 0x70]
je 0x140081d96
mov r12, qword [rsp + 0x78]
jmp 0x140081a10
mov rbx, qword [rsp + 0x38]
mov r12, qword [rbp - 0x80]
movabs rdi, 0x4924924924924925
sub rsi, rbx
mov rax, rdi
imul rsi
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x38
mov rdx, rbx
mov rcx, qword [r12]
call fcn.140047cb0
test al, al
jne 0x140081f29
mov dword [rsp + 0x20], 2
mov r9d, 0x22e
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.14004b780
nop
or r15d, 0x20
mov dword [rsp + 0x30], r15d
lea rdx, str.failed_to_write_records
mov rcx, rax
call fcn.1400012e0
nop
jmp 0x140081f93
mov rax, r12
cmp qword [r12 + 0x18], 7
jbe 0x140081e2b
mov rax, qword [r12]
mov qword [rsp + 0x60], rax
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x70], xmm0
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xd8]
call fcn.14004cd30
mov rbx, rax
or r15d, 8
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x20], 2
mov r9d, 0x224
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.14004b780
nop
or r15d, 0x10
mov dword [rsp + 0x30], r15d
cmp qword [rdi + 0x18], 7
jbe 0x140081e99
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140004490
mov rcx, rax
lea rdx, str._expected_to_start_with
call fcn.1400012e0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140081ec1
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140002610
nop
lea rcx, [rbp - 0x60]
call fcn.14004b9a0
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x140081f18
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140081f13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008207b
call fcn.1400551e8
mov rbx, qword [rsp + 0x38]
movabs rdi, 0x4924924924924925
jmp 0x140081f9d
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
mov rcx, qword [r12]
call fcn.140047cb0
test al, al
jne 0x140081f9d
mov dword [rsp + 0x20], 2
mov r9d, 0x233
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadclientcrash_report_database_win.cc
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rbp - 0x60]
call fcn.14004b780
nop
or r15d, 0x40
mov dword [rsp + 0x30], r15d
lea rdx, str.failed_to_write_string_table
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rbp - 0x60]
call fcn.14004b9a0
nop
test rbx, rbx
je 0x140081feb
sub r13, rbx
mov rax, rdi
imul r13
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x38
mov rax, rbx
cmp rdx, 0x1000
jb 0x140081fe2
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082081
mov rcx, rbx
call fcn.1400551e8
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140082028
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082023
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14008205d
call fcn.1400551e8
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.140055420
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
call fcn.14005bf54
nop
call fcn.1400821c0
nop
call fcn.140007bd0
int3
call fcn.14005bf54
nop
call fcn.14005bf54
nop
call fcn.14005bf54
nop
call fcn.14005bf54
int3