Function at 0x412470
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47e24a
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x4a7018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x44], 0
call fcn.00412af0
mov esi, dword [eax]
mov dword [ebp - 0x44], esi
mov dword [eax], 0
mov dword [ebp - 0x54], esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.00413950
test esi, esi
jne 0x4124e1
mov esi, 3
jmp 0x41268f
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x48]
lea eax, [esi + 0x20]
mov byte [ebp - 4], 1
mov edi, dword [eax]
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x38], xmm0
cmp edi, dword [esi + 0x24]
je 0x412537
mov edx, edi
lea eax, [ebp - 0x38]
mov esi, 0xc
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x412546
add edx, 4
add eax, 4
sub esi, 4
jae 0x412520
mov esi, dword [ebp - 0x44]
lea eax, [esi + 0x20]
cmp edi, dword [eax + 4]
jne 0x412553
mov esi, 1
jmp 0x412645
mov esi, dword [ebp - 0x44]
add edi, 0x70
cmp edi, dword [esi + 0x24]
jne 0x412514
jmp 0x412534
lea eax, [edi + 0x10]
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x412573
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x412567
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00414120
push edi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [esi + 0x20]
call fcn.00413ac0
mov byte [esi + 0x1c], 1
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x412638
sub esp, 8
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x28]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x40]
call fcn.00419fa0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x44], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 2
push 0x39d
push str..._.._client_crash_report_database_win.cc
push ecx
lea ecx, [ebp - 0x104]
call fcn.0041bb90
mov dword [ebp - 4], 3
mov edx, str.DeleteFile
mov ecx, eax
mov dword [ebp - 0x44], 3
call fcn.00405b50
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x412611
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.004082b0
add esp, 4
lea ecx, [ebp - 0x104]
call fcn.0041bc20
lea ecx, [ebp - 0x40]
call fcn.004015f0
mov esi, 2
jmp 0x412645
push dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
call fcn.004126c0
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41267b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412671
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4126b6
push edx
push ecx
call fcn.00457f09
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x54]
call fcn.00413950
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00457ec6
mov esp, ebp
pop ebp
ret 4
call fcn.00461509
int3