Function at 0x1400fb930
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8b8
mov rax, qword [0x1401c00d8]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov dword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x8d0]
call fcn.1400fae50
movzx eax, al
test eax, eax
jne 0x1400fba39
call fcn.1400f95b0
cmp eax, 2
jle 0x1400fb97f
jmp 0x1400fba17
lea rcx, [rsp + 0x35]
call fcn.140004910
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x203
lea r8, [0x14019a020]
lea rdx, [0x14019a0b0]
lea rcx, [rsp + 0x2f8]
call fcn.1400b5f40
mov qword [rsp + 0x1c0], rax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x80]
call fcn.140004910
lea rdx, str.failed_to_rewind_to_write
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x90]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x1400fba34
and dword [rsp + 0x30], 0xfffffffe
lea rcx, [rsp + 0x2f8]
call fcn.1400b60e0
jmp 0x1400fc256
mov rax, qword [rsp + 0x8d0]
mov rcx, rax
call fcn.140004910
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400fbb2c
call fcn.1400f95b0
cmp eax, 2
jle 0x1400fba69
jmp 0x1400fbb0a
lea rcx, [rsp + 0x36]
call fcn.140004910
mov qword [rsp + 0xb0], rax
call fcn.1400b5d50
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x20a
lea r8, [0x14019a100]
lea rdx, [0x14019a190]
lea rcx, [rsp + 0x1f0]
call fcn.1400b67e0
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x30]
or eax, 2
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xa0]
call fcn.140004910
lea rdx, str.failed_to_truncate
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 2
test eax, eax
je 0x1400fbb27
and dword [rsp + 0x30], 0xfffffffd
lea rcx, [rsp + 0x1f0]
call fcn.1400b6840
jmp 0x1400fc256
mov rax, qword [rsp + 0x8d0]
add rax, 0x50
mov rcx, rax
call fcn.1400fc810
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x7f8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x7f8], 0x43504144
mov dword [rsp + 0x7fc], 1
mov rcx, qword [rsp + 0x48]
call fcn.140029ce0
mov dword [rsp + 0x800], eax
mov rax, qword [rsp + 0x8d0]
mov rcx, rax
call fcn.140004910
mov r8d, 0x10
lea rdx, [rsp + 0x7f8]
mov rcx, qword [rax]
call fcn.1400ae2d0
movzx eax, al
test eax, eax
jne 0x1400fbc7a
call fcn.1400f95b0
cmp eax, 2
jle 0x1400fbbc0
jmp 0x1400fbc58
lea rcx, [rsp + 0x37]
call fcn.140004910
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x216
lea r8, [0x14019a1f0]
lea rdx, [0x14019a280]
lea rcx, [rsp + 0x3f8]
call fcn.1400b5f40
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x30]
or eax, 4
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xc0]
call fcn.140004910
lea rdx, str.failed_to_write_header
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xd0]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 4
test eax, eax
je 0x1400fbc75
and dword [rsp + 0x30], 0xfffffffb
lea rcx, [rsp + 0x3f8]
call fcn.1400b60e0
jmp 0x1400fc256
cmp qword [rsp + 0x48], 0
jne 0x1400fbc87
jmp 0x1400fc256
lea rcx, [rsp + 0x808]
call fcn.140008230
nop
lea rcx, [rsp + 0x68]
call fcn.1400fd330
nop
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.1400fd500
mov rax, qword [rsp + 0x8d0]
add rax, 0x50
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400fc790
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400fc7d0
mov qword [rsp + 0xd8], rax
jmp 0x1400fbcf3
mov rax, qword [rsp + 0x40]
add rax, 0x80
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xd8]
cmp qword [rsp + 0x40], rax
je 0x1400fbfa3
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
add rax, 0x10
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x848]
mov rcx, qword [rsp + 0x58]
call fcn.1400b4660
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x8d0]
add rax, 8
mov rdx, rax
mov rcx, qword [rsp + 0xf0]
call fcn.1400b45a0
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x848]
call fcn.1400b4510
movzx eax, byte [rsp + 0x34]
test eax, eax
je 0x1400fbf77
call fcn.1400f95b0
cmp eax, 2
jle 0x1400fbda1
jmp 0x1400fbf1e
lea rcx, [rsp + 0x38]
call fcn.140004910
mov qword [rsp + 0x148], rax
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x8d0]
add rax, 8
mov rcx, rax
call fcn.140004910
mov rdx, rax
mov rcx, qword [rsp + 0xf8]
call fcn.14001b780
lea rcx, [rsp + 0x1d0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0x828]
call fcn.1400b75a0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov eax, dword [rsp + 0x30]
or eax, 8
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x224
lea r8, [0x14019a300]
lea rdx, [0x14019a390]
lea rcx, [rsp + 0x4f8]
call fcn.1400b5f40
mov qword [rsp + 0x110], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x118], rax
mov eax, dword [rsp + 0x30]
or eax, 0x10
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x118]
call fcn.140004910
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x58]
call fcn.140004910
mov rcx, rax
call fcn.14000f840
mov qword [rsp + 0x120], rax
mov rdx, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
call fcn.140009b80
lea rdx, str._expected_to_start_with
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x138], rax
mov rdx, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x138]
call fcn.140003a20
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 0x10
test eax, eax
je 0x1400fbf3c
and dword [rsp + 0x30], 0xffffffef
lea rcx, [rsp + 0x4f8]
call fcn.1400b60e0
nop
mov eax, dword [rsp + 0x30]
and eax, 8
test eax, eax
je 0x1400fbf5a
and dword [rsp + 0x30], 0xfffffff7
lea rcx, [rsp + 0x828]
call fcn.140009160
nop
lea rcx, [rsp + 0x68]
call fcn.1400fd3d0
nop
lea rcx, [rsp + 0x808]
call fcn.140009160
jmp 0x1400fc256
lea r8, [rsp + 0x808]
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x868]
call fcn.1400f9af0
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400fd3f0
jmp 0x1400fbce3
lea rcx, [rsp + 0x68]
call fcn.1400fd590
imul rax, rax, 0x38
mov qword [rsp + 0x150], rax
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1400fd660
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x8d0]
mov rcx, rax
call fcn.140004910
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
mov r8, qword [rsp + 0x150]
mov rdx, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x160]
call fcn.1400ae2d0
movzx eax, al
test eax, eax
jne 0x1400fc0f2
call fcn.1400f95b0
cmp eax, 2
jle 0x1400fc01f
jmp 0x1400fc0b7
lea rcx, [rsp + 0x39]
call fcn.140004910
mov qword [rsp + 0x180], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x22e
lea r8, [0x14019a3e0]
lea rdx, [0x14019a470]
lea rcx, [rsp + 0x5f8]
call fcn.1400b5f40
mov qword [rsp + 0x168], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
mov eax, dword [rsp + 0x30]
or eax, 0x20
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x170]
call fcn.140004910
lea rdx, str.failed_to_write_records
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x178], rax
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x180]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 0x20
test eax, eax
je 0x1400fc0d5
and dword [rsp + 0x30], 0xffffffdf
lea rcx, [rsp + 0x5f8]
call fcn.1400b60e0
nop
lea rcx, [rsp + 0x68]
call fcn.1400fd3d0
nop
lea rcx, [rsp + 0x808]
call fcn.140009160
jmp 0x1400fc256
lea rcx, [rsp + 0x808]
call fcn.1400128d0
mov qword [rsp + 0x188], rax
lea rcx, [rsp + 0x808]
call fcn.14000f820
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x8d0]
mov rcx, rax
call fcn.140004910
mov rax, qword [rax]
mov qword [rsp + 0x198], rax
mov r8, qword [rsp + 0x188]
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x198]
call fcn.1400ae2d0
movzx eax, al
test eax, eax
jne 0x1400fc23e
call fcn.1400f95b0
cmp eax, 2
jle 0x1400fc16e
jmp 0x1400fc206
lea rcx, [rsp + 0x3a]
call fcn.140004910
mov qword [rsp + 0x1b8], rax
mov dword [rsp + 0x20], 2
mov r9d, 0x233
lea r8, [0x14019a4f0]
lea rdx, str.void___cdecl_crashpad::_anonymous_namespace::Metadata::Write_void_
lea rcx, [rsp + 0x6f8]
call fcn.1400b5f40
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov eax, dword [rsp + 0x30]
or eax, 0x40
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0x1a8]
call fcn.140004910
lea rdx, str.failed_to_write_string_table
mov rcx, rax
call fcn.140003dd0
mov qword [rsp + 0x1b0], rax
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1b8]
call fcn.140004830
nop
mov eax, dword [rsp + 0x30]
and eax, 0x40
test eax, eax
je 0x1400fc224
and dword [rsp + 0x30], 0xffffffbf
lea rcx, [rsp + 0x6f8]
call fcn.1400b60e0
nop
lea rcx, [rsp + 0x68]
call fcn.1400fd3d0
nop
lea rcx, [rsp + 0x808]
call fcn.140009160
jmp 0x1400fc256
lea rcx, [rsp + 0x68]
call fcn.1400fd3d0
nop
lea rcx, [rsp + 0x808]
call fcn.140009160
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.1400cb890
add rsp, 0x8b8
pop rdi
pop rsi
ret