Function at 0x416c70
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e60db
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x519220]
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 esi, ecx
mov dword [ebp - 0x568], esi
push 0x208
push 0
push esi
call fcn.00491400
push 1
lea ecx, [ebp - 0x440]
xor ebx, ebx
call fcn.0043c410
add esp, 0x10
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x430]
test edi, edi
je 0x416da5
push 0x208
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.00491400
cmp dword [ebp - 0x42c], 8
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x56c], 0x104
cmovae ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x220]
push ecx
push 0x104
push eax
call fcn.004d63a9
lea esi, [ebp - 0x220]
add esp, 0x1c
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x416d30
sub esi, ecx
mov eax, 1
sar esi, 1
dec esi
cmp word [ebp - 0x220], 0x22
cmove ebx, eax
cmp esi, ebx
jle 0x416d9d
lea edi, [ebp + esi*2 - 0x224]
nop dword [eax + eax]
push 3
push edi
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push 4
push eax
movq qword [ebp - 0x18], xmm0
call fcn.004d63a9
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
push 0x503f30
push eax
call fcn.004ba77a
add esp, 0x18
test eax, eax
je 0x416efa
dec esi
sub edi, 2
cmp esi, ebx
jg 0x416d60
mov esi, dword [ebp - 0x568]
xor ebx, ebx
lea eax, [ebp - 0x568]
mov dword [ebp - 0x568], 0
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x416e2e
push 0x208
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.00491400
add esp, 0xc
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.ProgramFilesDir
push dword [ebp - 0x568]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x416e2e
lea eax, [ebp - 0x428]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push esi
call fcn.00415690
add esp, 0x10
mov ebx, 1
mov eax, dword [ebp - 0x568]
test eax, eax
je 0x416e3f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x416ed1
push 0x4fc154
lea ecx, [ebp - 0x564]
call fcn.00403f90
push esi
lea eax, [ebp - 0x564]
push 0x50258c
push eax
call fcn.00405280
push 0x4fc154
lea eax, [ebp - 0x564]
push 0x50258c
push eax
call fcn.00405280
cmp byte [ebp - 0x448], 0
lea eax, [ebp - 0x558]
cmove eax, dword [ebp - 0x55c]
add eax, 4
push eax
push 0x104
push esi
call fcn.004ba9d2
add esp, 0x24
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
cmp byte [ebp - 0x448], 0
jne 0x416ed1
mov eax, dword [ebp - 0x55c]
lea ecx, [ebp - 0x558]
cmp eax, ecx
je 0x416ed1
push eax
call fcn.0049c7b1
add esp, 4
lea ecx, [ebp - 0x440]
call fcn.0041e8e0
mov eax, ebx
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.0048f1b0
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00491400
sub esi, ebx
lea edi, [ebp - 0x220]
inc esi
lea edi, [edi + ebx*2]
push esi
push edi
lea eax, [ebp - 0x428]
push 0x104
push eax
call fcn.004d63a9
add esp, 0xc
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x564]
push 0
push eax
call fcn.0040f6f0
cmp byte [ebp - 0x448], 0
lea eax, [ebp - 0x558]
cmove eax, dword [ebp - 0x55c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416f8c
shr eax, 4
not al
and al, 1
je 0x416f8c
push esi
mov esi, dword [ebp - 0x568]
push edi
push 0x104
push esi
call fcn.004d63a9
add esp, 0x10
mov ebx, 1
jmp 0x416f94
mov esi, dword [ebp - 0x568]
xor ebx, ebx
cmp byte [ebp - 0x448], 0
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
jne 0x416fc0
mov eax, dword [ebp - 0x55c]
lea ecx, [ebp - 0x558]
cmp eax, ecx
je 0x416fc0
push eax
call fcn.0049c7b1
add esp, 4
test ebx, ebx
jne 0x416e47
jmp 0x416da5