Function at 0x412da0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444768
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 ebx, 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 0x412e16
xor bl, bl
jmp 0x41314a
mov eax, dword [0x46a8ec]
test al, 1
jne 0x412e34
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 eax, dword [ebp - 0x38]
mov esi, eax
cmp eax, dword [ebp - 0x34]
je 0x413148
mov edi, dword [sym.imp.MSVCR110.dll__wcsicmp]
cmp dword [esi + 0x14], 8
jb 0x412e5c
mov eax, dword [esi]
jmp 0x412e5e
mov eax, esi
push str._exit_process_
push eax
call edi
add esp, 8
test eax, eax
jne 0x412e81
push 0xe
push str._exit_process_
lea ecx, [ebp - 0x2c]
call fcn.00405570
jmp 0x41313c
cmp dword [esi + 0x14], 8
jb 0x412e8b
mov eax, dword [esi]
jmp 0x412e8d
mov eax, esi
push str._romove_from_firewall_
push eax
call edi
add esp, 8
test eax, eax
jne 0x412eb0
push 0x16
push str._romove_from_firewall_
lea ecx, [ebp - 0x2c]
call fcn.00405570
jmp 0x41313c
cmp dword [esi + 0x14], 8
jb 0x412eba
mov eax, dword [esi]
jmp 0x412ebc
mov eax, esi
push str._remove_shortcut_
push eax
call edi
add esp, 8
test eax, eax
jne 0x412edf
push 0x11
push str._remove_shortcut_
lea ecx, [ebp - 0x2c]
call fcn.00405570
jmp 0x41313c
cmp dword [esi + 0x14], 8
jb 0x412ee9
mov eax, dword [esi]
jmp 0x412eeb
mov eax, esi
push str._remove_Dir_
push eax
call edi
add esp, 8
test eax, eax
jne 0x412f0e
push 0xc
push str._remove_Dir_
lea ecx, [ebp - 0x2c]
call fcn.00405570
jmp 0x41313c
cmp dword [esi + 0x14], 8
jb 0x412f18
mov eax, dword [esi]
jmp 0x412f1a
mov eax, esi
push str._remove_file_
push eax
call edi
add esp, 8
test eax, eax
jne 0x412f3b
push str._remove_file_
lea ecx, [ebp - 0x2c]
call fcn.00403d40
jmp 0x41313c
cmp dword [esi + 0x14], 8
jb 0x412f45
mov eax, dword [esi]
jmp 0x412f47
mov eax, esi
push str._remove_config_folder_
push eax
call edi
add esp, 8
test eax, eax
jne 0x412f68
push str._remove_config_folder_
lea ecx, [ebp - 0x2c]
call fcn.00403d40
jmp 0x41313c
cmp dword [esi + 0x14], 8
jb 0x412f72
mov eax, dword [esi]
jmp 0x412f74
mov eax, esi
push str._remove_config_files_
push eax
call edi
add esp, 8
test eax, eax
jne 0x412f95
push str._remove_config_files_
lea ecx, [ebp - 0x2c]
call fcn.00403d40
jmp 0x41313c
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._exit_process_
push eax
call edi
add esp, 8
test eax, eax
jne 0x412fd0
cmp dword [esi + 0x14], 8
jb 0x412fb9
mov eax, dword [esi]
jmp 0x412fbb
mov eax, esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00405670
mov byte [ebp - 4], 2
lea ecx, [ebx + 0x18]
jmp 0x413127
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._romove_from_firewall_
push eax
call edi
add esp, 8
test eax, eax
jne 0x41300b
cmp dword [esi + 0x14], 8
jb 0x412ff4
mov eax, dword [esi]
jmp 0x412ff6
mov eax, esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00405670
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x24]
jmp 0x413127
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._remove_shortcut_
push eax
call edi
add esp, 8
test eax, eax
jne 0x413046
cmp dword [esi + 0x14], 8
jb 0x41302f
mov eax, dword [esi]
jmp 0x413031
mov eax, esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00405670
mov byte [ebp - 4], 4
lea ecx, [ebx + 0x30]
jmp 0x413127
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._remove_Dir_
push eax
call edi
add esp, 8
test eax, eax
jne 0x413081
cmp dword [esi + 0x14], 8
jb 0x41306a
mov eax, dword [esi]
jmp 0x41306c
mov eax, esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00405670
mov byte [ebp - 4], 5
lea ecx, [ebx + 0x3c]
jmp 0x413127
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._remove_file_
push eax
call edi
add esp, 8
test eax, eax
jne 0x4130b9
cmp dword [esi + 0x14], 8
jb 0x4130a5
mov eax, dword [esi]
jmp 0x4130a7
mov eax, esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00405670
mov byte [ebp - 4], 6
lea ecx, [ebx + 0x48]
jmp 0x413127
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._remove_config_folder_
push eax
call edi
add esp, 8
test eax, eax
jne 0x4130f1
cmp dword [esi + 0x14], 8
jb 0x4130dd
mov eax, dword [esi]
jmp 0x4130df
mov eax, esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00405670
mov byte [ebp - 4], 7
lea ecx, [ebx + 0x54]
jmp 0x413127
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._remove_config_files_
push eax
call edi
add esp, 8
test eax, eax
jne 0x41313c
cmp dword [esi + 0x14], 8
jb 0x413115
mov eax, dword [esi]
jmp 0x413117
mov eax, esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00405670
mov byte [ebp - 4], 8
lea ecx, [ebx + 0x60]
lea eax, [ebp - 0x50]
push eax
call fcn.00411300
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00401270
add esi, 0x18
cmp esi, dword [ebp - 0x34]
jne 0x412e52
mov bl, 1
cmp dword [ebp - 0x18], 8
mov edi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x41315e
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 0x4131b5
mov eax, dword [ebp - 0x34]
mov esi, ecx
cmp ecx, eax
je 0x4131af
cmp dword [esi + 0x14], 8
jb 0x413192
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 0x413182
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