Function at 0x401590
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42721b
push eax
mov eax, 0x4010
mov dword fs:[0], esp
call fcn.0040de70
push ebp
push esi
push edi
call fcn.00401510
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x431770]
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], 0x2000
mov dword [esp + 0x10], eax
push str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
lea ecx, [esp + 0x14]
mov dword [esp + 0x4028], 0
call fcn.0041d8d9
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push edx
push SysReAllocString
call esi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x401710
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x201d]
mov byte [esp + 0x201c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x14]
lea ecx, [esp + 0x201c]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.Progid
push eax
mov dword [esp + 0x2c], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401710
lea edi, [esp + 0x201c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401710
mov ecx, dword [esp + 0xc]
push ecx
call ebp
lea edx, [esp + 0x201c]
lea eax, [esp + 0x10]
push edx
push str._s_shellopencommand
push eax
call fcn.0041b7a7
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push edx
push SysReAllocString
call esi
test eax, eax
jne 0x401710
mov ecx, 0x800
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0
push eax
mov dword [esp + 0x2c], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x4017ff
mov edx, dword [esp + 0xc]
push edx
call ebp
push str.http_shellopencommand
lea ecx, [esp + 0x14]
call fcn.0041d8d9
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call esi
test eax, eax
jne 0x401788
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401788
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401788
mov edx, dword [esp + 0xc]
mov ecx, 0x800
lea esi, [esp + 0x1c]
mov edi, 0x43d7d0
rep movsd dword es:[edi], dword [esi]
push edx
jmp 0x401814
mov eax, dword [esp + 0xc]
push eax
call ebp
push str.ActivatableClassesPackageDefaultBrowser_NOPUBLISHERIDServerDefaultBrowserServer
lea ecx, [esp + 0x14]
call fcn.0041d8d9
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push 0
push edx
push SysReAllocString
call esi
test eax, eax
jne 0x401831
mov ecx, 0x800
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.ExePath
push eax
mov dword [esp + 0x2c], 0x2000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401831
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401831
mov ecx, 0x800
lea esi, [esp + 0x1c]
mov edi, 0x43d7d0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
push ecx
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x4024], 0xffffffff
call fcn.0041d750
mov eax, 1
jmp 0x40184e
mov edx, dword [esp + 0xc]
push edx
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x4024], 0xffffffff
call fcn.0041d750
xor eax, eax
mov ecx, dword [esp + 0x401c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x401c
ret