Function at 0x41de60
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4a5c3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x32c
push ebp
mov ebp, dword [esp + 0x340]
lea eax, [esp + 8]
mov dword [esp + 0x18], 0x104
push eax
push ebp
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x41dea7
xor eax, eax
jmp 0x41e431
mov eax, dword [esp + 0x344]
push ebx
push esi
push edi
test eax, eax
je 0x41e03d
call fcn.0049e6af
mov eax, dword [eax + 8]
lea ecx, [esp + 0x239]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41e41c
mov edi, str.____1_
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x238]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x238], 0x22
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0xd
push str.MyIE
mov ecx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push eax
mov eax, dword [esp + 0x24]
and ecx, 3
push 0x4dc430
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push str.open
push eax
call esi
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4d5350
push eax
call esi
lea edi, [esp + 0x238]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x23c]
push ecx
push 1
push eax
push 0x4dc430
push edx
call ebx
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call ebp
mov ecx, dword [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x28]
lea eax, [esp + 0x10]
push edx
mov ecx, dword [esp + 0x18]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.MyIE
push ecx
call esi
lea edx, [esp + 0x28]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x4d5350
push ecx
call esi
lea edi, [esp + 0x238]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x238]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 1
push eax
mov eax, dword [esp + 0x2c]
push 0x4dc430
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call ebp
mov edx, dword [esp + 0x1c]
push edx
call ebp
jmp 0x41e422
push str.ProgramFilesDir
push str.SOFTWAREMicrosoftWindowsCurrentVersion
lea eax, [esp + 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.00410330
add esp, 0x10
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x344], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41e0e1
lea edx, [esp + 0x2c]
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.00487a03
mov eax, dword [eax]
mov esi, 0x4d441c
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41e0ae
test cl, cl
je 0x41e0aa
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41e0ae
add eax, 2
add esi, 2
test cl, cl
jne 0x41e086
xor eax, eax
jmp 0x41e0b3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
lea ecx, [esp + 0x2c]
setne bl
call fcn.0048f641
test bl, bl
je 0x41e0d3
push 0x4d441c
lea ecx, [esp + 0x1c]
call fcn.0048fa1d
push str.Internet_Exploreriexplore.exe
lea ecx, [esp + 0x1c]
call fcn.0048fa1d
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x134]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.MyIEcommand
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea eax, [esp + 0x134]
and ecx, 3
push eax
push connect
rep movsb byte es:[edi], byte [esi]
call ebx
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x134]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4d52dc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x134]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push connect
call ebx
or ecx, 0xffffffff
lea edx, [esp + 0x134]
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x4d441c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x138]
push ecx
call fcn.00477c10
mov byte [eax], 0
mov edi, str.DefaultIcon
or ecx, 0xffffffff
xor eax, eax
add esp, 8
lea edx, [esp + 0x134]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x138]
push ecx
push connect
call ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x41e30a
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
lea eax, [esp + 0x30]
push edx
push eax
push 0
push 0
push 0x4dc430
push ecx
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x30]
push str.MyIE
push edx
call fcn.00477c10
add esp, 8
test eax, eax
je 0x41e2fb
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x30]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x30]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4d52c8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x30]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push 1
push 0
push 0x4dc430
push ecx
call ebx
mov edx, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call esi
jmp 0x41e310
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.opennew
push ecx
call ebp
test eax, eax
jne 0x41e342
mov edx, dword [esp + 0x14]
push 7
push str.opennew
push 1
push eax
push 0x4dc430
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call esi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push str.open
push edx
call ebp
test eax, eax
jne 0x41e408
push 5
push str.open
push 1
push eax
mov eax, dword [esp + 0x24]
push 0x4dc430
push eax
call ebx
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push str.opencommand
push eax
call ebp
test eax, eax
jne 0x41e401
lea ecx, [esp + 0x24]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push 0x4dc430
push eax
mov dword [esp + 0x3c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x30]
push str.MyIE
push ecx
call fcn.00477c10
add esp, 8
test eax, eax
je 0x41e401
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x30]
push edx
push str.__s____1
push eax
call fcn.00478405
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [esp + 0x20]
dec ecx
push ecx
lea ecx, [esp + 0x34]
push ecx
push 1
push eax
push 0x4dc430
push edx
call ebx
mov eax, dword [esp + 0x10]
push eax
call esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x344], 0xffffffff
call fcn.0048f641
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
push ecx
call ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x330]
pop ebp
mov dword fs:[0], ecx
add esp, 0x338
ret 8