Function at 0x40f150
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444668
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x467060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40f1c7
xor bl, bl
jmp 0x40f3c0
mov eax, dword [0x46a8ec]
test al, 1
jne 0x40f1e5
or eax, 1
push 0x448710
mov dword [0x46a8ec], eax
call fcn.00441527
add esp, 4
lea eax, [ebp - 0x38]
push eax
push esi
call fcn.004366f0
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x34]
cmp esi, ebx
je 0x40f3be
mov edi, dword [sym.imp.MSVCR110.dll__wcsicmp]
cmp dword [esi + 0x14], 8
jb 0x40f20d
mov eax, dword [esi]
jmp 0x40f20f
mov eax, esi
push str._exit_process_
push eax
call edi
add esp, 8
test eax, eax
jne 0x40f232
push 0xe
push str._exit_process_
lea ecx, [ebp - 0x2c]
call fcn.00405570
jmp 0x40f3b3
cmp dword [esi + 0x14], 8
jb 0x40f23c
mov eax, dword [esi]
jmp 0x40f23e
mov eax, esi
push str._romove_from_firewall_
push eax
call edi
add esp, 8
test eax, eax
jne 0x40f261
push 0x16
push str._romove_from_firewall_
lea ecx, [ebp - 0x2c]
call fcn.00405570
jmp 0x40f3b3
cmp dword [esi + 0x14], 8
jb 0x40f26b
mov eax, dword [esi]
jmp 0x40f26d
mov eax, esi
push str._ignore_folder_
push eax
call edi
add esp, 8
test eax, eax
jne 0x40f290
push 0xf
push str._ignore_folder_
lea ecx, [ebp - 0x2c]
call fcn.00405570
jmp 0x40f3b3
cmp dword [esi + 0x14], 8
jb 0x40f29a
mov eax, dword [esi]
jmp 0x40f29c
mov eax, esi
push str._ignore_files_
push eax
call edi
add esp, 8
test eax, eax
jne 0x40f2bf
push 0xe
push str._ignore_files_
lea ecx, [ebp - 0x2c]
call fcn.00405570
jmp 0x40f3b3
cmp dword [esi + 0x14], 8
jb 0x40f2c9
mov eax, dword [esi]
jmp 0x40f2cb
mov eax, esi
push str._ignore_local_files_
push eax
call edi
add esp, 8
test eax, eax
jne 0x40f2ec
push str._ignore_local_files_
lea ecx, [ebp - 0x2c]
call fcn.00403d40
jmp 0x40f3b3
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._ignore_folder_
push eax
call edi
add esp, 8
test eax, eax
jne 0x40f327
cmp dword [esi + 0x14], 8
jb 0x40f310
mov eax, dword [esi]
jmp 0x40f312
mov eax, esi
push eax
lea ecx, [ebp - 0x54]
call fcn.00405670
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
lea ecx, [ecx + 0x6c]
jmp 0x40f39e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._ignore_files_
push eax
call edi
add esp, 8
test eax, eax
jne 0x40f362
cmp dword [esi + 0x14], 8
jb 0x40f34b
mov eax, dword [esi]
jmp 0x40f34d
mov eax, esi
push eax
lea ecx, [ebp - 0x54]
call fcn.00405670
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 3
lea ecx, [ecx + 0x78]
jmp 0x40f39e
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._ignore_local_files_
push eax
call edi
add esp, 8
test eax, eax
jne 0x40f3b3
cmp dword [esi + 0x14], 8
jb 0x40f386
mov eax, dword [esi]
jmp 0x40f388
mov eax, esi
push eax
lea ecx, [ebp - 0x54]
call fcn.00405670
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 4
lea ecx, [ecx + 0x84]
lea eax, [ebp - 0x54]
push eax
call fcn.00411300
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.00401270
add esi, 0x18
cmp esi, ebx
jne 0x40f203
mov bl, 1
cmp dword [ebp - 0x18], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x40f3d4
push dword [ebp - 0x2c]
call edi
add esp, 4
mov ecx, dword [ebp - 0x38]
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
test ecx, ecx
je 0x40f42b
mov eax, dword [ebp - 0x34]
mov esi, ecx
cmp ecx, eax
je 0x40f425
cmp dword [esi + 0x14], 8
jb 0x40f408
push dword [esi]
call edi
mov eax, dword [ebp - 0x34]
add esp, 4
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], cx
add esi, 0x18
cmp esi, eax
jne 0x40f3f8
mov ecx, dword [ebp - 0x38]
push ecx
call edi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004413e6
mov esp, ebp
pop ebp
ret 4