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

Disassembly:
mov eax, 0x43cdd0
call fcn.00432e40
sub esp, 0x220
lea eax, [ebp - 0x14]
push ebx
xor ebx, ebx
push eax
push 0xf003f
push ebx
push str.HTTPSHELL
mov dword [ebp - 0x1c], ecx
push closesocket
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41847b
xor al, al
jmp 0x41865c
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x22b]
mov byte [ebp - 0x22c], bl
mov esi, 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], esi
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x22c]
lea ecx, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::CString_1
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x127]
mov byte [ebp - 0x128], bl
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp - 0x20]
cmp dword [eax - 8], ebx
jne 0x418538
lea eax, [ebp - 0x128]
push esi
push eax
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, ebx
jne 0x4185b8
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4185b8
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.00418727
push dword [ebp - 0x10]
jmp 0x4185b2
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea eax, [ebp - 0x128]
push esi
push eax
push ebx
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x14]
call edi
cmp eax, ebx
jne 0x4185b8
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
test eax, eax
pop ecx
je 0x41857c
inc dword [ebp - 0x10]
lea eax, [ebp - 0x128]
push esi
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
jmp 0x41854d
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
push 0xf003f
push ebx
push ebx
lea eax, [ebp - 0x128]
push ebx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4185b8
push dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.00418727
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
mov eax, dword [esi]
cmp dword [eax - 8], ebx
je 0x41864c
push esi
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
push 0x5c
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebx
jge 0x4185f7
push 0x2f
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebx
jl 0x418625
mov ecx, dword [esi]
mov ecx, dword [ecx - 8]
sub ecx, eax
lea eax, [ebp - 0x1c]
dec ecx
push ecx
push eax
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push str.IEXPLORE.EXE
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
neg eax
pop ecx
mov byte [ebp - 4], bl
sbb al, al
pop ecx
inc al
lea ecx, [ebp - 0x18]
mov byte [ebp + 0xb], al
call sub.MFC42.DLL_CString::CString
mov bl, byte [ebp + 0xb]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
pop edi
mov al, bl
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4