Function at 0x410330
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x643058
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push esi
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
push 0x80000001
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4103ac
push str.Download_with_IDMan
mov ecx, dword [ebp - 0x18]
push ecx
call edi
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push esi
push str.SoftwareClassesPROTOCOLSName_Space_Handler_
push 0x80000002
call ebx
cmp eax, esi
jne 0x4105a4
lea ecx, [ebp - 0x14]
push ecx
push 0xf003f
push esi
push str.http_
mov edx, dword [ebp - 0x18]
push edx
call ebx
cmp eax, esi
jne 0x410456
push 0x67b708
mov eax, dword [ebp - 0x14]
push eax
call edi
push 0x67b704
mov ecx, dword [ebp - 0x14]
push ecx
call edi
mov dword [ebp - 0x34], esi
xor eax, eax
cmp dword [0x75dbb8], eax
je 0x41043d
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
push eax
push eax
push eax
push eax
lea edx, [ebp - 0x30]
push edx
push eax
push eax
lea ecx, [ebp - 0x2c]
push ecx
push eax
push eax
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x41043d
cmp dword [ebp - 0x30], esi
jne 0x41043d
cmp dword [ebp - 0x2c], esi
jne 0x41043d
mov esi, 1
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x410456
push str.http_
mov ecx, dword [ebp - 0x18]
push ecx
call edi
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
push str.https_
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x4104da
push 0x67b708
mov ecx, dword [ebp - 0x14]
push ecx
call edi
xor esi, esi
mov dword [ebp - 0x3c], esi
xor eax, eax
cmp dword [0x75dbb8], eax
je 0x4104c1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
push eax
push eax
push eax
push eax
lea edx, [ebp - 0x28]
push edx
push eax
push eax
lea ecx, [ebp - 0x1c]
push ecx
push eax
push eax
push eax
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4104c1
cmp dword [ebp - 0x28], eax
jne 0x4104c1
cmp dword [ebp - 0x1c], eax
jne 0x4104c1
mov esi, 1
mov dword [ebp - 0x3c], esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4104da
push str.https_
mov ecx, dword [ebp - 0x18]
push ecx
call edi
lea edx, [ebp - 0x14]
push edx
push 0xf003f
push 0
push str.ftp_
mov eax, dword [ebp - 0x18]
push eax
call ebx
test eax, eax
jne 0x410569
push 0x67b708
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 0x67b704
mov edx, dword [ebp - 0x14]
push edx
call edi
xor esi, esi
mov dword [ebp - 0x38], esi
xor ebx, ebx
cmp dword [0x75dbb8], ebx
je 0x410550
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x20]
push ecx
push ebx
push ebx
push ebx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x410550
cmp dword [ebp - 0x24], ebx
jne 0x410550
cmp dword [ebp - 0x20], ebx
jne 0x410550
mov esi, 1
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x410569
push str.ftp_
mov ecx, dword [ebp - 0x18]
push ecx
call edi
mov eax, 1
jmp 0x4105a6
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x214
mov esp, ebp
pop ebp
ret