Function at 0x140011956
Capabilities:
Clear file content
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, qword [rcx]
mov qword [rcx], 0
test rsi, rsi
jne 0x1400119af
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140115e50
nop
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rsi + 0x30], 0
je 0x140011a94
mov rcx, qword [rsi + 8]
xor edx, edx
xor r8d, r8d
call fcn.14017cf67
test rax, rax
jne 0x140011a41
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140011b8b
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140011a94
call qword [sym.imp.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, 0x20a
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_truncate
mov r8d, 0x12
call fcn.1400ff874
mov rcx, rdi
call fcn.140183e60
jmp 0x140011a94
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140011a94
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x203
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_rewind_to_write
mov r8d, 0x19
call fcn.1400ff874
mov rcx, rdi
call fcn.140001d00
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 0x140011b41
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
lea rcx, str.Microsoft.Crashpad.UnlockFileExFailedWithHR
call fcn.1400f14e0
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140011b41
call qword [sym.imp.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, 0x139
mov r9d, 2
call fcn.14019f9e0
lea rcx, [rsp + 0xe0]
lea rdx, [0x1402c7950]
mov r8d, 0xc
call fcn.1400ff874
mov rcx, rdi
call fcn.140183e60
lea rcx, [rsi + 0x38]
call fcn.14020a340
lea rcx, [rsi + 0x18]
call fcn.1400e1350
lea rax, [0x1402aa280]
mov qword [rsi], rax
cmp byte [rsi + 0x10], 0
jne 0x140012197
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x140011b7e
call fcn.140008fdc
mov qword [rsi + 8], 0xffffffffffffffff
mov rcx, rsi
call fcn.140112038
jmp 0x14001198a
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 0x14001217d
mov eax, edi
lea rdx, [rsp + 0xc0]
mov dword [rdx + 8], eax
mov rcx, qword [rsi + 8]
mov r8d, 0x10
call fcn.14017adeb
test al, al
je 0x140011fce
test rbx, rbx
je 0x140011a94
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 0x140012192
imul rdi, rdi, 0x38
mov rcx, rdi
call fcn.140112048
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 r12, rax
mov qword [rsp + 0x58], rcx
cmp r14, rcx
je 0x140011f3b
lea rcx, [rsi + 0x18]
mov qword [rsp + 0x40], rcx
lea rbx, [rsp + 0xd0]
lea rdi, [rsp + 0x60]
mov r12, rax
lea rbp, [r14 + 0x10]
mov rcx, rbp
mov rdx, rbx
call fcn.14000afb0
mov rcx, rbx
mov rdx, qword [rsp + 0x40]
call fcn.1400eda80
mov r13d, eax
mov rcx, rbx
call fcn.1400e1350
test r13b, r13b
jne 0x140012074
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x220], xmm0
mov rcx, rbp
mov rdx, rdi
call fcn.140009050
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
mov rcx, rbx
lea rdx, [rsp + 0x210]
call fcn.1400c0b10
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.14020bdd0
mov r13d, eax
cmp byte [rsp + 0xe7], 0
jns 0x140011d37
mov rcx, qword [rsp + 0xd0]
call fcn.140112038
mov rcx, rdi
call fcn.1400e1350
lea rdx, [r14 + 0x28]
lea rcx, [rsp + 0xa0]
call fcn.14020bdd0
mov rcx, qword [r14 + 0x40]
mov r11, qword [r14 + 0x50]
mov r10d, dword [r14 + 0x58]
mov r9d, dword [r14 + 0x68]
mov bpl, byte [r14 + 0x5c]
add bpl, bpl
or bpl, byte [r14 + 0x48]
mov r15, qword [rsp + 0x90]
cmp r12, r15
jae 0x140011dc5
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r12], xmm0
mov dword [r12 + 0x10], r13d
mov dword [r12 + 0x14], eax
mov qword [r12 + 0x18], rcx
mov qword [r12 + 0x20], r11
mov dword [r12 + 0x28], r10d
mov dword [r12 + 0x2c], r9d
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
jmp 0x140011f24
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x3c], eax
mov r8, qword [rsp + 0x80]
sub r12, r8
mov rdi, r12
sar rdi, 3
movabs rax, 0x6db6db6db6db6db7
imul rdi, rax
lea rbx, [rdi + 1]
movabs rdx, 0x492492492492492
cmp rbx, rdx
ja 0x140012185
sub r15, r8
sar r15, 3
imul r15, rax
lea rcx, [r15 + r15]
cmp rcx, rbx
jb 0x140011e1c
mov rbx, rcx
movabs rcx, 0x249249249249249
cmp r15, rcx
cmovae rbx, rdx
test rbx, rbx
mov dword [rsp + 0x38], r13d
jne 0x140011e3c
xor r13d, r13d
jmp 0x140011e75
mov qword [rsp + 0x48], r11
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x34], r9d
cmp rbx, rdx
ja 0x140012192
mov r15, r8
imul rcx, rbx, 0x38
call fcn.140112048
mov r13, rax
mov r8, r15
mov r9d, dword [rsp + 0x34]
mov r10d, dword [rsp + 0x30]
mov r11, qword [rsp + 0x48]
imul rdi, rdi, 0x38
lea r15, [rdi + r13]
imul rbx, rbx, 0x38
add rbx, r13
movaps xmm0, xmmword [rsp + 0x220]
movups xmmword [r13 + rdi], xmm0
mov eax, dword [rsp + 0x38]
mov dword [r13 + rdi + 0x10], eax
mov eax, dword [rsp + 0x3c]
mov dword [r13 + rdi + 0x14], eax
mov rax, qword [rsp + 0x50]
mov qword [r13 + rdi + 0x18], rax
mov qword [r13 + rdi + 0x20], r11
mov dword [r13 + rdi + 0x28], r10d
mov dword [r13 + rdi + 0x2c], r9d
mov byte [r13 + rdi + 0x30], bpl
xor eax, eax
mov dword [r13 + rdi + 0x31], eax
mov dword [r13 + rdi + 0x34], eax
sub r15, r12
test r12, r12
jle 0x140011eea
mov rcx, r15
mov rdx, r8
mov rbp, r8
mov r8, r12
call fcn.1401178b0
mov r8, rbp
lea r12, [rdi + r13]
add r12, 0x38
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], rbx
test r8, r8
je 0x140011f17
mov rcx, r8
call fcn.140112038
lea rdi, [rsp + 0x60]
lea rbx, [rsp + 0xd0]
add r14, 0x70
cmp qword [rsp + 0x58], r14
jne 0x140011c90
mov rax, qword [rsp + 0x80]
sub r12, rax
mov rcx, qword [rsi + 8]
mov rdx, rax
mov r8, r12
call fcn.14017adeb
test al, al
je 0x14001201d
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.14017adeb
test al, al
jne 0x140012143
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140012143
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x233
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_string_table
mov r8d, 0x1c
jmp 0x140012067
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140011a94
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x216
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_header
mov r8d, 0x16
jmp 0x140011a87
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140012143
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0x22e
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0xe0]
lea rdx, str.failed_to_write_records
mov r8d, 0x17
call fcn.1400ff874
mov rcx, rdi
jmp 0x14001213e
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140012143
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0xd0]
mov r8d, 0x224
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0xe0]
cmp byte [r14 + 0x27], 0
jns 0x1400120b9
mov rbp, qword [r14 + 0x10]
mov rdx, rbp
call fcn.1401c8da0
lea rdx, str._expected_to_start_with
mov r8d, 0x18
mov rcx, rax
call fcn.1400ff874
movzx ecx, byte [rsi + 0x2f]
test cl, cl
mov rbp, qword [rsp + 0x40]
cmovs rbp, qword [rsi + 0x18]
mov rbx, rax
lea rdx, [rsp + 0x210]
mov qword [rdx], rbp
cmovs rcx, qword [rsi + 0x20]
mov qword [rdx + 8], rcx
mov rcx, rdi
call fcn.1400c0b10
movzx r8d, byte [rsp + 0x77]
test r8b, r8b
jns 0x14001211a
mov r8, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x60]
mov rcx, rbx
mov rdx, rdi
call fcn.1400ff874
cmp byte [rsp + 0x77], 0
jns 0x140012136
mov rcx, qword [rsp + 0x60]
call fcn.140112038
lea rcx, [rsp + 0xd0]
call fcn.140001d00
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14001215d
mov qword [rsp + 0x88], rcx
call fcn.140112038
cmp byte [rsp + 0xb7], 0
jns 0x140011a94
mov rcx, qword [rsp + 0xa0]
call fcn.140112038
jmp 0x140011a94
int3
lea rcx, [rsp + 0x80]
call fcn.140196430
call fcn.140112370
int3