Function at 0x461be0
Capabilities:
Get common file path
Get program files directory
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x57c4a4
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x464]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x474]
mov esi, ecx
push str.SOFTWAREClientsStartMenuInternet
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
call fcn.00402390
xor edi, edi
mov dword [esp + 0x46c], edi
call fcn.00530e1f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x461c59
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x46c], 1
call fcn.00530e1f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x461c8b
push 0x80004005
call fcn.00401f70
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push edi
push 0x26
lea ecx, [esp + 0x25c]
push ecx
mov byte [esp + 0x478], 2
push edi
mov dword [esp + 0x44], edi
mov word [esp + 0x264], di
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x461d87
mov byte [esp + 0x46c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461d0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461d34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x46c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461d5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x464]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.00552101
add esp, 0x45c
ret
mov edx, dword [esp + 0x28]
push 0xfa
lea ecx, [esp + 0x58]
push ecx
push edi
push edx
mov dword [esp + 0x40], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
je 0x462168
lea esp, [esp]
cmp eax, edi
jne 0x46212e
push 0x5958a8
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
mov word [esp + 0x254], di
call fcn.00401ba0
lea edx, [esp + 0x60]
push edx
push eax
lea eax, [esp + 0x60]
mov bl, 3
push eax
mov byte [esp + 0x484], bl
call fcn.00401ba0
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x488], 4
mov eax, dword [eax]
push 0x592720
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00461750
mov byte [esp + 0x494], bl
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
add esp, 0x28
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461e36
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 2
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461e5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], edi
jne 0x461f09
push 0x5958a8
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00401ba0
lea ecx, [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x54]
mov bl, 5
push edx
mov byte [esp + 0x484], bl
call fcn.00401ba0
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x488], 6
mov eax, dword [eax]
push str.LocalizedString
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00461750
mov byte [esp + 0x494], bl
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
add esp, 0x28
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x461ee1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 2
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461f09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], edi
jne 0x461f3e
lea eax, [esp + 0x54]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x461f20
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x24]
call fcn.00402250
push 0x5958a8
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00401ba0
lea edx, [esp + 0x60]
push edx
push eax
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x484], 7
call fcn.00401ba0
push str._shellopencommand
push eax
lea ecx, [esp + 0x70]
mov bl, 8
push ecx
mov byte [esp + 0x490], bl
call fcn.00401ba0
lea edx, [esp + 0x3c]
push edx
mov byte [esp + 0x494], 9
mov eax, dword [eax]
push 0x592720
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00461750
mov byte [esp + 0x4a0], bl
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
add esp, 0x34
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461fcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x461ff7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46201f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x592720
push 0x5a7eb0
lea ecx, [esp + 0x20]
push ecx
call fcn.0041cd10
lea ebx, [esp + 0x18]
call fcn.00409830
mov edi, eax
call fcn.004098b0
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x462067
push esi
mov ecx, ebx
call fcn.00401fc0
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.005532dd
add esp, 8
test esi, esi
jl 0x462234
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x462234
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x18]
mov word [ecx + esi*2], 0
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], 0
jl 0x4620d1
push 0x5a7eb4
push eax
call fcn.00552eeb
add esp, 8
test eax, eax
je 0x4620d1
sub eax, dword [esp + 0x18]
sar eax, 1
js 0x4620d1
lea edx, [esp + 0x254]
push edx
push 0x5a7eb4
lea eax, [esp + 0x20]
push eax
call fcn.0041cd10
mov ecx, dword [esp + 0x18]
call fcn.004600b0
test eax, eax
je 0x46212c
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, ebp
call fcn.00539068
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 8]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00539068
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jl 0x46212c
push str.Internet_Explorer
push eax
call fcn.00552eeb
add esp, 8
test eax, eax
je 0x46212c
sub eax, dword [esp + 0x1c]
sar eax, 1
js 0x46212c
mov dword [esp + 0x34], 1
xor edi, edi
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push 0xfa
lea ecx, [esp + 0x58]
add eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x40], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
jne 0x461db0
cmp dword [esp + 0x34], edi
jne 0x462208
mov esi, dword [esp + 0x38]
mov eax, dword [ebp + 8]
push str.Internet_Explorer
push eax
mov ecx, ebp
call fcn.005390d4
lea eax, [esp + 0x254]
push eax
lea ecx, [esp + 0x30]
call fcn.00402390
push str.Internet_Exploreriexplore.exe
push eax
lea ecx, [esp + 0x2c]
mov bl, 0xa
push ecx
mov byte [esp + 0x478], bl
call fcn.00401ba0
add esp, 0xc
mov byte [esp + 0x46c], 0xb
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
call fcn.00539068
mov byte [esp + 0x46c], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4621e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x46c], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x462208
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x46c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x461d00
push 0x80070057
call fcn.00401f70
int3