Function at 0x405580
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb552
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0xf0]
call fcn.00413ad0
push 0x60bb28
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x108]
call fcn.00407b80
push 0x60c0ec
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00407b80
add esp, 8
mov eax, dword [ebp - 0xf4]
cmp eax, 8
jb 0x405608
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], 0
mov word [ebp - 0x108], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xdc]
cmp eax, 8
jb 0x405647
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0xdc], 7
lea ecx, [ebp - 0x28]
mov dword [ebp - 0xe0], 0
mov word [ebp - 0xf0], ax
call fcn.00413790
test eax, eax
je 0x405b38
xor eax, eax
mov dword [ebp - 0x48], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x5c], ax
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x4c], 0
push eax
call fcn.004084d0
mov dword [ebp - 0x44], 4
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 5
lea esi, [edi + 0x618]
push eax
mov ecx, esi
call fcn.004071b0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x4056cc
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00408aa0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405b38
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push 0x60bd08
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x8c]
call fcn.00407bf0
add esp, 4
xor eax, eax
mov byte [ebp - 4], 6
push 0xffffffffffffffff
push eax
add edi, 0x5f0
mov dword [ebp - 0x2c], 7
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004084d0
push str.Unins.exe
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 7
call fcn.004089c0
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x40576a
mov eax, dword [ecx]
jmp 0x40576c
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x8c]
push edx
push eax
call fcn.004084d0
xor edx, edx
xor ecx, ecx
call fcn.004144a0
add esp, 0x18
lea ecx, [ebp - 0xd4]
push 0x60c0f0
call fcn.004089c0
push 0x60bd18
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 9
call fcn.004089c0
push 0x60c0f0
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0xa
call fcn.004089c0
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x8c]
call fcn.00405000
add esp, 0x10
test al, al
mov eax, dword [ebp - 0xdc]
sete bl
cmp eax, 8
jb 0x405815
inc eax
lea ecx, [ebp - 0xf0]
push eax
push dword [ebp - 0xf0]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0xdc], 7
mov word [ebp - 0xf0], ax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xe0], 0
cmp eax, 8
jb 0x405850
inc eax
lea ecx, [ebp - 0x108]
push eax
push dword [ebp - 0x108]
call fcn.00408aa0
xor eax, eax
mov byte [ebp - 4], 8
mov word [ebp - 0x108], ax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xf4], 7
mov dword [ebp - 0xf8], 0
cmp eax, 8
jb 0x40588f
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00408aa0
test bl, bl
je 0x40589a
xor esi, esi
jmp 0x405ac9
xor eax, eax
mov dword [ebp - 0xc4], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xd8], ax
lea ecx, [ebp - 0xd8]
lea eax, [ebp - 0x8c]
mov dword [ebp - 0xc8], 0
push eax
call fcn.004084d0
mov dword [ebp - 0xc0], 3
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xc
push eax
mov ecx, esi
call fcn.004071b0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.00405540
push 0x60bb28
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xd4]
call fcn.00407bf0
push 0x60bcfc
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xbc]
call fcn.00407b80
add esp, 8
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xf
call fcn.00405540
xor eax, eax
mov dword [ebp - 0x90], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
call fcn.004084d0
push str.YQSDR.exe
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x10
call fcn.004089c0
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x405990
mov eax, dword [ecx]
jmp 0x405992
mov eax, ecx
xor edi, edi
push 0xffffffffffffffff
mov word [eax], di
lea eax, [ebp - 0xbc]
push edi
push eax
call fcn.004084d0
xor edx, edx
xor ecx, ecx
call fcn.004144a0
add esp, 0x18
lea ecx, [ebp - 0xf0]
push 0x60c0f0
call fcn.004089c0
push 0x60bb28
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 0x12
call fcn.004089c0
push 0x60c0f0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x13
call fcn.004089c0
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x58]
push eax
lea edx, [ebp - 0xa4]
lea ecx, [ebp - 0xbc]
call fcn.00405000
add esp, 0x10
lea ecx, [ebp - 0xd4]
test al, al
sete bl
call fcn.00405540
lea ecx, [ebp - 0x108]
call fcn.00405540
lea ecx, [ebp - 0xf0]
mov byte [ebp - 4], 0x11
call fcn.00405540
test bl, bl
je 0x405a4d
xor esi, esi
jmp 0x405aab
xor eax, eax
mov dword [ebp - 0xc4], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0xd8], ax
lea ecx, [ebp - 0xd8]
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xc8], 0
push eax
call fcn.004084d0
mov dword [ebp - 0xc0], 3
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x15
push eax
mov ecx, esi
call fcn.004071b0
lea ecx, [ebp - 0xd8]
call fcn.00405540
mov esi, 1
lea ecx, [ebp - 0x58]
call fcn.00405540
lea ecx, [ebp - 0xa4]
call fcn.00405540
lea ecx, [ebp - 0xbc]
call fcn.00405540
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x405ade
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x64], 0
cmp eax, 8
jb 0x405b07
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x405b3a
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00408aa0
jmp 0x405b3a
xor esi, esi
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x405b4f
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408aa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret