Function at 0x4e0c70
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff904
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x53602c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x64], edi
push 0
push 0
mov dword [ebp - 0x48], 0
push 0
push dword [edi]
call fcn.004510e0
add esp, 0x10
or eax, edx
jne 0x4e127e
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4e0d1b
call sub.KERNEL32.dll_GetLastError
push eax
push 2
push 0x209
push str.E:.conan709e391_sourcesexternalcrashpadclientcrash_report_database_win.cc
push str.void___thiscall_crashpad::_anonymous_namespace::Metadata::Write_void_
lea ecx, [ebp - 0x190]
call fcn.00452ce0
push str.failed_to_truncate
push eax
mov dword [ebp - 4], 4
mov dword [ebp - 0x48], 2
call fcn.004012f0
add esp, 8
lea ecx, [ebp - 0x190]
call fcn.00452fa0
jmp 0x4e12c1
mov ecx, dword [edi + 0x3c]
mov eax, 0x92492493
sub ecx, dword [edi + 0x38]
imul ecx
push 0x10
add edx, ecx
mov dword [ebp - 0x38], 0
sar edx, 6
lea eax, [ebp - 0x44]
mov esi, edx
mov dword [ebp - 0x44], 0x43504144
push eax
push dword [edi]
shr esi, 0x1f
add esi, edx
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], esi
call fcn.0044e760
add esp, 0xc
test al, al
jne 0x4e0d94
push 2
push 0x215
push str.E:.conan709e391_sourcesexternalcrashpadclientcrash_report_database_win.cc
push str.void___thiscall_crashpad::_anonymous_namespace::Metadata::Write_void_
lea ecx, [ebp - 0x188]
call fcn.00452b50
mov dword [ebp - 4], 5
mov dword [ebp - 0x48], 4
push str.failed_to_write_header
jmp 0x4e12ad
test esi, esi
je 0x4e12c1
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 6
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 7
cmp esi, 0x4924924
ja 0x4e12e1
push esi
lea ecx, [ebp - 0x1c]
call fcn.004e1420
push esi
push 0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004e12f0
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x68], ecx
cmp eax, ecx
je 0x4e1173
lea ecx, [edi + 4]
mov edi, dword [ebp - 0x18]
lea esi, [eax + 0x10]
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x48], eax
nop dword [eax + eax]
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00451d80
push dword [ebp - 0x5c]
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00451a20
lea ecx, [ebp - 0x80]
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 7
call fcn.00451970
cmp byte [ebp - 0x49], 0
jne 0x4e10c4
mov eax, dword [ebp - 0x50]
mov ecx, esi
movups xmm0, xmmword [eax]
lea eax, [ebp - 0xe0]
push eax
movups xmmword [ebp - 0xc8], xmm0
call fcn.00451cb0
sub esp, 8
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov edx, esp
mov ecx, eax
jb 0x4e0e90
mov ecx, dword [eax]
mov dword [edx], ecx
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
lea eax, [ebp - 0x80]
push eax
call fcn.00454040
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push eax
call fcn.004de6b0
mov ecx, dword [ebp - 0x6c]
add esp, 0x14
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 0xb
cmp ecx, 0x10
jb 0x4e0ef0
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e0ee3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e12dc
push ecx
push edx
call fcn.0047cee2
mov eax, dword [ebp - 0x54]
add esp, 8
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 7
call fcn.00451970
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004de6b0
mov ecx, dword [esi + 0x34]
add esp, 8
mov dword [ebp - 0x9c], ecx
mov ecx, dword [esi + 0x44]
mov dword [ebp - 0x94], ecx
mov cl, byte [esi + 0x4c]
mov dword [ebp - 0xa4], eax
neg cl
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xa0], eax
sbb cl, cl
mov eax, dword [esi + 0x40]
and cl, 2
cmp byte [esi + 0x38], 0
mov dword [ebp - 0x98], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x8c], eax
setne al
or cl, al
xor eax, eax
mov byte [ebp - 0x88], cl
mov dword [ebp - 0x87], eax
mov word [ebp - 0x83], ax
mov byte [ebp - 0x81], al
cmp edi, dword [ebp - 0x48]
je 0x4e0fce
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [edi], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [edi + 0x20], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [edi + 0x30], xmm0
add edi, 0x38
mov dword [ebp - 0x18], edi
jmp 0x4e10a7
mov ecx, dword [ebp - 0x1c]
mov eax, 0x92492493
sub edi, ecx
imul edi
add edx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x54], eax
cmp eax, 0x4924924
je 0x4e12e1
mov edx, dword [ebp - 0x48]
lea esi, [eax + 1]
sub edx, ecx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x48], edx
mov eax, 0x92492493
imul edx
mov eax, 0x4924924
add edx, dword [ebp - 0x48]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x4e102c
mov eax, 0x4924924
jmp 0x4e1034
lea eax, [edx + ecx]
cmp eax, esi
cmovb eax, esi
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x48], eax
call fcn.004e1420
movups xmm0, xmmword [ebp - 0xc8]
mov esi, eax
mov eax, dword [ebp - 0x54]
push edi
push dword [ebp - 0x1c]
lea ecx, [eax*8]
sub ecx, eax
push esi
movups xmmword [esi + ecx*8], xmm0
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [esi + ecx*8 + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [esi + ecx*8 + 0x20], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [esi + ecx*8 + 0x30], xmm0
call fcn.0047f5d0
add esp, 0xc
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x48]
push dword [ebp - 0x60]
push esi
call fcn.004e12f0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x50]
add esi, 0x70
add eax, 0x70
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x50], eax
cmp eax, dword [ebp - 0x68]
jne 0x4e0e30
jmp 0x4e1176
mov edx, dword [ebp - 0x5c]
sub esp, 8
mov ecx, esp
mov eax, edx
cmp dword [edx + 0x14], 8
jb 0x4e10d6
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 0x10]
mov dword [ecx + 4], eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00454040
add esp, 0xc
mov edi, eax
push 2
push 0x223
push str.E:.conan709e391_sourcesexternalcrashpadclientcrash_report_database_win.cc
push str.void___thiscall_crashpad::_anonymous_namespace::Metadata::Write_void_
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 9
mov dword [ebp - 0x48], 8
call fcn.00452b50
cmp dword [esi + 0x14], 8
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x48], 0x18
jb 0x4e112c
mov esi, dword [esi]
push str._expected_to_start_with
push esi
mov ecx, eax
call fcn.00403ec0
push eax
call fcn.004012f0
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 0x10
jb 0x4e114d
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.00402280
add esp, 0xc
lea ecx, [ebp - 0x188]
call fcn.00452d70
lea ecx, [ebp - 0xe0]
call fcn.004035e0
jmp 0x4e1244
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov eax, 0x92492493
sub edi, esi
imul edi
add edx, edi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx*8]
sub eax, ecx
shl eax, 3
push eax
push esi
mov esi, dword [ebp - 0x64]
push dword [esi]
call fcn.0044e760
add esp, 0xc
test al, al
jne 0x4e11e7
push 2
push 0x22d
push str.E:.conan709e391_sourcesexternalcrashpadclientcrash_report_database_win.cc
push str.void___thiscall_crashpad::_anonymous_namespace::Metadata::Write_void_
lea ecx, [ebp - 0x188]
call fcn.00452b50
push str.failed_to_write_records
push eax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x48], 0x20
call fcn.004012f0
lea ecx, [ebp - 0x188]
jmp 0x4e123c
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmovae eax, dword [ebp - 0x34]
push eax
push dword [esi]
call fcn.0044e760
add esp, 0xc
test al, al
jne 0x4e1244
push 2
push 0x232
push str.E:.conan709e391_sourcesexternalcrashpadclientcrash_report_database_win.cc
push str.void___thiscall_crashpad::_anonymous_namespace::Metadata::Write_void_
lea ecx, [ebp - 0x238]
call fcn.00452b50
push str.failed_to_write_string_table
push eax
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x48], 0x40
call fcn.004012f0
lea ecx, [ebp - 0x238]
add esp, 8
call fcn.00452d70
lea ecx, [ebp - 0x1c]
call fcn.004e1380
mov ecx, dword [ebp - 0x20]
cmp ecx, 0x10
jb 0x4e12c1
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e1272
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e12dc
push ecx
push edx
call fcn.0047cee2
add esp, 8
jmp 0x4e12c1
push 2
push 0x202
push str.E:.conan709e391_sourcesexternalcrashpadclientcrash_report_database_win.cc
push str.void___thiscall_crashpad::_anonymous_namespace::Metadata::Write_void_
lea ecx, [ebp - 0x188]
call fcn.00452b50
mov dword [ebp - 4], 3
mov dword [ebp - 0x48], 1
push str.failed_to_rewind_to_write
push eax
call fcn.004012f0
add esp, 8
lea ecx, [ebp - 0x188]
call fcn.00452d70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d116
mov esp, ebp
pop ebp
ret
call fcn.0048c040
call fcn.004e13f0
int3