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

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x643988
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 0x41083c
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 0x410a34
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 0x4108e6
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 0x4108cd
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 0x4108cd
cmp dword [ebp - 0x30], esi
jne 0x4108cd
cmp dword [ebp - 0x2c], esi
jne 0x4108cd
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 0x4108e6
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 0x41096a
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 0x410951
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 0x410951
cmp dword [ebp - 0x28], eax
jne 0x410951
cmp dword [ebp - 0x1c], eax
jne 0x410951
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 0x41096a
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 0x4109f9
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 0x4109e0
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 0x4109e0
cmp dword [ebp - 0x24], ebx
jne 0x4109e0
cmp dword [ebp - 0x20], ebx
jne 0x4109e0
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 0x4109f9
push str.ftp_
mov ecx, dword [ebp - 0x18]
push ecx
call edi
mov eax, 1
jmp 0x410a36
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.00620b8d
add ebp, 0x214
mov esp, ebp
pop ebp
ret