Function at 0x4080f0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x413ab5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
mov eax, dword [0x41b5c0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x7c], eax
mov esi, ecx
mov bl, 1
call dword [0x415110]
lea edi, [esi + 0x134]
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edi
call fcn.0040c910
cmp dword [esi + 0x210], 0x10
jb 0x408145
mov eax, dword [esi + 0x1fc]
jmp 0x40814b
lea eax, [esi + 0x1fc]
push eax
movzx eax, word [esi + 0x230]
push eax
mov ecx, edi
call fcn.00402e50
push str.product_name
lea ecx, [esp + 0x2c]
call dword [0x41516c]
lea ebp, [esi + 0xc0]
push ebp
lea ecx, [esp + 0x2c]
lea edi, [esi + 0x1c0]
push ecx
mov ecx, edi
mov dword [esp + 0x90], 0
call fcn.00402530
mov ecx, eax
call dword [0x4151b8]
lea ecx, [esp + 0x28]
mov dword [esp + 0x88], 0xffffffff
call dword [0x41515c]
push str.os_version
lea ecx, [esp + 0x2c]
call dword [0x41516c]
lea edx, [esi + 0x1dc]
push edx
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0x90], 1
call fcn.00402530
mov ecx, eax
call dword [0x4151b8]
lea ecx, [esp + 0x28]
mov dword [esp + 0x88], 0xffffffff
call dword [0x41515c]
mov eax, dword [esi + 0x118]
test eax, eax
jne 0x40820d
mov ecx, esi
call fcn.004078f0
mov bl, al
jmp 0x40834e
mov eax, dword [esi + 0xa0]
cmp eax, 8
lea edi, [esi + 0x88]
jb 0x408223
mov eax, dword [edi + 4]
jmp 0x408226
lea eax, [edi + 4]
push eax
call dword [0x415350]
test eax, eax
je 0x40834e
lea ecx, [esp + 0x10]
call fcn.00404330
mov dword [esp + 0x14], eax
mov byte [eax + 0x49], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], eax
mov dword [esp + 0x18], 0
push 0x415565
lea ecx, [esp + 0x64]
mov dword [esp + 0x8c], 2
call dword [0x41516c]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push edi
push ecx
mov byte [esp + 0xac], 3
call fcn.00409050
add esp, 8
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0040c1f0
mov bl, al
add esp, 0x24
cmp bl, 1
jne 0x4082f9
cmp dword [ebp + 0x18], 0x10
jb 0x4082bb
mov ebp, dword [ebp + 4]
jmp 0x4082be
add ebp, 4
push ebp
lea ecx, [esp + 0x2c]
call dword [0x41516c]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x8c], 4
call fcn.004071e0
push eax
mov ecx, esi
call fcn.00406030
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 3
call dword [0x41515c]
cmp dword [edi + 0x18], 8
jb 0x408304
mov edi, dword [edi + 4]
jmp 0x408307
add edi, 4
push edi
call dword [0x4150ac]
lea ecx, [esp + 0x60]
mov byte [esp + 0x88], 2
call dword [0x41515c]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x94], 0xffffffff
call fcn.00407300
mov eax, dword [esp + 0x14]
push eax
call fcn.00412910
add esp, 4
call dword [0x415110]
mov edx, dword [esp + 0x1c]
mov edi, eax
push str.total_time
lea ecx, [esp + 0x48]
sub edi, edx
call dword [0x41516c]
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esi + 0x1cc]
mov dword [esp + 0x8c], 5
call fcn.00405110
lea ecx, [esp + 0x44]
mov dword [eax], edi
mov dword [esp + 0x88], 0xffffffff
call dword [0x41515c]
mov ecx, dword [esp + 0x24]
call fcn.0040c930
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x7c]
mov al, bl
call fcn.00412959
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret