Function at 0x4887c0
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 [0x5ff014]
xor eax, ebp
mov dword [esp + 0x138], eax
mov ebx, dword [ecx]
mov dword [ecx], 0
test ebx, ebx
je 0x48885e
cmp byte [ebx + 0x18], 0
jne 0x488874
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
je 0x4888db
mov edi, dword [ebx + 0x1c]
test edi, edi
jne 0x488930
lea ecx, [ebx + 0xc]
call fcn.004dd1f0
mov dword [ebx], 0x5d9728
cmp byte [ebx + 8], 0
jne 0x488976
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x488855
push eax
call fcn.004956b0
add esp, 4
mov dword [ebx + 4], 0xffffffff
push ebx
call fcn.00503da5
add esp, 4
mov ecx, dword [esp + 0x138]
xor ecx, ebp
call fcn.00504596
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push eax
push dword [ebx + 4]
call fcn.0049e8e0
add esp, 0x10
or edx, eax
je 0x488979
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x4887f3
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x1fc
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00454e90
lea eax, [esp + 0x98]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, esi
call fcn.00455270
jmp 0x4887f3
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x48881a
call fcn.00551fb0
lea esi, [esp + 0x90]
mov ecx, esi
push eax
push 2
push 0x137
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.005520e0
lea eax, [esp + 0x98]
push 0xc
push 0x5ecc5e
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, esi
call fcn.00552140
jmp 0x48881a
mov esi, dword [ebx + 0x20]
cmp esi, edi
je 0x488d74
add esi, 0xffffffb8
cmp byte [esi + 0x17], 0
jns 0x48894f
push dword [esi + 0xc]
call fcn.00503da5
add esp, 4
mov ecx, esi
call fcn.004dd1f0
lea eax, [esi - 0x58]
add esi, 0xfffffff0
cmp esi, edi
mov esi, eax
jne 0x48893e
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], edi
push eax
call fcn.00503da5
add esp, 4
jmp 0x488825
int3
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x488d7b
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.0049ed00
add esp, 0xc
test al, al
je 0x488dd0
test edi, edi
je 0x4887f3
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
cmp esi, 0x4924925
jae 0x488fd1
imul esi, esi, 0x38
push esi
call fcn.00503d75
add esp, 4
add esi, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x64], esi
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0x3c], ecx
cmp eax, ecx
je 0x488e0f
lea eax, [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
lea edi, [eax + 0x10]
mov ecx, edi
lea esi, [esp + 0x90]
push esi
call fcn.004dd940
mov ecx, esi
push dword [esp + 0x1c]
call fcn.00453450
mov byte [esp + 0x18], al
mov ecx, esi
call fcn.004dd1f0
cmp byte [esp + 0x18], 0
jne 0x488f01
mov eax, dword [esp + 8]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0x90], xmm0
mov ecx, edi
lea esi, [esp + 0x78]
push esi
call fcn.004ddda0
movzx eax, byte [esp + 0x83]
mov ecx, esi
test al, al
jns 0x488aa1
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
push eax
push ecx
lea eax, [esp + 0x8c]
push eax
call fcn.004e4b90
add esp, 0xc
movzx eax, byte [esp + 0x73]
mov dword [esp + 0x18], eax
test al, al
jns 0x488ac8
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
movzx eax, byte [esp + 0x8f]
lea edx, [esp + 0x84]
test al, al
jns 0x488ae9
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
lea esi, [esp + 0x68]
mov ecx, esi
push eax
push edx
call fcn.004da6d0
mov ecx, esi
push 0
call fcn.004daa20
cmp byte [esp + 0x8f], 0
jns 0x488b18
push dword [esp + 0x84]
call fcn.00503da5
add esp, 4
lea ecx, [esp + 0x78]
call fcn.004dd1f0
movzx eax, byte [esp + 0x73]
mov dword [esp + 0x20], eax
test al, al
jns 0x488b36
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x27]
test al, al
jns 0x488b4e
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x1c]
jmp 0x488b55
mov ecx, dword [esp + 8]
lea edx, [ecx + 0x1c]
lea esi, [esp + 0x68]
mov ecx, esi
push eax
push edx
call fcn.004da6d0
mov ecx, esi
push 0
call fcn.004daa20
mov eax, dword [esp + 8]
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x38], ecx
mov cl, byte [eax + 0x44]
add cl, cl
or cl, byte [eax + 0x30]
mov byte [esp + 3], cl
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0x40]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x50]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x488c15
movaps xmm0, xmmword [esp + 0x90]
mov ecx, dword [esp + 4]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x2c], eax
mov al, byte [esp + 3]
mov byte [ecx + 0x30], al
xor eax, eax
mov dword [ecx + 0x31], eax
mov dword [ecx + 0x34], eax
add ecx, 0x38
mov dword [esp + 4], ecx
mov dword [esp + 0x60], ecx
jmp 0x488d53
mov eax, dword [esp + 4]
sub eax, dword [esp + 0x14]
mov dword [esp + 4], eax
sar eax, 3
imul esi, eax, 0xb6db6db7
lea eax, [esi + 1]
cmp eax, 0x4924925
jae 0x488fc8
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x14]
sar ecx, 3
imul ecx, ecx, 0xb6db6db7
lea edx, [ecx + ecx]
cmp edx, eax
cmovb edx, eax
cmp ecx, 0x2492492
mov eax, 0x4924924
cmovae edx, eax
mov dword [esp + 0x10], edx
test edx, edx
je 0x488d6d
cmp dword [esp + 0x10], 0x4924925
jae 0x488fd1
imul eax, dword [esp + 0x10], 0x38
push eax
call fcn.00503d75
add esp, 4
mov edi, eax
imul esi, esi, 0x38
movaps xmm0, xmmword [esp + 0x90]
movups xmmword [edi + esi], xmm0
mov eax, dword [esp + 0x18]
mov dword [edi + esi + 0x10], eax
mov eax, dword [esp + 0x20]
mov dword [edi + esi + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [edi + esi + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [edi + esi + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [edi + esi + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [edi + esi + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [edi + esi + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [edi + esi + 0x2c], eax
mov al, byte [esp + 3]
mov byte [edi + esi + 0x30], al
lea eax, [edi + esi]
imul ecx, dword [esp + 0x10], 0x38
add ecx, edi
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [edi + esi + 0x31], ecx
mov dword [edi + esi + 0x34], ecx
mov ecx, dword [esp + 4]
sub eax, ecx
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x488d1a
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.00507560
add esp, 0xc
lea ecx, [edi + esi]
add ecx, 0x38
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
cmp dword [esp + 0x14], 0
je 0x488d4b
push dword [esp + 0x14]
call fcn.00503da5
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
add eax, 0x58
mov dword [esp + 8], eax
cmp eax, dword [esp + 0x3c]
jne 0x488a39
jmp 0x488e17
xor edi, edi
jmp 0x488c89
mov eax, edi
jmp 0x488965
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x4887f3
call fcn.00551fb0
lea esi, [esp + 0x90]
mov ecx, esi
push eax
push 2
push 0x203
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.005520e0
lea eax, [esp + 0x98]
push 0x12
push str.failed_to_truncate
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, esi
call fcn.00552140
jmp 0x4887f3
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x4887f3
lea esi, [esp + 0x90]
mov ecx, esi
push 2
push 0x20f
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00454e90
lea eax, [esp + 0x98]
push 0x16
push str.failed_to_write_header
jmp 0x4888c6
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call fcn.0049ed00
add esp, 0xc
test al, al
je 0x488e8c
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.0049ed00
add esp, 0xc
test al, al
jne 0x488ed2
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x488ed2
lea edi, [esp + 0x90]
mov ecx, edi
push 2
push 0x22c
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00454e90
lea eax, [esp + 0x98]
push 0x1c
push str.failed_to_write_string_table
jmp 0x488ec2
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x488ed2
lea edi, [esp + 0x90]
mov ecx, edi
push 2
push 0x227
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00454e90
lea eax, [esp + 0x98]
push 0x17
push str.failed_to_write_records
push eax
call fcn.004d4870
add esp, 0xc
mov ecx, edi
call fcn.00455270
cmp dword [esp + 0xc], 0
je 0x488ee5
push dword [esp + 0xc]
call fcn.00503da5
add esp, 4
cmp byte [esp + 0x73], 0
jns 0x4887f3
push dword [esp + 0x68]
call fcn.00503da5
add esp, 4
jmp 0x4887f3
push 2
call fcn.004deac0
add esp, 4
test al, al
je 0x488ed2
lea ecx, [esp + 0x90]
push 2
push 0x21d
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.00454e90
lea eax, [esp + 0x98]
mov ecx, dword [esp + 8]
cmp byte [ecx + 0x1b], 0
jns 0x488f3f
mov ecx, dword [esp + 8]
mov edi, dword [ecx + 0x10]
push edi
push eax
call fcn.005521e0
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.004d4870
add esp, 0xc
mov edi, eax
movzx eax, byte [ebx + 0x17]
test al, al
jns 0x488f6d
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x10]
lea esi, [esp + 0x84]
push eax
push dword [esp + 0x20]
push esi
call fcn.004e4b90
add esp, 0xc
movzx eax, byte [esi + 0xb]
test al, al
jns 0x488f98
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
push eax
push esi
push edi
call fcn.004d4870
add esp, 0xc
cmp byte [esp + 0x8f], 0
jns 0x488fbc
push dword [esp + 0x84]
call fcn.00503da5
add esp, 4
lea ecx, [esp + 0x90]
jmp 0x488ecd
lea ecx, [esp + 0x5c]
call fcn.00534620
call fcn.00517b60
int3