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

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x63ae08
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x74f8a0]
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 0x41071c
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 0x410914
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 0x4107c6
push 0x672710
mov eax, dword [ebp - 0x14]
push eax
call edi
push 0x67270c
mov ecx, dword [ebp - 0x14]
push ecx
call edi
mov dword [ebp - 0x34], esi
xor eax, eax
cmp dword [0x754bc8], eax
je 0x4107ad
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 0x4107ad
cmp dword [ebp - 0x30], esi
jne 0x4107ad
cmp dword [ebp - 0x2c], esi
jne 0x4107ad
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 0x4107c6
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 0x41084a
push 0x672710
mov ecx, dword [ebp - 0x14]
push ecx
call edi
xor esi, esi
mov dword [ebp - 0x3c], esi
xor eax, eax
cmp dword [0x754bc8], eax
je 0x410831
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 0x410831
cmp dword [ebp - 0x28], eax
jne 0x410831
cmp dword [ebp - 0x1c], eax
jne 0x410831
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 0x41084a
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 0x4108d9
push 0x672710
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 0x67270c
mov edx, dword [ebp - 0x14]
push edx
call edi
xor esi, esi
mov dword [ebp - 0x38], esi
xor ebx, ebx
cmp dword [0x754bc8], ebx
je 0x4108c0
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 0x4108c0
cmp dword [ebp - 0x24], ebx
jne 0x4108c0
cmp dword [ebp - 0x20], ebx
jne 0x4108c0
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 0x4108d9
push str.ftp_
mov ecx, dword [ebp - 0x18]
push ecx
call edi
mov eax, 1
jmp 0x410916
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.0061807e
add ebp, 0x214
mov esp, ebp
pop ebp
ret