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

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x61b458
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x70a308]
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 0x41084c
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 0x410a44
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 0x4108f6
push 0x651810
mov eax, dword [ebp - 0x14]
push eax
call edi
push 0x65180c
mov ecx, dword [ebp - 0x14]
push ecx
call edi
mov dword [ebp - 0x34], esi
xor eax, eax
cmp dword [0x70f5e0], eax
je 0x4108dd
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 0x4108dd
cmp dword [ebp - 0x30], esi
jne 0x4108dd
cmp dword [ebp - 0x2c], esi
jne 0x4108dd
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 0x4108f6
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 0x41097a
push 0x651810
mov ecx, dword [ebp - 0x14]
push ecx
call edi
xor esi, esi
mov dword [ebp - 0x3c], esi
xor eax, eax
cmp dword [0x70f5e0], eax
je 0x410961
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 0x410961
cmp dword [ebp - 0x28], eax
jne 0x410961
cmp dword [ebp - 0x1c], eax
jne 0x410961
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 0x41097a
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 0x410a09
push 0x651810
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 0x65180c
mov edx, dword [ebp - 0x14]
push edx
call edi
xor esi, esi
mov dword [ebp - 0x38], esi
xor ebx, ebx
cmp dword [0x70f5e0], ebx
je 0x4109f0
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 0x4109f0
cmp dword [ebp - 0x24], ebx
jne 0x4109f0
cmp dword [ebp - 0x20], ebx
jne 0x4109f0
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 0x410a09
push str.ftp_
mov ecx, dword [ebp - 0x18]
push ecx
call edi
mov eax, 1
jmp 0x410a46
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.005f85e7
add ebp, 0x214
mov esp, ebp
pop ebp
ret