Function at 0x1c543b0
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 [0x1d08010]
xor eax, ebp
mov dword [esp + 0x138], eax
mov edi, dword [ecx]
mov dword [ecx], 0
test edi, edi
je 0x1c5444f
cmp byte [edi + 0x24], 0
jne 0x1c54465
xor eax, eax
lea ecx, [esp + 0x50]
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 0x1c544cc
mov ebx, dword [edi + 0x28]
test ebx, ebx
jne 0x1c54521
lea ecx, [edi + 0x18]
call fcn.01c77450
lea ecx, [edi + 0xc]
call fcn.01c77450
mov dword [edi], 0x1cf44d8
cmp byte [edi + 8], 0
jne 0x1c5454c
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x1c54446
push eax
call fcn.01c56d50
add esp, 4
push edi
call fcn.01c928e1
add esp, 4
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.01c938a3
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.01c5d130
add esp, 0x10
or edx, eax
je 0x1c5454f
push 2
call fcn.01c7df70
add esp, 4
test al, al
je 0x1c543e3
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x203
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c558d0
lea eax, [esp + 0x98]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.01cbe4b0
add esp, 0xc
mov ecx, esi
call fcn.01c55ce0
jmp 0x1c543e3
push 2
call fcn.01c7df70
add esp, 4
test al, al
je 0x1c5440a
call fcn.01cdb0c0
lea esi, [esp + 0x90]
mov ecx, esi
push eax
push 2
push 0x13b
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01cdb1f0
lea eax, [esp + 0x98]
push 0xc
push 0x1cfc99a
push eax
call fcn.01cbe4b0
add esp, 0xc
mov ecx, esi
call fcn.01cdb250
jmp 0x1c5440a
mov esi, dword [edi + 0x2c]
mov eax, ebx
cmp esi, ebx
je 0x1c5453b
add esi, 0xffffffa8
mov ecx, esi
call fcn.01cdaba0
cmp esi, ebx
jne 0x1c5452a
mov eax, dword [edi + 0x28]
mov dword [edi + 0x2c], ebx
push eax
call fcn.01c928e1
add esp, 4
jmp 0x1c54415
int3
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x1c548ca
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 + 0x50]
mov dword [eax + 0xc], 0
mov dword [eax], 0x43504144
mov dword [eax + 4], 1
mov dword [esp + 0xc], ecx
mov dword [eax + 8], ecx
push 0x10
push eax
push dword [edi + 4]
call fcn.01c5d540
add esp, 0xc
test al, al
je 0x1c5491f
cmp esi, ebx
je 0x1c543e3
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
cmp dword [esp + 0xc], 0x4924925
jae 0x1c54b57
imul eax, dword [esp + 0xc], 0x38
mov dword [esp + 0x18], eax
push eax
call fcn.01c928b1
add esp, 4
mov esi, eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x4c], ecx
cmp eax, ecx
je 0x1c54b5c
add dword [esp + 0x18], esi
lea eax, [edi + 0xc]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x1c]
lea ecx, [eax + 0x10]
mov dword [esp + 0x14], ecx
lea ebx, [esp + 0x90]
push ebx
call fcn.01c77470
mov ecx, ebx
push dword [esp + 0x24]
call fcn.01c4ad20
mov ebx, eax
lea ecx, [esp + 0x90]
call fcn.01c77450
test bl, bl
jne 0x1c5495e
mov eax, dword [esp + 0x1c]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x90], xmm0
mov ecx, dword [esp + 0x14]
lea ebx, [esp + 0x78]
push ebx
call fcn.01c77930
movzx eax, byte [esp + 0x83]
mov ecx, ebx
test al, al
jns 0x1c5467c
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
push eax
push ecx
lea ebx, [esp + 0x8c]
push ebx
call fcn.01c72a10
add esp, 0xc
lea ecx, [esp + 0x68]
mov edx, ebx
call fcn.01cdacb0
mov dword [esp + 0x14], eax
cmp byte [esp + 0x8f], 0
jns 0x1c546b6
push dword [esp + 0x84]
call fcn.01c928e1
add esp, 4
lea ecx, [esp + 0x78]
call fcn.01c77450
mov ebx, dword [esp + 0x1c]
lea edx, [ebx + 0x1c]
lea ecx, [esp + 0x68]
call fcn.01cdacb0
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x48], eax
mov al, byte [ebx + 0x44]
add al, al
or al, byte [ebx + 0x30]
mov byte [esp + 0x13], al
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x50]
mov dword [esp + 0x38], eax
cmp esi, dword [esp + 0x18]
jae 0x1c5476e
test esi, esi
je 0x1c54b3c
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [esi], xmm0
mov eax, dword [esp + 0x14]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x2c], eax
mov al, byte [esp + 0x13]
mov byte [esi + 0x30], al
xor eax, eax
mov dword [esi + 0x31], eax
mov dword [esi + 0x34], eax
jmp 0x1c548a0
mov eax, esi
sub eax, dword [esp + 0xc]
sar eax, 3
imul ebx, eax, 0xb6db6db7
lea eax, [ebx + 1]
cmp eax, 0x4924925
jae 0x1c54b57
mov edx, eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0xc]
sar eax, 3
imul eax, eax, 0xb6db6db7
lea ecx, [eax + eax]
cmp ecx, edx
cmova edx, ecx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae edx, eax
mov dword [esp + 0x20], edx
test edx, edx
je 0x1c548bd
cmp dword [esp + 0x20], 0x4924925
jae 0x1c54b72
imul eax, dword [esp + 0x20], 0x38
push eax
call fcn.01c928b1
add esp, 4
mov dword [esp + 0x18], eax
imul eax, ebx, 0x38
add eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
je 0x1c54b3c
movaps xmm0, xmmword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
movups xmmword [ebx], xmm0
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x2c], eax
mov al, byte [esp + 0x13]
mov byte [ebx + 0x30], al
xor eax, eax
mov dword [ebx + 0x31], eax
mov dword [ebx + 0x34], eax
cmp esi, dword [esp + 0xc]
je 0x1c5487c
movsd xmm0, qword [esi - 8]
movsd qword [ebx - 8], xmm0
movups xmm0, xmmword [esi - 0x18]
movups xmmword [ebx - 0x18], xmm0
movups xmm0, xmmword [esi - 0x38]
movups xmm1, xmmword [esi - 0x28]
lea eax, [esi - 0x38]
movups xmmword [ebx - 0x28], xmm1
movups xmmword [ebx - 0x38], xmm0
add ebx, 0xffffffc8
mov esi, eax
cmp eax, dword [esp + 0xc]
jne 0x1c5484c
imul esi, dword [esp + 0x20], 0x38
cmp dword [esp + 0xc], 0
je 0x1c54894
push dword [esp + 0xc]
call fcn.01c928e1
add esp, 4
add dword [esp + 0x18], esi
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x2c]
add esi, 0x38
mov eax, dword [esp + 0x1c]
add eax, 0x58
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x4c]
jne 0x1c54610
jmp 0x1c5499f
mov dword [esp + 0x18], 0
jmp 0x1c547df
push 2
call fcn.01c7df70
add esp, 4
test al, al
je 0x1c543e3
call fcn.01cdb0c0
lea esi, [esp + 0x90]
mov ecx, esi
push eax
push 2
push 0x20a
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01cdb1f0
lea eax, [esp + 0x98]
push 0x12
push str.failed_to_truncate
push eax
call fcn.01cbe4b0
add esp, 0xc
mov ecx, esi
call fcn.01cdb250
jmp 0x1c543e3
push 2
call fcn.01c7df70
add esp, 4
test al, al
je 0x1c543e3
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x216
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c558d0
lea eax, [esp + 0x98]
push 0x16
push str.failed_to_write_header
jmp 0x1c544b7
push 2
call fcn.01c7df70
add esp, 4
test al, al
jne 0x1c54a26
cmp dword [esp + 0xc], 0
je 0x1c54983
push dword [esp + 0xc]
call fcn.01c928e1
add esp, 4
cmp byte [esp + 0x73], 0
jns 0x1c543e3
push dword [esp + 0x68]
call fcn.01c928e1
add esp, 4
jmp 0x1c543e3
sub esi, dword [esp + 0xc]
je 0x1c54b5c
push esi
push dword [esp + 0x10]
push dword [edi + 4]
call fcn.01c5d540
add esp, 0xc
test al, al
je 0x1c54af5
movzx eax, byte [esp + 0x73]
test al, al
cmovs eax, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
cmovs ecx, dword [esp + 0x68]
push eax
push ecx
push dword [edi + 4]
call fcn.01c5d540
add esp, 0xc
test al, al
jne 0x1c54970
push 2
call fcn.01c7df70
add esp, 4
test al, al
je 0x1c54970
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x233
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c558d0
lea eax, [esp + 0x98]
push 0x1c
push str.failed_to_write_string_table
jmp 0x1c54b2f
lea ecx, [esp + 0x90]
push 2
push 0x224
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c558d0
lea eax, [esp + 0x98]
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x1b], 0
jns 0x1c54a59
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
push dword [esp + 0x14]
push eax
call fcn.01cdb2f0
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.01cbe4b0
add esp, 0xc
mov esi, eax
movzx eax, byte [edi + 0x17]
test al, al
jns 0x1c54a8a
mov eax, dword [edi + 0xc]
mov dword [esp + 0x24], eax
mov eax, dword [edi + 0x10]
push eax
push dword [esp + 0x28]
lea eax, [esp + 0x8c]
push eax
call fcn.01c72a10
add esp, 0xc
movzx eax, byte [esp + 0x8f]
test al, al
jns 0x1c54abd
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x28], ecx
push eax
push dword [esp + 0x2c]
push esi
call fcn.01cbe4b0
add esp, 0xc
cmp byte [esp + 0x8f], 0
jns 0x1c54ae4
push dword [esp + 0x84]
call fcn.01c928e1
add esp, 4
lea ecx, [esp + 0x90]
call fcn.01c55ce0
jmp 0x1c54970
push 2
call fcn.01c7df70
add esp, 4
test al, al
je 0x1c54970
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x22e
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.01c558d0
lea eax, [esp + 0x98]
push 0x17
push str.failed_to_write_records
push eax
call fcn.01cbe4b0
add esp, 0xc
mov ecx, esi
jmp 0x1c54aeb
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x25
push str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s
call fcn.01cbea60
call fcn.01ca5f3a
push str.vector___index_out_of_bounds
push str.__n___size__
push 0x5b3
push str....._buildtools_third_partylibc_trunkinclude_vector
jmp 0x1c54b4d
call fcn.01cbda00
int3