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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov eax, dword [0x1d18014]
xor eax, ebp
mov dword [esp + 0x128], eax
mov edi, dword [ecx]
mov dword [ecx], 0
test edi, edi
je 0x1c5f2ff
cmp byte [edi + 0x24], 0
jne 0x1c5f315
xor eax, eax
lea ecx, [esp + 0x40]
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movaps xmmword [ecx], xmm0
xor edx, edx
dec edx
push ecx
push edx
push edx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
je 0x1c5f37c
mov ebx, dword [edi + 0x28]
test ebx, ebx
jne 0x1c5f3d1
lea ecx, [edi + 0x18]
call fcn.01c80bc0
lea ecx, [edi + 0xc]
call fcn.01c80bc0
mov dword [edi], 0x1d045d0
cmp byte [edi + 8], 0
jne 0x1c5f415
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x1c5f2f6
push eax
call fcn.01c62c50
add esp, 4
push edi
call fcn.01c9ba37
add esp, 4
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.01c9ca53
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push eax
push dword [edi + 4]
call fcn.01c677b0
add esp, 0x10
or edx, eax
je 0x1c5f418
push 2
call fcn.01c83cc0
add esp, 4
test al, al
je 0x1c5f293
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x203
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c61580
lea eax, [esp + 0x88]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.01cc91b0
add esp, 0xc
mov ecx, esi
call fcn.01c619c0
jmp 0x1c5f293
push 2
call fcn.01c83cc0
add esp, 4
test al, al
je 0x1c5f2ba
call fcn.01ce3050
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push 2
push 0x13b
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01ce3180
lea eax, [esp + 0x88]
push 0xc
push 0x1d0ce5a
push eax
call fcn.01cc91b0
add esp, 0xc
mov ecx, esi
call fcn.01ce31e0
jmp 0x1c5f2ba
mov esi, dword [edi + 0x2c]
mov eax, ebx
cmp esi, ebx
je 0x1c5f404
add esi, 0xffffffb8
cmp byte [esi + 0x17], 0
jns 0x1c5f3ee
push dword [esi + 0xc]
call fcn.01c9ba37
add esp, 4
mov ecx, esi
call fcn.01c80bc0
lea eax, [esi - 0x58]
add esi, 0xfffffff0
cmp esi, ebx
mov esi, eax
jne 0x1c5f3dd
mov eax, dword [edi + 0x28]
mov dword [edi + 0x2c], ebx
push eax
call fcn.01c9ba37
add esp, 4
jmp 0x1c5f2c5
int3
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1c5f762
mov ebx, dword [edi + 0x28]
mov esi, dword [edi + 0x2c]
mov eax, esi
sub eax, ebx
sar eax, 3
imul ecx, eax, 0xba2e8ba3
lea eax, [esp + 0x40]
mov dword [eax + 0xc], 0
mov dword [eax], 0x43504144
mov dword [eax + 4], 1
mov dword [esp + 8], ecx
mov dword [eax + 8], ecx
push 0x10
push eax
push dword [edi + 4]
call fcn.01c67ba0
add esp, 0xc
test al, al
je 0x1c5f7b7
cmp esi, ebx
je 0x1c5f293
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
cmp dword [esp + 8], 0x4924925
jae 0x1c5f9d2
imul eax, dword [esp + 8], 0x38
mov dword [esp + 0xc], eax
push eax
call fcn.01c9ba07
add esp, 4
mov dword [esp], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0x3c], ecx
cmp eax, ecx
je 0x1c5f9d7
mov ecx, dword [esp]
add dword [esp + 0xc], ecx
lea eax, [edi + 0xc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x18], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 8]
lea esi, [eax + 0x10]
mov ecx, esi
lea ebx, [esp + 0x80]
push ebx
call fcn.01c80be0
mov ecx, ebx
push dword [esp + 0x14]
call fcn.01c5b800
mov ebx, eax
lea ecx, [esp + 0x80]
call fcn.01c80bc0
test bl, bl
jne 0x1c5f7f6
mov eax, dword [esp + 8]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x80], xmm0
mov ecx, esi
lea eax, [esp + 0x68]
push eax
call fcn.01c80d40
movzx eax, byte [esp + 0x73]
test al, al
jns 0x1c5f53f
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
jmp 0x1c5f546
and eax, 0x7f
lea ecx, [esp + 0x68]
push eax
push ecx
lea esi, [esp + 0x7c]
push esi
call fcn.01c7c370
add esp, 0xc
lea ecx, [esp + 0x58]
mov edx, esi
call fcn.01ce2920
mov dword [esp + 0x10], eax
cmp byte [esp + 0x7f], 0
jns 0x1c5f577
push dword [esp + 0x74]
call fcn.01c9ba37
add esp, 4
lea ecx, [esp + 0x68]
call fcn.01c80bc0
mov esi, dword [esp + 8]
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x58]
call fcn.01ce2920
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x34], eax
mov bl, byte [esi + 0x44]
add bl, bl
or bl, byte [esi + 0x30]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xc]
cmp dword [esp], eax
jae 0x1c5f625
movaps xmm0, xmmword [esp + 0x80]
mov eax, dword [esp]
movups xmmword [eax], xmm0
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x2c], ecx
mov byte [eax + 0x30], bl
xor ecx, ecx
mov dword [eax + 0x31], ecx
mov dword [eax + 0x34], ecx
jmp 0x1c5f737
mov eax, dword [esp]
sub eax, dword [esp + 4]
mov dword [esp], eax
sar eax, 3
imul eax, eax, 0xb6db6db7
mov dword [esp + 0x38], eax
lea esi, [eax + 1]
cmp esi, 0x4924925
jae 0x1c5f9d2
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 4]
sar eax, 3
imul eax, eax, 0xb6db6db7
lea ecx, [eax + eax]
cmp ecx, esi
cmova esi, ecx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae esi, eax
test esi, esi
je 0x1c5f755
cmp esi, 0x4924925
jae 0x1c5f9f5
imul eax, esi, 0x38
push eax
call fcn.01c9ba07
add esp, 4
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x38], 0x38
movaps xmm0, xmmword [esp + 0x80]
mov edx, dword [esp + 0xc]
movups xmmword [edx + eax], xmm0
mov ecx, dword [esp + 0x10]
mov dword [edx + eax + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + eax + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + eax + 0x1c], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + eax + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + eax + 0x24], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + eax + 0x20], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + eax + 0x28], ecx
mov ecx, dword [esp + 0x24]
mov dword [edx + eax + 0x2c], ecx
mov byte [edx + eax + 0x30], bl
lea ebx, [edx + eax]
xor ecx, ecx
mov dword [edx + eax + 0x31], ecx
mov dword [edx + eax + 0x34], ecx
mov dword [esp + 0x10], ebx
mov eax, dword [esp]
sub ebx, eax
push eax
push dword [esp + 8]
push ebx
call fcn.01c9ed50
add esp, 0xc
imul esi, esi, 0x38
cmp dword [esp + 4], 0
je 0x1c5f728
push dword [esp + 4]
call fcn.01c9ba37
add esp, 4
add dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x10]
mov dword [esp], eax
add dword [esp], 0x38
mov eax, dword [esp + 8]
add eax, 0x58
mov dword [esp + 8], eax
cmp eax, dword [esp + 0x3c]
jne 0x1c5f4da
jmp 0x1c5f837
mov dword [esp + 0xc], 0
jmp 0x1c5f695
push 2
call fcn.01c83cc0
add esp, 4
test al, al
je 0x1c5f293
call fcn.01ce3050
lea esi, [esp + 0x80]
mov ecx, esi
push eax
push 2
push 0x20a
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01ce3180
lea eax, [esp + 0x88]
push 0x12
push str.failed_to_truncate
push eax
call fcn.01cc91b0
add esp, 0xc
mov ecx, esi
call fcn.01ce31e0
jmp 0x1c5f293
push 2
call fcn.01c83cc0
add esp, 4
test al, al
je 0x1c5f293
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x216
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c61580
lea eax, [esp + 0x88]
push 0x16
push str.failed_to_write_header
jmp 0x1c5f367
push 2
call fcn.01c83cc0
add esp, 4
test al, al
jne 0x1c5f8cf
cmp dword [esp + 4], 0
je 0x1c5f81b
push dword [esp + 4]
call fcn.01c9ba37
add esp, 4
cmp byte [esp + 0x63], 0
jns 0x1c5f293
push dword [esp + 0x58]
call fcn.01c9ba37
add esp, 4
jmp 0x1c5f293
mov eax, dword [esp]
sub eax, dword [esp + 4]
mov dword [esp], eax
je 0x1c5f9d7
push dword [esp]
push dword [esp + 8]
push dword [edi + 4]
call fcn.01c67ba0
add esp, 0xc
test al, al
je 0x1c5f92a
movzx eax, byte [esp + 0x63]
mov ecx, eax
and ecx, 0x7f
test al, al
cmovs ecx, dword [esp + 0x5c]
lea eax, [esp + 0x58]
cmovs eax, dword [esp + 0x58]
push ecx
push eax
push dword [edi + 4]
call fcn.01c67ba0
add esp, 0xc
test al, al
jne 0x1c5f808
push 2
call fcn.01c83cc0
add esp, 4
test al, al
je 0x1c5f808
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x233
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c61580
lea eax, [esp + 0x88]
push 0x1c
push str.failed_to_write_string_table
jmp 0x1c5f964
lea ecx, [esp + 0x80]
push 2
push 0x224
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c61580
lea eax, [esp + 0x88]
mov ecx, dword [esp + 8]
cmp byte [ecx + 0x1b], 0
jns 0x1c5f8fa
mov esi, dword [esi]
push esi
push eax
call fcn.01ce3280
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.01cc91b0
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0x17]
test al, al
jns 0x1c5f971
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x10]
jmp 0x1c5f974
push 2
call fcn.01c83cc0
add esp, 4
test al, al
je 0x1c5f808
lea esi, [esp + 0x80]
mov ecx, esi
push 2
push 0x22e
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c61580
lea eax, [esp + 0x88]
push 0x17
push str.failed_to_write_records
push eax
call fcn.01cc91b0
add esp, 0xc
mov ecx, esi
jmp 0x1c5f9c8
and eax, 0x7f
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x7c]
push eax
call fcn.01c7c370
add esp, 0xc
movzx eax, byte [esp + 0x7f]
test al, al
jns 0x1c5f99d
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], ecx
jmp 0x1c5f9a0
and eax, 0x7f
push eax
push dword [esp + 0x1c]
push esi
call fcn.01cc91b0
add esp, 0xc
cmp byte [esp + 0x7f], 0
jns 0x1c5f9c1
push dword [esp + 0x74]
call fcn.01c9ba37
add esp, 4
lea ecx, [esp + 0x80]
call fcn.01c619c0
jmp 0x1c5f808
call fcn.01cb0360
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x587
push str....._buildtools_third_partylibc_trunkinclude_vector
push str._s:_d:_assertion__s_failed:__s
call fcn.01ccb1e0
call fcn.01cc8620
int3