Function at 0x1c57dfc
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, 0x140
mov eax, dword [0x1cd643c]
xor eax, ebp
mov dword [esp + 0x138], eax
mov ebx, dword [ecx]
mov dword [ecx], 0
test ebx, ebx
je 0x1c57f1c
cmp byte [ebx + 0x18], 0
je 0x1c57e8d
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 4]
call fcn.01c69178
add esp, 0x10
or edx, eax
je 0x1c57f32
push 2
call fcn.01c55c50
add esp, 4
test al, al
je 0x1c57e8d
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x1fb
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c55cf0
lea eax, [esp + 0x88]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.01c23784
add esp, 0xc
mov ecx, edi
call fcn.01c560d0
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 [ebx + 4]
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
jne 0x1c57efc
push 2
call fcn.01c55c50
add esp, 4
test al, al
je 0x1c57efc
call fcn.01c56670
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0x136
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c56810
lea eax, [esp + 0x88]
push 0xc
push 0x1cbf1f8
push eax
call fcn.01c23784
add esp, 0xc
mov ecx, edi
call fcn.01c568c0
lea ecx, [ebx + 0x1c]
call fcn.01c59b38
lea ecx, [ebx + 0xc]
call fcn.01c532d0
mov ecx, ebx
call fcn.01c49bb2
push ebx
call fcn.01c8fed0
add esp, 4
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.01c8ff11
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1c58286
mov edi, dword [ebx + 0x20]
sub edi, dword [ebx + 0x1c]
mov eax, edi
sar eax, 3
imul esi, eax, 0xba2e8ba3
lea eax, [esp + 0x40]
mov dword [eax + 0xc], 0
mov dword [eax], 0x43504144
mov dword [eax + 4], 1
mov dword [eax + 8], esi
push 0x10
push eax
push dword [ebx + 4]
call fcn.01c69505
add esp, 0xc
test al, al
je 0x1c582db
test edi, edi
je 0x1c57e8d
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
cmp esi, 0x4924925
jae 0x1c584e0
imul esi, esi, 0x38
push esi
call fcn.01c8fea0
add esp, 4
add esi, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
mov esi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x3c], ecx
cmp esi, ecx
je 0x1c5831a
mov dword [esp + 0x10], ebx
lea eax, [ebx + 0xc]
mov dword [esp + 0xc], eax
lea edi, [esi + 0x10]
mov ecx, edi
lea ebx, [esp + 0x80]
push ebx
call fcn.01c53b50
mov ecx, ebx
push dword [esp + 0xc]
call fcn.01c534c0
mov ebx, eax
lea ecx, [esp + 0x80]
call fcn.01c532d0
test bl, bl
jne 0x1c583db
movups xmm0, xmmword [esi]
movaps xmmword [esp + 0x80], xmm0
mov ecx, edi
lea edi, [esp + 0x74]
push edi
call fcn.01c53cb0
movzx eax, byte [esp + 0x7f]
mov ecx, edi
test al, al
jns 0x1c58047
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
push eax
push ecx
lea edi, [esp + 0x134]
push edi
call fcn.01c44c80
add esp, 0xc
lea ebx, [esp + 0x68]
mov ecx, ebx
mov edx, edi
call fcn.01c59b72
mov dword [esp + 0x2c], eax
cmp byte [esp + 0x137], 0
jns 0x1c58083
push dword [esp + 0x12c]
call fcn.01c8fed0
add esp, 4
lea ecx, [esp + 0x74]
call fcn.01c532d0
lea edx, [esi + 0x1c]
mov ecx, ebx
call fcn.01c59b72
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x28], eax
mov cl, byte [esi + 0x44]
add cl, cl
or cl, byte [esi + 0x30]
mov edx, dword [esi + 0x38]
mov edi, dword [esi + 0x40]
mov eax, dword [esi + 0x50]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x12f], eax
mov dword [esp + 0x12c], eax
mov ebx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
cmp ebx, eax
jae 0x1c5813e
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [ebx], xmm0
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], edx
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], edi
mov eax, dword [esp + 0x18]
mov dword [ebx + 0x2c], eax
mov byte [ebx + 0x30], cl
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x12f]
mov dword [ebx + 0x31], eax
mov dword [ebx + 0x34], ecx
add ebx, 0x38
mov dword [esp + 0x60], ebx
jmp 0x1c58268
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], edi
mov byte [esp + 7], cl
mov edx, dword [esp + 0x5c]
sub ebx, edx
mov ecx, ebx
sar ecx, 3
imul ecx, ecx, 0xb6db6db7
mov dword [esp + 8], ecx
inc ecx
cmp ecx, 0x4924925
jae 0x1c584d7
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
lea edi, [eax + eax]
cmp edi, ecx
cmovb edi, ecx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae edi, eax
test edi, edi
mov dword [esp + 0x14], edx
je 0x1c581b2
cmp edi, 0x4924925
jae 0x1c584e0
imul eax, edi, 0x38
push eax
call fcn.01c8fea0
add esp, 4
mov edx, dword [esp + 0x14]
jmp 0x1c581b4
xor eax, eax
imul ecx, dword [esp + 8], 0x38
imul edi, edi, 0x38
add edi, eax
mov dword [esp + 8], edi
lea edi, [eax + ecx]
mov dword [esp + 0x30], edi
lea edi, [eax + ecx]
add edi, 0x38
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [edi - 0x38], xmm0
mov eax, dword [esp + 0x2c]
mov dword [edi - 0x28], eax
mov eax, dword [esp + 0x20]
mov dword [edi - 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [edi - 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [edi - 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [edi - 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [edi - 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [edi - 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [edi - 0xc], eax
mov al, byte [esp + 7]
mov byte [edi - 8], al
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x12f]
mov dword [edi - 7], eax
mov eax, dword [esp + 0x30]
mov dword [edi - 4], ecx
sub eax, ebx
test ebx, ebx
jle 0x1c5824b
push ebx
push edx
push eax
mov ebx, eax
call fcn.01c93580
mov eax, ebx
mov edx, dword [esp + 0x20]
add esp, 0xc
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edi
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
test edx, edx
je 0x1c58268
push edx
call fcn.01c8fed0
add esp, 4
add esi, 0x58
cmp dword [esp + 0x3c], esi
jne 0x1c57fea
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x10]
jmp 0x1c5831c
push 2
call fcn.01c55c50
add esp, 4
test al, al
je 0x1c57e8d
call fcn.01c56670
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0x202
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c56810
lea eax, [esp + 0x88]
push 0x12
push str.failed_to_truncate
push eax
call fcn.01c23784
add esp, 0xc
mov ecx, edi
call fcn.01c568c0
jmp 0x1c57e8d
push 2
call fcn.01c55c50
add esp, 4
test al, al
je 0x1c57e8d
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x20e
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c55cf0
lea eax, [esp + 0x88]
push 0x16
push str.failed_to_write_header
jmp 0x1c57e7d
mov ecx, eax
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call fcn.01c69505
add esp, 0xc
test al, al
je 0x1c58391
lea ecx, [esp + 0x68]
movzx eax, byte [ecx + 0xb]
test al, al
cmovs eax, dword [ecx + 4]
cmovs ecx, dword [ecx]
push eax
push ecx
push dword [ebx + 4]
call fcn.01c69505
add esp, 0xc
test al, al
jne 0x1c584a6
push 2
call fcn.01c55c50
add esp, 4
test al, al
je 0x1c584a6
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x22b
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c55cf0
lea eax, [esp + 0x88]
push 0x1c
push str.failed_to_write_string_table
jmp 0x1c583cb
push 2
call fcn.01c55c50
add esp, 4
test al, al
je 0x1c584a6
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x226
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c55cf0
lea eax, [esp + 0x88]
push 0x17
push str.failed_to_write_records
push eax
call fcn.01c23784
add esp, 0xc
mov ecx, edi
jmp 0x1c584a1
push 2
call fcn.01c55c50
add esp, 4
test al, al
mov ebx, dword [esp + 0x10]
je 0x1c584a6
lea ecx, [esp + 0x80]
push 2
push 0x21c
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c55cf0
lea eax, [esp + 0x88]
cmp byte [esi + 0x1b], 0
jns 0x1c58419
mov edi, dword [esi + 0x10]
lea esi, [esp + 0x12c]
push edi
push eax
call fcn.01c56960
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.01c23784
add esp, 0xc
mov edi, eax
movzx eax, byte [ebx + 0x17]
test al, al
jns 0x1c5844e
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x10]
push eax
push dword [esp + 0x10]
push esi
call fcn.01c44c80
add esp, 0xc
movzx eax, byte [esp + 0x137]
test al, al
jns 0x1c58476
mov eax, dword [esp + 0x130]
mov esi, dword [esp + 0x12c]
push eax
push esi
push edi
call fcn.01c23784
add esp, 0xc
cmp byte [esp + 0x137], 0
jns 0x1c5849a
push dword [esp + 0x12c]
call fcn.01c8fed0
add esp, 4
lea ecx, [esp + 0x80]
call fcn.01c560d0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1c584bb
mov dword [esp + 0x60], eax
push eax
call fcn.01c8fed0
add esp, 4
cmp byte [esp + 0x73], 0
jns 0x1c57e8d
push dword [esp + 0x68]
call fcn.01c8fed0
add esp, 4
jmp 0x1c57e8d
lea ecx, [esp + 0x5c]
call fcn.01c4042c
call fcn.01ca281e
int3