Function at 0x408a90
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411ee0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x1c], esi
mov ecx, dword [esi + 0x8b60]
mov dword [ebp - 0x10], esp
cmp ecx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 4], eax
je 0x408b51
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x68]
push eax
push str.ExtraPath__d
push ecx
call edi
add esp, 0xc
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x1ac]
lea ecx, [ebp - 0x24]
push edx
push eax
mov eax, dword [esi + 0x8b60]
push ecx
lea edx, [ebp - 0x68]
push 0
push edx
push eax
mov dword [ebp - 0x18], 0x103
call ebx
test eax, eax
je 0x408c0e
mov ecx, dword [esi + 0x8b60]
push 0
push ecx
mov ecx, esi
call fcn.00408770
mov ecx, esi
call fcn.004065b0
test eax, eax
je 0x408b62
mov edx, dword [esi + 0x8b64]
push 1
push edx
mov ecx, esi
call fcn.00408770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esi + 0x8734]
mov esi, 0x415080
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x408b97
test cl, cl
je 0x408b93
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x408b97
add eax, 2
add esi, 2
test cl, cl
jne 0x408b6f
xor eax, eax
jmp 0x408b9c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408bdc
mov esi, 0x415224
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x408bcf
test cl, cl
je 0x408bcb
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x408bcf
add eax, 2
add esi, 2
test cl, cl
jne 0x408ba7
xor eax, eax
jmp 0x408bd4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x408b51
mov esi, dword [ebp - 0x1c]
push str._BBOO__ExecuteProgram___start____
push 0
push esi
call fcn.00404400
add esp, 0xc
mov ecx, esi
push 1
push str.ConditionalDel
call fcn.0040a740
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x1ac]
push eax
push 0x20006
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x408c81
xor esi, esi
cmp esi, dword [ebp - 0x28]
jge 0x408c74
push esi
lea edx, [ebp - 0x68]
push str.ExtraKey__d
push edx
call edi
add esp, 0xc
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0xa8]
lea edx, [ebp - 0x24]
push eax
push ecx
mov ecx, dword [ebp - 0x1c]
push edx
lea eax, [ebp - 0x68]
push 0
mov edx, dword [ecx + 0x8b60]
push eax
push edx
mov dword [ebp - 0x18], 0x3f
call ebx
test eax, eax
je 0x408c9e
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x1ac]
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
call fcn.00408290
inc dword [ebp - 0x20]
jmp 0x408ae7
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x408cce
lea eax, [ebp - 0xa8]
push str.DEFAULT
push eax
call fcn.0040ff20
add esp, 8
test eax, eax
je 0x408cce
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0xa8]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc esi
jmp 0x408c31