Function at 0x477690
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba1ba
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4ff1a0]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xf4], ebx
xor ecx, ecx
push 0x33
mov word [ebp - 0xd4], cx
mov edi, 7
push 0x4c4aa0
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
call fcn.0040e680
mov dword [ebp - 4], 1
push 0xb
xor edx, edx
push str.DisplayIcon
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.0040e680
mov byte [ebp - 4], 2
push 0xc
push str._m8Rv7OH6g
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
call fcn.0040ebe0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov dword [ebp - 0xf8], SysReAllocStringLen
call fcn.0040f440
mov byte [ebp - 4], 4
lea edx, [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.00427360
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00410830
push ebx
lea edx, [ebp - 0xf8]
push edx
mov edx, esi
lea ecx, [ebp - 0x2c]
lea esi, [ebp - 0x80]
call fcn.00412810
mov byte [ebp - 4], 7
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x4777bd
mov eax, dword [ebp - 0x48]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov byte [ebp - 4], 8
cmp dword [ebp - 0xa4], esi
jb 0x4777e4
mov edx, dword [ebp - 0xb8]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 9
cmp dword [ebp - 0x88], 0x10
jb 0x477815
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x88], 0xf
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x18], esi
jb 0x477840
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x70], ebx
ja 0x477b47
push str.IsWow64Process
push str.kernel32
mov dword [ebp - 0xf8], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x47788c
lea ecx, [ebp - 0xf8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x477899
mov ecx, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall
cmp dword [ebp - 0xf8], ebx
jne 0x47789e
mov ecx, 0x4c4aa0
xor edx, edx
mov eax, ecx
mov word [ebp - 0x48], dx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
lea edx, [eax + 2]
nop
mov si, word [eax]
add eax, 2
cmp si, bx
jne 0x4778b0
sub eax, edx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x48]
call fcn.0040e680
mov byte [ebp - 4], 0xb
push 0xb
xor eax, eax
push str.DisplayIcon
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
call fcn.0040e680
mov byte [ebp - 4], 0xc
push 0xc
push str._m8Rv7OH6g
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.0040ebe0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0xf8], reloc.OLEAUT32.dll_SysReAllocString
call fcn.0040f440
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xf0]
push edx
mov ecx, eax
call fcn.00427360
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 0xf
call fcn.00410830
push ebx
lea eax, [ebp - 0xf8]
mov edx, esi
push eax
lea ecx, [ebp - 0x9c]
lea esi, [ebp - 0xb8]
call fcn.00412810
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x80]
call fcn.00409ad0
mov byte [ebp - 4], 0xf
mov esi, 8
cmp dword [ebp - 0xa4], esi
jb 0x47799b
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0xdc], esi
jb 0x4779cb
mov eax, dword [ebp - 0xf0]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], cx
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x50], esi
jb 0x4779f5
mov edx, dword [ebp - 0x64]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x18], 0x10
jb 0x477a17
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00490458
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x88], esi
jb 0x477a3f
mov edx, dword [ebp - 0x9c]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x70], ebx
ja 0x477aac
call fcn.00410830
lea ebx, [ebp - 0x64]
mov ecx, eax
call fcn.00411e50
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x80]
call fcn.00409ad0
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x50], 8
jb 0x477a8b
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], dx
xor ebx, ebx
lea edi, [edx + 7]
lea esi, [edx + 8]
jmp 0x477b2b
push edi
xor eax, eax
push str.360se6
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.0040e680
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x64]
call fcn.00419450
add esp, 4
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x80]
call fcn.00409ad0
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x50], esi
jb 0x477afe
mov edx, dword [ebp - 0x64]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x18], esi
jb 0x477b1f
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], esi
jb 0x477b40
mov eax, dword [ebp - 0x48]
push eax
call fcn.00490458
add esp, 4
mov esi, 8
jmp 0x477bba
push edi
xor edx, edx
push str.360se6
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.0040e680
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x64]
call fcn.00419450
add esp, 4
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x80]
call fcn.00409ad0
mov byte [ebp - 4], 0x14
cmp dword [ebp - 0x50], esi
jb 0x477b99
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x34], esi
jb 0x477bba
mov eax, dword [ebp - 0x48]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
push 0x11
mov word [ebp - 0x48], cx
push str.360se6User_Data
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], edi
call fcn.00410dc0
cmp dword [ebp - 0x70], ebx
je 0x477c24
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], esi
jae 0x477be5
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x477c24
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x80]
xor edx, edx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.0040f1f0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0xf4], 1
jmp 0x477c52
xor ecx, ecx
push ebx
mov word [ebp - 0x48], cx
push 0x4c42e8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.0040e680
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0x17
mov dword [ebp - 0xf4], 2
mov esi, dword [ebp - 0xfc]
xor edx, edx
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
push eax
mov ecx, esi
mov word [esi], dx
call fcn.00409ad0
mov eax, dword [ebp - 0xf4]
or eax, 4
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 0x16
test al, 2
je 0x477caa
and dword [ebp - 0xf4], 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x477c9e
mov eax, dword [ebp - 0x48]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov dword [ebp - 4], 0xa
test byte [ebp - 0xf4], 1
je 0x477cdf
and dword [ebp - 0xf4], 0xfffffffe
cmp dword [ebp - 0x18], 8
jb 0x477cd3
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x6c], 8
jb 0x477cf5
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00490458
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0xc0], 8
jb 0x477d1c
mov eax, dword [ebp - 0xd4]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], cx
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.004911d1
mov esp, ebp
pop ebp
ret