Function at 0x431500
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fabd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
push 0x100
mov dword [ebp - 4], edi
call fcn.004f266a
add esp, 4
mov esi, eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push closesocket
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x238], 0
mov byte [ebp - 0x438], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4317e6
mov dword [ebp - 0x20], edi
mov edx, dword [ebp - 0x20]
push 0
push 0
mov eax, 0x80
push 0
lea ecx, [ebp - 0x34]
push 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x30]
push ecx
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
mov dword [ebp - 0x38], eax
je 0x4317d4
push esi
push str.CLSID
lea ecx, [ebp - 0x338]
push str._s_sInprocServer32
push ecx
call fcn.004f175f
mov ebx, edi
push esi
shl ebx, 4
sub ebx, edi
shl ebx, 4
sub ebx, edi
shl ebx, 2
call fcn.004fa6c0
push eax
lea edx, [ebx + 0xd0a174]
push str.HKCRCLSID_s
push edx
call fcn.004f175f
push esi
call fcn.004fa6c0
push eax
lea eax, [ebx + 0xd0a0d0]
push 0x50d39c
push eax
call fcn.004f175f
add esp, 0x30
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x338]
push ecx
push 0x20019
push 0
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x138]
push eax
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x28]
push ecx
push edx
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43165d
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43168c
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x238]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push esi
push eax
lea ecx, [ebp - 0x338]
push str._s_s
push ecx
call fcn.004f175f
add esp, 0x10
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x338]
push edx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x431706
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x138]
push ecx
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x431735
lea edi, [ebp - 0x138]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x438]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.004fa6c0
add esp, 4
push eax
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebx + 0xd0a218]
push eax
push str.HKLM
push str._s_s_s
push ecx
call fcn.004f175f
lea edx, [ebp - 0x438]
lea eax, [ebp - 0x238]
push edx
push eax
lea ecx, [ebx + 0xd0a360]
push str._s___s_
push ecx
call fcn.004f175f
lea edx, [ebp - 0x238]
lea eax, [ebx + 0xd0a2bc]
push edx
push 0x50d39c
push eax
call fcn.004f175f
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x30
push ecx
call ebx
mov edx, dword [ebp - 0x24]
push edx
call ebx
inc edi
cmp edi, 0xff
mov dword [ebp - 0x14], edi
jle 0x4317d1
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x20]
inc edx
cmp eax, 0x103
mov dword [ebp - 0x20], edx
jne 0x431571
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0xe56dfc], edi
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret