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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e04eb
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x513200]
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.0048bb90
push 1
lea ecx, [ebp - 0x440]
xor ebx, ebx
call fcn.00438710
add esp, 0x10
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x430]
test edi, edi
je 0x415ac5
push 0x208
lea eax, [ebp - 0x220]
push ebx
push eax
call fcn.0048bb90
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.004d0b39
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 0x415a50
sub esi, ecx
mov eax, 1
sar esi, 1
dec esi
cmp word [ebp - 0x220], 0x22
cmove ebx, eax
cmp esi, ebx
jle 0x415abd
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.004d0b39
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
push 0x4fdb88
push eax
call fcn.004b4f0a
add esp, 0x18
test eax, eax
je 0x415c1a
dec esi
sub edi, 2
cmp esi, ebx
jg 0x415a80
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 0x415b4e
push 0x208
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0048bb90
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 0x415b4e
lea eax, [ebp - 0x428]
push eax
push str._sInternet_ExplorerIEXPLORE.exe
push 0x104
push esi
call fcn.004143b0
add esp, 0x10
mov ebx, 1
mov eax, dword [ebp - 0x568]
test eax, eax
je 0x415b5f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x415bf1
push 0x4f6054
lea ecx, [ebp - 0x564]
call fcn.00403600
push esi
lea eax, [ebp - 0x564]
push 0x4fc47c
push eax
call fcn.004048f0
push 0x4f6054
lea eax, [ebp - 0x564]
push 0x4fc47c
push eax
call fcn.004048f0
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.004b5162
add esp, 0x24
mov dword [ebp - method.t_str.virtual_0], vtable.t_str.0
cmp byte [ebp - 0x448], 0
jne 0x415bf1
mov eax, dword [ebp - 0x55c]
lea ecx, [ebp - 0x558]
cmp eax, ecx
je 0x415bf1
push eax
call fcn.00496f41
add esp, 4
lea ecx, [ebp - 0x440]
call fcn.0041c300
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.00489940
mov esp, ebp
pop ebp
ret
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.0048bb90
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.004d0b39
add esp, 0xc
lea eax, [ebp - 0x428]
lea ecx, [ebp - 0x564]
push 0
push eax
call fcn.0040e650
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 0x415cac
shr eax, 4
not al
and al, 1
je 0x415cac
push esi
mov esi, dword [ebp - 0x568]
push edi
push 0x104
push esi
call fcn.004d0b39
add esp, 0x10
mov ebx, 1
jmp 0x415cb4
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 0x415ce0
mov eax, dword [ebp - 0x55c]
lea ecx, [ebp - 0x558]
cmp eax, ecx
je 0x415ce0
push eax
call fcn.00496f41
add esp, 4
test ebx, ebx
jne 0x415b67
jmp 0x415ac5