Function at 0x466ed4
Capabilities:
Delete registry value
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x466edd
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404594
mov eax, dword [ebp - 0xc]
call fcn.00404594
mov eax, dword [ebp + 0xc]
call fcn.004053bc
mov eax, dword [ebp + 8]
call fcn.004053bc
xor eax, eax
push ebp
push 0x467348
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41543c]
call fcn.004032e0
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x41543c]
call fcn.004032e0
mov dword [ebp - 0x18], eax
push dword [ebp - 8]
push 0x467360
push dword [ebp - 0xc]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404464
mov byte [ebp - 0x21], 0
mov eax, dword [ebp + 0xc]
call fcn.00405198
test eax, eax
jl 0x466fb7
inc eax
mov dword [ebp - 0x2c], eax
xor esi, esi
lea ebx, [esi + esi*2]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + ebx*4]
mov edx, dword [ebp - 0x1c]
call fcn.004044f0
jne 0x466fb1
mov eax, dword [ebp + 0xc]
push dword [eax + ebx*4 + 4]
push 0x46736c
push 0x467378
mov eax, dword [ebp + 0xc]
push dword [eax + ebx*4 + 8]
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00404464
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec dword [ebp - 0x2c]
jne 0x466f6e
mov eax, dword [ebp + 8]
call fcn.00405198
test eax, eax
jl 0x467012
inc eax
mov dword [ebp - 0x2c], eax
xor esi, esi
lea ebx, [esi + esi*2]
mov eax, dword [ebp + 8]
mov eax, dword [eax + ebx*4]
mov edx, dword [ebp - 0x1c]
call fcn.004044f0
jne 0x46700c
mov eax, dword [ebp + 8]
push dword [eax + ebx*4 + 4]
push 0x46736c
push 0x467378
mov eax, dword [ebp + 8]
push dword [eax + ebx*4 + 8]
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00404464
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec dword [ebp - 0x2c]
jne 0x466fc9
lea eax, [ebp - 0x20]
call fcn.004040e4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x467030
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4672bb
inc eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4672b1
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x40]
pop eax
call fcn.004044f0
je 0x4672b1
mov ebx, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, dword [ebp - 0x10]
jne 0x4672a5
dec ebx
jne 0x4672a5
mov byte [ebp - 0x21], 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x44]
mov eax, 0x46736c
call fcn.004046e8
dec eax
push eax
lea ecx, [ebp - 0x48]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x48]
mov edx, 1
pop ecx
call fcn.00404604
mov ecx, dword [0x46c478]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x467934]
call fcn.0044e744
mov ebx, eax
mov edx, 0x467384
mov eax, dword [ebx + 0x31c]
call fcn.004369dc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x320]
call fcn.004369dc
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 0x320]
call fcn.004369ac
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebx + 0x320]
add eax, 0x80
call fcn.00404138
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x324]
call fcn.004369dc
lea edx, [ebp - 0x50]
mov eax, dword [ebx + 0x324]
call fcn.004369ac
mov edx, dword [ebp - 0x50]
mov eax, dword [ebx + 0x324]
add eax, 0x80
call fcn.00404138
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x58]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x58]
call fcn.004043a4
push eax
lea ecx, [ebp - 0x5c]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x5c]
mov eax, 0x467378
call fcn.004046e8
pop edx
sub edx, eax
push edx
lea ecx, [ebp - 0x60]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x60]
mov eax, 0x467378
call fcn.004046e8
inc eax
push eax
lea ecx, [ebp - 0x64]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x64]
pop edx
pop ecx
call fcn.00404604
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0x328]
call fcn.004369dc
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x328]
call fcn.004369ac
mov edx, dword [ebp - 0x68]
mov eax, dword [ebx + 0x328]
add eax, 0x80
call fcn.00404138
mov eax, dword [0x46c478]
mov eax, dword [eax]
call fcn.00455054
mov eax, dword [0x46c478]
mov eax, dword [eax]
call fcn.00455b0c
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xec]
cmp eax, 7
jne 0x467266
lea eax, [ebp - 0x28]
push eax
push 2
push 0
mov eax, dword [ebp - 0xc]
call fcn.004045a4
push eax
mov eax, dword [ebp - 8]
call fcn.00467e04
push eax
call sub.advapi32.dll_RegOpenKeyExA_1
mov eax, dword [ebp - 0x20]
call fcn.004045a4
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.advapi32.dll_RegDeleteValueA
jmp 0x46728c
mov eax, 0x46e048
mov edx, dword [0x46624c]
call fcn.00405358
mov eax, 0x46e048
mov edx, dword [0x46e04c]
mov ecx, dword [0x46624c]
call fcn.00405394
mov eax, ebx
call fcn.00403310
push 0
mov eax, dword [0x46c478]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
inc dword [ebp - 0x10]
dec dword [ebp - 0x30]
jne 0x467063
inc esi
dec dword [ebp - 0x2c]
jne 0x467047
cmp byte [ebp - 0x21], 0
jne 0x4672de
mov eax, 0x46e048
mov edx, dword [0x46624c]
call fcn.00405358
mov edx, 0x46e048
mov eax, dword [ebp - 4]
call fcn.0046683c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46734f
lea eax, [ebp - 0x68]
call fcn.004040e4
lea eax, [ebp - 0x64]
mov edx, 5
call fcn.00404108
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00404108
lea eax, [ebp - 0x48]
mov edx, 6
call fcn.00404108
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404108
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404108
lea eax, [ebp + 8]
mov edx, dword [0x46624c]
mov ecx, 2
call fcn.00404b6c
ret