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

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x638598
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x74d890]
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 0x4103ec
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 0x4105e4
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 0x410496
push 0x670708
mov eax, dword [ebp - 0x14]
push eax
call edi
push 0x670704
mov ecx, dword [ebp - 0x14]
push ecx
call edi
mov dword [ebp - 0x34], esi
xor eax, eax
cmp dword [0x752ba8], eax
je 0x41047d
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 0x41047d
cmp dword [ebp - 0x30], esi
jne 0x41047d
cmp dword [ebp - 0x2c], esi
jne 0x41047d
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 0x410496
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 0x41051a
push 0x670708
mov ecx, dword [ebp - 0x14]
push ecx
call edi
xor esi, esi
mov dword [ebp - 0x3c], esi
xor eax, eax
cmp dword [0x752ba8], eax
je 0x410501
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 0x410501
cmp dword [ebp - 0x28], eax
jne 0x410501
cmp dword [ebp - 0x1c], eax
jne 0x410501
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 0x41051a
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 0x4105a9
push 0x670708
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 0x670704
mov edx, dword [ebp - 0x14]
push edx
call edi
xor esi, esi
mov dword [ebp - 0x38], esi
xor ebx, ebx
cmp dword [0x752ba8], ebx
je 0x410590
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 0x410590
cmp dword [ebp - 0x24], ebx
jne 0x410590
cmp dword [ebp - 0x20], ebx
jne 0x410590
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 0x4105a9
push str.ftp_
mov ecx, dword [ebp - 0x18]
push ecx
call edi
mov eax, 1
jmp 0x4105e6
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.006157d3
add ebp, 0x214
mov esp, ebp
pop ebp
ret