Function at 0x410190
Capabilities:
Clear file content

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47dc74
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1f8
mov eax, dword [0x4a7018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x58], 0
call fcn.0040f8b0
test al, al
jne 0x410255
push ecx
lea ecx, [ebp - 0x120]
call fcn.004064e0
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x88], str..._.._client_crash_report_database_win.cc
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0x1fb
mov dword [ebp - 0x7c], 2
call fcn.0041b720
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x120]
mov edx, str.failed_to_rewind_to_write
mov dword [ebp - 0x58], 1
call fcn.00405b50
lea ecx, [ebp - 0x120]
call fcn.0041b540
jmp 0x41067a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x4102e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.004064e0
mov dword [ebp - 4], 2
push ecx
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x90], str..._.._client_crash_report_database_win.cc
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0x202
mov dword [ebp - 0x84], 2
call fcn.0041b720
mov dword [ebp - 0x80], esi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x128]
mov edx, str.failed_to_truncate
mov dword [ebp - 0x58], 2
call fcn.00405b50
lea ecx, [ebp - 0x128]
call fcn.0041bc20
jmp 0x41067a
mov eax, dword [esi + 0x24]
lea edx, [ebp - 0x3c]
sub eax, dword [esi + 0x20]
mov ecx, dword [esi]
sar eax, 4
imul edi, eax, 0xb6db6db7
push 0x10
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0x43504144
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], edi
call fcn.004262a0
add esp, 4
test al, al
jne 0x410361
push 2
push 0x20e
push str..._.._client_crash_report_database_win.cc
push ecx
lea ecx, [ebp - 0x120]
call fcn.0041b3c0
mov dword [ebp - 4], 4
mov edx, str.failed_to_write_header
mov ecx, eax
mov dword [ebp - 0x58], 4
call fcn.00405b50
lea ecx, [ebp - 0x120]
call fcn.0041b540
jmp 0x41067a
test edi, edi
je 0x41067a
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 5
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 6
cmp edi, 0x4924924
ja 0x410698
push edi
lea ecx, [ebp - 0x68]
call fcn.00413f70
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x20]
mov dword [ebp - 0x74], eax
cmp edi, eax
je 0x41054a
lea eax, [esi + 4]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
lea eax, [edi + 0x10]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x54]
push ecx
mov ecx, eax
call fcn.0041a390
mov byte [ebp - 4], 7
mov ecx, eax
mov edx, dword [ebp - 0x58]
call fcn.0041a190
test al, al
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x40]
sete al
mov byte [ebp - 0x59], al
cmp edx, 8
jb 0x410439
mov ecx, dword [ebp - 0x54]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41042c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.00457f09
mov al, byte [ebp - 0x59]
add esp, 8
test al, al
jne 0x4104a1
lea eax, [ebp - 0x2c]
push eax
push edi
lea ecx, [ebp - 0x160]
call fcn.0040f090
cmp esi, dword [ebp - 0x60]
je 0x41047a
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esi + 0x20], xmm0
movq xmm0, qword [eax + 0x30]
movq qword [esi + 0x30], xmm0
add esi, 0x38
mov dword [ebp - 0x64], esi
jmp 0x410487
push eax
push esi
lea ecx, [ebp - 0x68]
call fcn.00414ac0
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
add edi, 0x70
add eax, 0x70
mov dword [ebp - 0x6c], eax
cmp edi, dword [ebp - 0x74]
jne 0x4103d7
jmp 0x41054d
mov ecx, dword [ebp - 0x58]
sub esp, 8
mov edx, esp
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x4104b3
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 0x10]
lea ecx, [ebp - 0x54]
mov dword [edx + 4], eax
call fcn.00419fa0
add esp, 8
mov esi, eax
push 2
push 0x21c
push str..._.._client_crash_report_database_win.cc
push ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x58], 8
call fcn.0041b3c0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 4], 9
mov dword [ebp - 0x58], 0x18
cmp dword [ecx + 0x14], 8
jb 0x410504
mov ecx, dword [ecx]
push ecx
mov ecx, eax
call fcn.00408a10
mov edx, str._expected_to_start_with
mov ecx, eax
call fcn.00405b50
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x410522
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.004082b0
add esp, 4
lea ecx, [ebp - 0x120]
call fcn.0041b540
lea ecx, [ebp - 0x54]
call fcn.004015f0
mov edi, dword [ebp - 0x68]
jmp 0x410608
mov esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x68]
sub esi, edi
sar esi, 3
mov edx, edi
imul ecx, esi, 0xb6db6db7
mov esi, dword [ebp - 0x70]
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esi]
shl eax, 3
push eax
call fcn.004262a0
add esp, 4
test al, al
jne 0x4105b2
push 2
push 0x226
push str..._.._client_crash_report_database_win.cc
push ecx
lea ecx, [ebp - 0x120]
call fcn.0041b3c0
mov byte [ebp - 4], 0xa
mov edx, str.failed_to_write_records
mov ecx, eax
mov dword [ebp - 0x58], 0x20
call fcn.00405b50
lea ecx, [ebp - 0x120]
jmp 0x410603
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
mov ecx, dword [esi]
call fcn.004262a0
add esp, 4
test al, al
jne 0x410608
push 2
push 0x22b
push str..._.._client_crash_report_database_win.cc
push ecx
lea ecx, [ebp - 0x208]
call fcn.0041b3c0
mov byte [ebp - 4], 0xb
mov edx, str.failed_to_write_string_table
mov ecx, eax
mov dword [ebp - 0x58], 0x40
call fcn.00405b50
lea ecx, [ebp - 0x208]
call fcn.0041b540
test edi, edi
je 0x41064a
mov eax, dword [ebp - 0x60]
sub eax, edi
sar eax, 3
imul eax, eax, 0xb6db6db7
lea ecx, [eax*8]
sub ecx, eax
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x410640
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push ecx
push edi
call fcn.00457f09
add esp, 8
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x41067a
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410670
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41069d
push edx
push ecx
call fcn.00457f09
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00457ec6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401690
call fcn.00461509
int3