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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4839c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 0x100
mov dword [ebp - 4], ebx
call fcn.0047afc7
add esp, 4
mov esi, eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], esi
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push closesocket
mov byte [ebp - 0x238], bl
mov byte [ebp - 0x438], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4339b8
mov dword [ebp - 0x20], ebx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
push 0
push ecx
push esi
mov edi, 0x80
push edx
push eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
mov dword [ebp - 0x38], eax
je 0x4339a4
push esi
push str.CLSID
lea ecx, [ebp - 0x338]
push str._s_sInprocServer32
push ecx
call fcn.0047a8f8
lea edx, [ebx + ebx*4]
push esi
lea eax, [ebx + edx*2]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*4]
shl edi, 2
mov dword [ebp - 0x14], edi
call fcn.00483565
push eax
lea ecx, [edi + 0x5f2ed0]
push str.HKEY_CLASSES_ROOTCLSID_s
push ecx
call fcn.0047a8f8
push esi
call fcn.00483565
push eax
lea edx, [edi + 0x5f2e50]
push 0x48b2f4
push edx
call fcn.0047a8f8
add esp, 0x30
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x338]
push eax
push 0x20019
push 0
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x138]
push edx
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x43382b
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 0x43385a
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 esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push esi
push eax
lea ecx, [ebp - 0x338]
push 0x4966e0
push ecx
call fcn.0047a8f8
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 0x4338d4
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 0x433903
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 esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
push esi
call fcn.00483565
add esp, 4
push eax
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push eax
call fcn.00483565
add esp, 4
lea ecx, [edi + 0x5f2f50]
push eax
push str.HKEY_LOCAL_MACHINE
push str._s_s_s
push ecx
call fcn.0047a8f8
lea edx, [ebp - 0x438]
lea eax, [ebp - 0x238]
push edx
push eax
lea ecx, [edi + 0x5f3098]
push str._s___s_
push ecx
call fcn.0047a8f8
lea edx, [ebp - 0x238]
lea eax, [edi + 0x5f2ff4]
push edx
push 0x48b2f4
push eax
call fcn.0047a8f8
mov ecx, dword [ebp - 0x2c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x30
push ecx
call edi
mov edx, dword [ebp - 0x24]
push edx
call edi
inc ebx
cmp ebx, 0x100
jle 0x43399c
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 edi, 0x80
mov edx, dword [ebp - 0x20]
inc edx
cmp eax, 0x103
mov dword [ebp - 0x20], edx
jne 0x43373c
jmp 0x4339bd
mov edi, 0x80
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x30]
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellExecuteHooks
push ecx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x433c53
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x30]
push 0
push 0
push 0
lea edx, [ebp - 0x34]
push 0
push edx
push esi
push eax
push ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
mov dword [ebp - 0x38], eax
je 0x433c41
push esi
push str.CLSID
lea edx, [ebp - 0x338]
push str._s_sInprocServer32
push edx
call fcn.0047a8f8
lea eax, [ebx + ebx*4]
push esi
lea eax, [ebx + eax*2]
lea ecx, [eax + eax*4]
lea edi, [ebx + ecx*4]
shl edi, 2
mov dword [ebp - 0x14], edi
call fcn.00483565
push eax
lea edx, [edi + 0x5f2ed0]
push str.HKEY_CLASSES_ROOTCLSID_s
push edx
call fcn.0047a8f8
push esi
call fcn.00483565
push eax
lea eax, [edi + 0x5f2e50]
push 0x48b2f4
push eax
call fcn.0047a8f8
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 0x433ad8
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 0x433b07
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 esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellExecuteHooks
lea ecx, [ebp - 0x338]
push eax
push 0x48b2f4
push ecx
call fcn.0047a8f8
add esp, 0xc
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 esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x433b7e
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 esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x433bad
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 esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x14]
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellExecuteHooks
push eax
call fcn.00483565
push eax
push str.HKEY_LOCAL_MACHINE
lea ecx, [edi + 0x5f2f50]
push 0x4966e0
push ecx
call fcn.0047a8f8
lea edx, [ebp - 0x438]
lea eax, [ebp - 0x238]
push edx
push eax
lea ecx, [edi + 0x5f3098]
push str._s___s_
push ecx
call fcn.0047a8f8
lea edx, [ebp - 0x238]
lea eax, [edi + 0x5f2ff4]
push edx
push 0x48b2f4
push eax
call fcn.0047a8f8
mov ecx, dword [ebp - 0x2c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x30
push ecx
call edi
mov edx, dword [ebp - 0x24]
push edx
call edi
inc ebx
cmp ebx, 0x100
jle 0x433c39
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 edi, 0x80
mov edx, dword [ebp - 0x20]
inc edx
cmp eax, 0x103
mov dword [ebp - 0x20], edx
jne 0x4339ee
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x65cd44], ebx
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