Function at 0x476a40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c516a
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x4eb6b8]
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
mov dword [ebp - 0xfc], eax
xor ecx, ecx
mov edi, 7
push 0x33
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
lea esi, [ebp - 0xd4]
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], cx
call fcn.00415f60
mov dword [ebp - 4], 1
xor edx, edx
push 0xb
mov eax, str.DisplayIcon
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.00415f60
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.004159b0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xf8], SysReAllocString
call fcn.00402b00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, eax
call fcn.00479bf0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00412630
lea eax, [ebp - 0xf8]
push eax
lea edx, [ebp - 0x2c]
mov ecx, esi
lea ebx, [ebp - 0x80]
call fcn.00482680
mov byte [ebp - 4], 7
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x476b6a
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0049b30a
add esp, 4
mov edi, 7
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
mov byte [ebp - 4], 8
cmp dword [ebp - 0xa4], esi
jb 0x476b98
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], cx
mov byte [ebp - 4], 9
cmp dword [ebp - 0x88], 0x10
jb 0x476bc9
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0049b30a
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 0x476bf4
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x70], ebx
ja 0x476f10
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 0x476c40
lea edx, [ebp - 0xf8]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x476c4d
mov eax, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall
cmp dword [ebp - 0xf8], ebx
jne 0x476c52
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
xor ecx, ecx
mov word [ebp - 0x48], cx
mov ecx, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
lea edx, [ecx + 2]
mov si, word [ecx]
add ecx, 2
cmp si, bx
jne 0x476c63
sub ecx, edx
sar ecx, 1
push ecx
lea esi, [ebp - 0x48]
call fcn.00415f60
mov byte [ebp - 4], 0xb
xor edx, edx
push 0xb
mov eax, str.DisplayIcon
lea esi, [ebp - 0x9c]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
call fcn.00415f60
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.004159b0
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0xf8], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00402b00
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0xf0]
push edx
mov ecx, eax
call fcn.00479bf0
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0xf
call fcn.00412630
lea eax, [ebp - 0xf8]
push eax
lea edx, [ebp - 0x9c]
mov ecx, esi
lea ebx, [ebp - 0xb8]
call fcn.00482680
mov byte [ebp - 4], 0x10
mov edi, eax
lea esi, [ebp - 0x80]
call fcn.00413650
mov byte [ebp - 4], 0xf
mov esi, 8
cmp dword [ebp - 0xa4], esi
jb 0x476d4b
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.0049b30a
add esp, 4
mov edi, 7
xor ebx, ebx
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 0x476d82
mov eax, dword [ebp - 0xf0]
push eax
call fcn.0049b30a
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 0x476dac
mov edx, dword [ebp - 0x64]
push edx
call fcn.0049b30a
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 0x476dce
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049b30a
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 0x476df6
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0049b30a
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 0x476e58
call fcn.00412630
lea edx, [ebp - 0x64]
mov ecx, eax
call fcn.00482180
mov byte [ebp - 4], 0x11
mov edi, eax
lea esi, [ebp - 0x80]
call fcn.00413650
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x50], 8
jb 0x476e43
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0049b30a
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
jmp 0x476ee1
xor eax, eax
mov word [ebp - 0x2c], ax
push edi
mov eax, str.360se6
lea esi, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
call fcn.00415f60
mov byte [ebp - 4], 0x12
mov ecx, esi
push ecx
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x64]
call fcn.0046f6e0
add esp, 4
mov byte [ebp - 4], 0x13
mov edi, eax
lea esi, [ebp - 0x80]
call fcn.00413650
mov byte [ebp - 4], 0x12
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x476eaf
mov edx, dword [ebp - 0x64]
push edx
call fcn.0049b30a
add esp, 4
mov edi, 7
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 0x476ed5
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049b30a
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], 8
jb 0x476ef7
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], 7
xor ebx, ebx
lea esi, [ecx + 8]
lea edi, [ecx + 7]
jmp 0x476f95
xor edx, edx
push edi
mov eax, str.360se6
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
call fcn.00415f60
mov byte [ebp - 4], 0x14
mov eax, esi
push eax
lea edx, [ebp - 0x80]
lea ecx, [ebp - 0x64]
call fcn.0046f6e0
add esp, 4
mov byte [ebp - 4], 0x15
mov edi, eax
lea esi, [ebp - 0x80]
call fcn.00413650
mov byte [ebp - 4], 0x14
mov esi, 8
cmp dword [ebp - 0x50], esi
jb 0x476f67
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0049b30a
add esp, 4
mov edi, 7
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 0x476f8d
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049b30a
add esp, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
xor ecx, ecx
mov word [ebp - 0x48], cx
push 0x11
mov eax, str.360se6User_Data
lea ecx, [ebp - 0x80]
call fcn.004137b0
cmp dword [ebp - 0x70], ebx
je 0x476ff8
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], esi
jae 0x476fb8
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x476ff8
push ebx
lea eax, [ebp - 0x80]
xor edx, edx
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
call fcn.004138e0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0xf4], 1
jmp 0x477025
xor ecx, ecx
push ebx
mov eax, 0x4d5f38
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
call fcn.00415f60
mov eax, esi
mov dword [ebp - 4], 0x17
mov dword [ebp - 0xf4], 2
mov esi, dword [ebp - 0xfc]
mov dword [esi + 0x14], edi
xor edx, edx
mov dword [esi + 0x10], ebx
mov edi, eax
mov word [esi], dx
call fcn.00413650
mov eax, dword [ebp - 0xf4]
or eax, 4
mov dword [ebp - 0xf4], eax
mov dword [ebp - 4], 0x16
test al, 2
je 0x477083
and dword [ebp - 0xf4], 0xfffffffd
cmp dword [ebp - 0x34], 8
jb 0x477070
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049b30a
add esp, 4
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
jmp 0x477088
mov edi, 7
mov dword [ebp - 4], 0xa
test byte [ebp - 0xf4], 1
je 0x4770bd
and dword [ebp - 0xf4], 0xfffffffe
cmp dword [ebp - 0x18], 8
jb 0x4770b1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0049b30a
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 0x4770d3
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.0049b30a
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 0x4770fa
mov eax, dword [ebp - 0xd4]
push eax
call fcn.0049b30a
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.0049b315
mov esp, ebp
pop ebp
ret