Function at 0x100ffe98
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 [0x101b9014]
xor eax, ebp
mov dword [esp + 0x128], eax
mov ebx, dword [ecx]
mov dword [ecx], 0
test ebx, ebx
je 0x100fffc9
cmp byte [ebx + 0x24], 0
je 0x100fff24
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 4]
call fcn.1011efb5
add esp, 0x10
or edx, eax
je 0x100fffdf
cmp dword [0x101bee4c], 2
jg 0x100fff24
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x204
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.100661d0
lea eax, [esp + 0x88]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, edi
call fcn.10066600
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 0x100fff8f
cmp dword [0x101bee4c], 2
jg 0x100fff8f
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0x13c
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.10066f30
lea eax, [esp + 0x88]
push 0xc
push 0x101ad1e1
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, edi
call fcn.100670a0
lea ecx, [ebx + 0x28]
call fcn.10101f6a
cmp byte [ebx + 0x23], 0
jns 0x100fffa8
push dword [ebx + 0x18]
call fcn.10145bd4
add esp, 4
cmp byte [ebx + 0x17], 0
jns 0x100fffb9
push dword [ebx + 0xc]
call fcn.10145bd4
add esp, 4
mov ecx, ebx
call fcn.10101f32
push ebx
call fcn.10145bd4
add esp, 4
mov ecx, dword [esp + 0x128]
xor ecx, ebp
call fcn.101465a3
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 0x10100383
mov esi, dword [ebx + 0x28]
mov ecx, ebx
mov ebx, dword [ebx + 0x2c]
mov eax, ebx
sub eax, esi
sar eax, 3
imul edi, eax, 0xba2e8ba3
lea eax, [esp + 0x40]
mov dword [eax + 0xc], 0
mov dword [eax], 0x43504144
mov dword [eax + 4], 1
mov dword [eax + 8], edi
push 0x10
push eax
mov dword [esp + 0x1c], ecx
push dword [ecx + 4]
call fcn.1011f2a1
add esp, 0xc
test al, al
je 0x101003d4
cmp ebx, esi
mov ebx, dword [esp + 0x14]
je 0x100fff24
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], eax
cmp edi, 0x4924925
jae 0x10100543
mov ecx, edi
call fcn.10101fa2
mov ecx, eax
mov esi, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x3c], eax
cmp esi, eax
je 0x1010054e
imul eax, edx, 0x38
add eax, ecx
mov dword [esp + 0x10], eax
lea eax, [ebx + 0xc]
mov dword [esp + 0x18], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
lea ecx, [esi + 0x10]
mov edi, ecx
lea ebx, [esp + 0x80]
push ebx
call fcn.10060ec0
mov ecx, ebx
push dword [esp + 0x18]
call fcn.100608a0
mov ebx, eax
cmp byte [esp + 0x8b], 0
jns 0x101000cb
push dword [esp + 0x80]
call fcn.10145bd4
add esp, 4
test bl, bl
jne 0x10100412
movups xmm0, xmmword [esi]
movaps xmmword [esp + 0x80], xmm0
mov ecx, edi
lea ebx, [esp + 0x64]
push ebx
call fcn.10061370
movzx eax, byte [esp + 0x6f]
mov ecx, ebx
test al, al
jns 0x101000fd
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
xor edx, edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], edx
lea ebx, [esp + 0x70]
push ebx
push eax
push ecx
call fcn.10078390
add esp, 0xc
lea ecx, [esp + 0x58]
mov edx, ebx
call fcn.10101fc6
mov dword [esp + 0x34], eax
cmp byte [esp + 0x7b], 0
jns 0x1010013c
push dword [esp + 0x70]
call fcn.10145bd4
add esp, 4
cmp byte [esp + 0x6f], 0
jns 0x1010014f
push dword [esp + 0x64]
call fcn.10145bd4
add esp, 4
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x58]
call fcn.10101fc6
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x30], eax
mov edx, dword [esi + 0x3c]
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 ecx, dword [esp + 0xc]
cmp ecx, dword [esp + 0x10]
jae 0x101001f1
test ecx, ecx
je 0x10100548
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x2c], eax
mov byte [ecx + 0x30], bl
xor eax, eax
mov dword [ecx + 0x31], eax
mov dword [ecx + 0x34], eax
add ecx, 0x38
jmp 0x101002ed
mov dword [esp + 0x38], edx
mov edx, dword [esp + 8]
sub ecx, edx
mov edi, ecx
sar ecx, 3
imul eax, ecx, 0xb6db6db7
mov dword [esp + 0xc], eax
lea ecx, [eax + 1]
cmp ecx, 0x4924925
jae 0x10100543
mov eax, dword [esp + 0x10]
sub eax, edx
sar eax, 3
imul eax, eax, 0xb6db6db7
lea edx, [eax + eax]
cmp edx, ecx
cmova ecx, edx
cmp eax, 0x2492492
mov eax, 0x4924924
cmovae ecx, eax
test ecx, ecx
je 0x1010024e
call fcn.10101fa2
mov ecx, eax
mov dword [esp + 0x10], edx
jmp 0x10100258
xor ecx, ecx
mov dword [esp + 0x10], 0
mov edx, edi
imul edi, dword [esp + 0xc], 0x38
add edi, ecx
je 0x1010054b
imul eax, dword [esp + 0x10], 0x38
add ecx, eax
mov dword [esp + 0x10], ecx
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [edi], xmm0
mov eax, dword [esp + 0x34]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x24], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0x2c], eax
mov byte [edi + 0x30], bl
xor eax, eax
mov dword [edi + 0x31], eax
mov dword [edi + 0x34], eax
lea eax, [edi + 0x38]
mov dword [esp + 0xc], eax
sub edi, edx
push edx
mov ebx, dword [esp + 0xc]
push ebx
push edi
call fcn.10148eb0
add esp, 0xc
test ebx, ebx
je 0x101002e5
push ebx
call fcn.10145bd4
add esp, 4
mov dword [esp + 8], edi
mov ecx, dword [esp + 0xc]
add esi, 0x58
cmp esi, dword [esp + 0x3c]
jne 0x1010008f
mov esi, dword [esp + 8]
sub ecx, esi
mov ebx, dword [esp + 0x14]
je 0x1010054e
push ecx
push esi
push dword [ebx + 4]
call fcn.1011f2a1
add esp, 0xc
test al, al
je 0x101004d9
movzx eax, byte [esp + 0x63]
test al, al
cmovs eax, dword [esp + 0x5c]
lea ecx, [esp + 0x58]
cmovs ecx, dword [esp + 0x58]
push eax
push ecx
push dword [ebx + 4]
call fcn.1011f2a1
add esp, 0xc
test al, al
jne 0x1010051a
cmp dword [0x101bee4c], 2
jg 0x1010051a
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x234
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.100661d0
lea eax, [esp + 0x88]
push 0x1c
push str.failed_to_write_string_table
jmp 0x1010050a
cmp dword [0x101bee4c], 2
jg 0x100fff24
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [esp + 0x80]
mov ecx, edi
push eax
push 2
push 0x20b
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.10066f30
lea eax, [esp + 0x88]
push 0x12
push str.failed_to_truncate
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, edi
call fcn.100670a0
jmp 0x100fff24
cmp dword [0x101bee4c], 2
mov ebx, dword [esp + 0x14]
jg 0x100fff24
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x217
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.100661d0
lea eax, [esp + 0x88]
push 0x16
push str.failed_to_write_header
jmp 0x100fff14
cmp dword [0x101bee4c], 2
mov ebx, dword [esp + 0x14]
jg 0x101004d3
lea ecx, [esp + 0x80]
push 2
push 0x225
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.100661d0
lea eax, [esp + 0x88]
cmp byte [esi + 0x1b], 0
jns 0x1010044a
mov edi, dword [edi]
push edi
push eax
call fcn.10067140
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.10034b83
add esp, 0xc
mov edi, eax
movzx eax, byte [ebx + 0x17]
test al, al
jns 0x10100478
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x10]
xor ecx, ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], ecx
lea esi, [esp + 0x70]
push esi
push eax
push dword [esp + 0x20]
call fcn.10078390
add esp, 0xc
movzx eax, byte [esp + 0x7b]
test al, al
jns 0x101004a9
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x70]
push eax
push esi
push edi
call fcn.10034b83
add esp, 0xc
cmp byte [esp + 0x7b], 0
jns 0x101004c7
push dword [esp + 0x70]
call fcn.10145bd4
add esp, 4
lea ecx, [esp + 0x80]
call fcn.10066600
mov esi, dword [esp + 8]
jmp 0x1010051a
cmp dword [0x101bee4c], 2
jg 0x1010051a
lea edi, [esp + 0x80]
mov ecx, edi
push 2
push 0x22f
push str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
call fcn.100661d0
lea eax, [esp + 0x88]
push 0x17
push str.failed_to_write_records
push eax
call fcn.10034b83
add esp, 0xc
mov ecx, edi
call fcn.10066600
test esi, esi
je 0x10100527
push esi
call fcn.10145bd4
add esp, 4
cmp byte [esp + 0x63], 0
jns 0x100fff24
push dword [esp + 0x58]
call fcn.10145bd4
add esp, 4
jmp 0x100fff24
call fcn.1015b4f0
int3
int3
int3