Function at 0x48c4f0
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, 0x150
mov eax, dword [0x603024]
xor eax, ebp
mov dword [esp + 0x148], eax
mov ebx, dword [ecx]
mov dword [ecx], 0
test ebx, ebx
je 0x48c58f
cmp byte [ebx + 0x24], 0
jne 0x48c5a5
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 [ebx + 4]
call dword [sym.imp.KERNEL32.dll_UnlockFileEx]
test eax, eax
je 0x48c60c
mov edi, dword [ebx + 0x28]
test edi, edi
jne 0x48c661
lea ecx, [ebx + 0x18]
call fcn.004dfb00
lea ecx, [ebx + 0xc]
call fcn.004dfb00
mov dword [ebx], 0x5ddf0c
cmp byte [ebx + 8], 0
jne 0x48c6a7
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x48c586
push eax
call fcn.00494640
add esp, 4
push ebx
call fcn.005039aa
add esp, 4
mov ecx, dword [esp + 0x148]
xor ecx, ebp
call fcn.00504b53
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.0049c5d0
add esp, 0x10
or edx, eax
je 0x48c6aa
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x48c523
lea esi, [esp + 0xa0]
mov ecx, esi
push 2
push 0x202
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0045d3f0
lea eax, [esp + 0xa8]
push 0x19
push str.failed_to_rewind_to_write
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, esi
call fcn.0045d7d0
jmp 0x48c523
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x48c54a
call fcn.0055df20
lea esi, [esp + 0xa0]
mov ecx, esi
push eax
push 2
push 0x13a
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0055e050
lea eax, [esp + 0xa8]
push 0xc
push 0x5f0d66
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, esi
call fcn.0055e0b0
jmp 0x48c54a
mov esi, dword [ebx + 0x2c]
cmp esi, edi
je 0x48ca53
add esi, 0xffffffb8
cmp byte [esi + 0x17], 0
jns 0x48c680
push dword [esi + 0xc]
call fcn.005039aa
add esp, 4
mov ecx, esi
call fcn.004dfb00
lea eax, [esi - 0x58]
add esi, 0xfffffff0
cmp esi, edi
mov esi, eax
jne 0x48c66f
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x2c], edi
push eax
call fcn.005039aa
add esp, 4
jmp 0x48c555
int3
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
je 0x48ca5a
mov edi, dword [ebx + 0x28]
mov esi, dword [ebx + 0x2c]
mov eax, esi
sub eax, edi
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 + 0x18], ecx
mov dword [eax + 8], ecx
push 0x10
push eax
push dword [ebx + 4]
call fcn.0049c9f0
add esp, 0xc
test al, al
je 0x48caaf
cmp esi, edi
je 0x48c523
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
cmp dword [esp + 0x18], 0x4924925
jae 0x48ccc6
imul esi, dword [esp + 0x18], 0x38
push esi
call fcn.0050397a
add esp, 4
add esi, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x74], esi
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ecx
cmp eax, ecx
je 0x48cb32
lea eax, [ebx + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x94]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
lea edi, [eax + 0x10]
mov ecx, edi
lea esi, [esp + 0xa0]
push esi
call fcn.004dfb60
mov ecx, esi
push dword [esp + 0x28]
call fcn.0045b9a0
mov byte [esp + 0x20], al
mov ecx, esi
call fcn.004dfb00
cmp byte [esp + 0x20], 0
jne 0x48caee
mov eax, dword [esp + 0x18]
movups xmm0, xmmword [eax]
movaps xmmword [esp + 0xa0], xmm0
mov ecx, edi
lea esi, [esp + 0x88]
push esi
call fcn.004dff50
movzx eax, byte [esp + 0x93]
mov ecx, esi
test al, al
jns 0x48c7f3
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x8c]
push eax
push ecx
lea esi, [esp + 0x9c]
push esi
call fcn.004e66c0
add esp, 0xc
lea ecx, [esp + 0x78]
mov edx, esi
call fcn.00581ed0
mov dword [esp + 0x20], eax
cmp byte [esp + 0x9f], 0
jns 0x48c82d
push dword [esp + 0x94]
call fcn.005039aa
add esp, 4
lea ecx, [esp + 0x88]
call fcn.004dfb00
mov esi, dword [esp + 0x18]
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x78]
call fcn.00581ed0
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x48], eax
mov al, byte [esi + 0x44]
add al, al
or al, byte [esi + 0x30]
mov byte [esp + 0x13], al
mov eax, dword [esi + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x14], eax
jae 0x48c8f3
movaps xmm0, xmmword [esp + 0xa0]
mov ecx, dword [esp + 0x14]
movups xmmword [ecx], xmm0
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 0x2c], eax
mov al, byte [esp + 0x13]
mov byte [ecx + 0x30], al
xor eax, eax
mov dword [ecx + 0x31], eax
mov dword [ecx + 0x34], eax
add ecx, 0x38
mov dword [esp + 0x14], ecx
mov dword [esp + 0x70], ecx
jmp 0x48ca32
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
sar eax, 3
imul esi, eax, 0xb6db6db7
lea eax, [esi + 1]
cmp eax, 0x4924925
jae 0x48cccb
mov edx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
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 + 0xc], edx
test edx, edx
je 0x48ca4c
cmp dword [esp + 0xc], 0x4924925
jae 0x48ccc6
imul eax, dword [esp + 0xc], 0x38
push eax
call fcn.0050397a
add esp, 4
mov edi, eax
imul esi, esi, 0x38
movaps xmm0, xmmword [esp + 0xa0]
movups xmmword [edi + esi], xmm0
mov eax, dword [esp + 0x20]
mov dword [edi + esi + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [edi + esi + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + esi + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [edi + esi + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [edi + esi + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [edi + esi + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [edi + esi + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [edi + esi + 0x2c], eax
mov al, byte [esp + 0x13]
mov byte [edi + esi + 0x30], al
lea eax, [edi + esi]
imul ecx, dword [esp + 0xc], 0x38
add ecx, edi
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [edi + esi + 0x31], ecx
mov dword [edi + esi + 0x34], ecx
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x48c9f9
push dword [esp + 0x14]
push dword [esp + 0x20]
push dword [esp + 0x14]
call fcn.00506d50
add esp, 0xc
lea ecx, [edi + esi]
add ecx, 0x38
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
cmp dword [esp + 0x1c], 0
je 0x48ca2a
push dword [esp + 0x1c]
call fcn.005039aa
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
add eax, 0x58
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x4c]
jne 0x48c782
jmp 0x48cb3a
xor edi, edi
jmp 0x48c968
mov eax, edi
jmp 0x48c696
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x48c523
call fcn.0055df20
lea esi, [esp + 0xa0]
mov ecx, esi
push eax
push 2
push 0x209
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0055e050
lea eax, [esp + 0xa8]
push 0x12
push str.failed_to_truncate
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, esi
call fcn.0055e0b0
jmp 0x48c523
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x48c523
lea esi, [esp + 0xa0]
mov ecx, esi
push 2
push 0x215
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0045d3f0
lea eax, [esp + 0xa8]
push 0x16
push str.failed_to_write_header
jmp 0x48c5f7
push 2
call fcn.004e0f90
add esp, 4
test al, al
jne 0x48cbfd
cmp dword [esp + 0xc], 0
je 0x48cb13
push dword [esp + 0xc]
call fcn.005039aa
add esp, 4
cmp byte [esp + 0x83], 0
jns 0x48c523
push dword [esp + 0x78]
call fcn.005039aa
add esp, 4
jmp 0x48c523
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
sub ecx, eax
push ecx
push eax
push dword [ebx + 4]
call fcn.0049c9f0
add esp, 0xc
test al, al
je 0x48cbb3
lea ecx, [esp + 0x78]
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.0049c9f0
add esp, 0xc
test al, al
jne 0x48cb00
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x48cb00
lea edi, [esp + 0xa0]
mov ecx, edi
push 2
push 0x232
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0045d3f0
lea eax, [esp + 0xa8]
push 0x1c
push str.failed_to_write_string_table
jmp 0x48cbed
push 2
call fcn.004e0f90
add esp, 4
test al, al
je 0x48cb00
lea edi, [esp + 0xa0]
mov ecx, edi
push 2
push 0x22d
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0045d3f0
lea eax, [esp + 0xa8]
push 0x17
push str.failed_to_write_records
push eax
call fcn.005364d0
add esp, 0xc
mov ecx, edi
jmp 0x48ccbc
lea ecx, [esp + 0xa0]
push 2
push 0x223
push str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
call fcn.0045d3f0
lea eax, [esp + 0xa8]
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0x1b], 0
jns 0x48cc2d
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 0x10]
push edi
push eax
call fcn.0055e150
add esp, 8
push 0x18
push str._expected_to_start_with
push eax
call fcn.005364d0
add esp, 0xc
mov edi, eax
movzx eax, byte [ebx + 0x17]
test al, al
jns 0x48cc5b
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x10]
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0x9c]
push eax
call fcn.004e66c0
add esp, 0xc
movzx eax, byte [esp + 0x9f]
test al, al
jns 0x48cc8e
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
push eax
push dword [esp + 0x30]
push edi
call fcn.005364d0
add esp, 0xc
cmp byte [esp + 0x9f], 0
jns 0x48ccb5
push dword [esp + 0x94]
call fcn.005039aa
add esp, 4
lea ecx, [esp + 0xa0]
call fcn.0045d7d0
jmp 0x48cb00
call fcn.00518ff0
lea ecx, [esp + 0x6c]
call fcn.00536260
int3