Function at 0x1c5f4bc
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 [0x1cda44c]
xor eax, ebp
mov dword [esp + 0x138], eax
mov esi, dword [ecx]
mov dword [ecx], 0
test esi, esi
je 0x1c5fbb3
cmp byte [esi + 0x18], 0
je 0x1c5fb24
xor eax, eax
push eax
push eax
push eax
push dword [esi + 4]
call fcn.01c70bc8
add esp, 0x10
or edx, eax
je 0x1c5f556
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5fb24
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.01c5b730
lea eax, [esp + 0x88]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.01c23734
add esp, 0xc
mov ecx, edi
call fcn.01c5bb00
jmp 0x1c5fb24
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1c5f8c4
mov edi, dword [esi + 0x20]
sub edi, dword [esi + 0x1c]
mov eax, edi
sar eax, 3
mov ecx, esi
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
mov dword [esp + 0x14], ecx
push dword [ecx + 4]
call fcn.01c70f55
add esp, 0xc
test al, al
je 0x1c5f919
test edi, edi
je 0x1c5fb20
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 0x1c5fbd2
imul esi, esi, 0x38
push esi
call fcn.01c92a8c
add esp, 4
add esi, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], esi
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x1c]
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x3c], ecx
cmp ebx, ecx
je 0x1c5f968
lea eax, [edx + 0xc]
mov dword [esp + 0x14], eax
lea edi, [ebx + 0x10]
mov ecx, edi
lea esi, [esp + 0x80]
push esi
call fcn.01c59b60
mov ecx, esi
push dword [esp + 0x14]
call fcn.01c59540
mov byte [esp + 4], al
mov ecx, esi
call fcn.01c59350
cmp byte [esp + 4], 0
jne 0x1c5fa2d
movups xmm0, xmmword [ebx]
movaps xmmword [esp + 0x80], xmm0
mov ecx, edi
lea esi, [esp + 0x74]
push esi
call fcn.01c59d50
movzx eax, byte [esp + 0x7f]
mov ecx, esi
test al, al
jns 0x1c5f671
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
push eax
push ecx
lea edi, [esp + 0x134]
push edi
call fcn.01c44f40
add esp, 0xc
lea esi, [esp + 0x68]
mov ecx, esi
mov edx, edi
call fcn.01c61240
mov dword [esp + 4], eax
cmp byte [esp + 0x137], 0
jns 0x1c5f6ad
push dword [esp + 0x12c]
call fcn.01c92abc
add esp, 4
lea ecx, [esp + 0x74]
call fcn.01c59350
lea edx, [ebx + 0x1c]
mov ecx, esi
call fcn.01c61240
mov dword [esp + 0x24], eax
mov esi, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x10], eax
mov cl, byte [ebx + 0x44]
add cl, cl
or cl, byte [ebx + 0x30]
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x12f], eax
mov dword [esp + 0x12c], eax
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
cmp edi, eax
jae 0x1c5f768
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [edi], xmm0
mov eax, dword [esp + 4]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], esi
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], edx
mov eax, dword [esp + 0x10]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x2c], eax
mov byte [edi + 0x30], cl
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x12f]
mov dword [edi + 0x31], eax
mov dword [edi + 0x34], ecx
add edi, 0x38
mov dword [esp + 0x60], edi
jmp 0x1c5f8aa
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], esi
mov byte [esp + 0xb], cl
mov edx, dword [esp + 0x5c]
sub edi, edx
mov ecx, edi
sar ecx, 3
imul ecx, ecx, 0xb6db6db7
mov dword [esp + 0x30], ecx
inc ecx
cmp ecx, 0x4924925
jae 0x1c5fbc9
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
lea esi, [eax + eax]
cmp esi, ecx
cmovb esi, ecx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae esi, eax
test esi, esi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
je 0x1c5f7e4
mov eax, esi
cmp esi, 0x4924925
jae 0x1c5fbd2
mov esi, edx
imul eax, eax, 0x38
push eax
call fcn.01c92a8c
add esp, 4
mov ebx, eax
mov edx, esi
jmp 0x1c5f7e6
xor ebx, ebx
imul esi, dword [esp + 0x30], 0x38
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [ebx + esi], xmm0
mov eax, dword [esp + 4]
mov dword [ebx + esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + esi + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + esi + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + esi + 0x18], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + esi + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + esi + 0x20], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + esi + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + esi + 0x2c], eax
mov al, byte [esp + 0xb]
mov byte [ebx + esi + 0x30], al
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x12f]
mov dword [ebx + esi + 0x31], eax
mov dword [ebx + esi + 0x34], ecx
lea eax, [ebx + esi]
imul ecx, dword [esp + 0x28], 0x38
add ecx, ebx
sub eax, edi
mov dword [esp + 4], eax
test edi, edi
jle 0x1c5f883
push edi
push edx
push dword [esp + 0xc]
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.01c96500
mov ecx, edi
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [ebx + esi]
add eax, 0x38
mov esi, dword [esp + 4]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
test edx, edx
mov ebx, dword [esp + 0x2c]
je 0x1c5f8aa
push edx
call fcn.01c92abc
add esp, 4
add ebx, 0x58
cmp dword [esp + 0x3c], ebx
jne 0x1c5f614
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
jmp 0x1c5f96a
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5fb24
call fcn.01c5bf90
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.01c5c130
lea eax, [esp + 0x88]
push 0x12
push str.failed_to_truncate
push eax
call fcn.01c23734
add esp, 0xc
mov ecx, edi
call fcn.01c5c1e0
jmp 0x1c5fb24
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5fb20
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.01c5b730
lea eax, [esp + 0x88]
push 0x16
push str.failed_to_write_header
push eax
call fcn.01c23734
add esp, 0xc
mov ecx, edi
call fcn.01c5bb00
jmp 0x1c5fb20
mov ecx, eax
sub ecx, eax
push ecx
push eax
mov esi, dword [esp + 0x14]
push dword [esi + 4]
call fcn.01c70f55
add esp, 0xc
test al, al
je 0x1c5f9e3
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 [esi + 4]
call fcn.01c70f55
add esp, 0xc
test al, al
jne 0x1c5faf8
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5faf8
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.01c5b730
lea eax, [esp + 0x88]
push 0x1c
push str.failed_to_write_string_table
jmp 0x1c5fa1d
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5faf8
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.01c5b730
lea eax, [esp + 0x88]
push 0x17
push str.failed_to_write_records
push eax
call fcn.01c23734
add esp, 0xc
mov ecx, edi
jmp 0x1c5faf3
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5faf8
lea ecx, [esp + 0x80]
push 2
push 0x21c
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.01c5b730
lea eax, [esp + 0x88]
cmp byte [ebx + 0x1b], 0
jns 0x1c5fa67
mov edi, dword [ebx + 0x10]
push edi
push eax
call fcn.01c5c280
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.01c23734
add esp, 0xc
mov edi, eax
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + 0x17]
test al, al
jns 0x1c5fa99
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x10]
push eax
push dword [esp + 0x18]
lea esi, [esp + 0x134]
push esi
call fcn.01c44f40
add esp, 0xc
movzx eax, byte [esp + 0x137]
test al, al
jns 0x1c5fac8
mov eax, dword [esp + 0x130]
mov esi, dword [esp + 0x12c]
push eax
push esi
push edi
call fcn.01c23734
add esp, 0xc
cmp byte [esp + 0x137], 0
jns 0x1c5faec
push dword [esp + 0x12c]
call fcn.01c92abc
add esp, 4
lea ecx, [esp + 0x80]
call fcn.01c5bb00
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x1c5fb0d
mov dword [esp + 0x60], eax
push eax
call fcn.01c92abc
add esp, 4
cmp byte [esp + 0x73], 0
jns 0x1c5fb20
push dword [esp + 0x68]
call fcn.01c92abc
add esp, 4
mov esi, dword [esp + 0xc]
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 [esi + 4]
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
jne 0x1c5fb93
push 2
call fcn.01c5b690
add esp, 4
test al, al
je 0x1c5fb93
call fcn.01c5bf90
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.01c5c130
lea eax, [esp + 0x88]
push 0xc
push 0x1cc45c8
push eax
call fcn.01c23734
add esp, 0xc
mov ecx, edi
call fcn.01c5c1e0
lea ecx, [esi + 0x1c]
call fcn.01c61206
lea ecx, [esi + 0xc]
call fcn.01c59350
mov ecx, esi
call fcn.01c49d58
push esi
call fcn.01c92abc
add esp, 4
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.01c92b01
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x5c]
call fcn.01c4086c
call fcn.01ca55d7
int3