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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push ebx
push esi
mov esi, 0x100
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x314]
push ebx
mov edi, ecx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x314]
push esi
push eax
push 0x67
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x214]
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
mov dword [ebp - 4], 1
pop ecx
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [edi + 0x38c]
test eax, eax
je 0x407987
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [edi + 0x3a0]
push esi
lea eax, [ebp - 0x214]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
inc dword [ebp - 4]
push eax
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x214]
push str._s__d
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0x10
jmp 0x407932
push 4
lea ecx, [edi + 0x7c]
pop eax
mov dword [ebp - 0xc], ebx
push esi
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
call fcn.00408ef0
push eax
push 0x6f
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 8]
lea ecx, [edi + 0x7c]
push eax
push 0xf003f
push ebx
call fcn.00408ef0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.AltNumCount
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 1
pop eax
cmp dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
jl 0x407b1d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push dword [ebp - 4]
push str.AltWebURL__d
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 8]
call ebx
push esi
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push dword [ebp - 4]
push str.TermsAndConditionsID__d
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 8]
call ebx
push esi
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push dword [ebp - 4]
push str.TermsAndConditionsURL__d
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 8]
call ebx
push esi
lea eax, [ebp - 0x114]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push dword [ebp - 4]
push str.TermsAndConditions_READ__d
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 8]
call ebx
push esi
lea eax, [ebp - 0x214]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [edi + 0x2c]
push dword [ebp - 4]
call fcn.00408ee3
push eax
lea eax, [ebp - 0x214]
push str._s__d
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0x10
lea eax, [ebp - 0x214]
push eax
push 0
call dword [edi + 0x3a0]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jle 0x4079f9
pop edi
pop esi
pop ebx
leave
ret