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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x46d379
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4901d0]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x46d344
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov eax, dword [0x4901d0]
call fcn.0040b420
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
mov edx, dword [0x49021c]
mov eax, dword [0x490214]
call fcn.00470f34
test al, al
je 0x46d338
mov edx, dword [ebp - 0x28]
mov al, 0xb
call fcn.0047503c
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x20]
call fcn.00470bc8
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
call fcn.004737f0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
call fcn.004737f0
mov al, byte [0x48eb48]
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 0x34]
test byte [eax + 0x40], 4
je 0x46cd74
mov byte [ebp - 0x21], 1
mov eax, dword [ebp - 0x34]
test byte [eax + 0x40], 8
je 0x46cd94
cmp byte [0x490230], 0
jne 0x46cd90
mov eax, 0x46d390
call fcn.00451710
mov byte [ebp - 0x21], 2
mov byte [ebp - 0x29], 0
xor edx, edx
push ebp
push 0x46d21f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 0x40
je 0x46cdd3
mov eax, dword [ebp - 0x20]
call fcn.0046cad8
test al, al
je 0x46cdd3
mov eax, dword [ebp - 0x20]
call fcn.00403750
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
mov al, byte [ebp - 0x21]
call fcn.0042dcc0
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 0x40
je 0x46cde9
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x3e], 0
je 0x46d215
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 0x80
je 0x46ce43
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x3e], 0
jne 0x46ce43
push 0
push 2
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403750
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
mov al, byte [ebp - 0x21]
call fcn.0042dc1c
test eax, eax
jne 0x46d215
mov eax, dword [ebp - 0xc]
call fcn.00403750
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004057c4
mov eax, dword [ebp - 4]
push eax
call fcn.004057ac
jmp 0x46d215
mov eax, dword [ebp - 0x34]
movsx eax, word [eax + 0x3c]
push eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
mov al, byte [ebp - 0x21]
call fcn.0046cafc
mov eax, dword [ebp - 0x34]
test byte [eax + 0x40], 2
jne 0x46ced6
push 0
push 0
push 0
push 3
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403750
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
mov al, byte [ebp - 0x21]
call fcn.0042dbe4
mov ebx, eax
test ebx, ebx
jne 0x46ceba
cmp dword [ebp - 8], 1
jne 0x46cf2b
mov eax, dword [ebp - 0x34]
movsx eax, word [eax + 0x3c]
push eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
mov al, byte [ebp - 0x21]
call fcn.0046cafc
jmp 0x46cf2b
mov eax, dword [ebp - 0x34]
test byte [eax + 0x40], 1
jne 0x46cf2b
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
mov al, 1
call fcn.00468af8
jmp 0x46cf2b
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x3e], 0
je 0x46cf26
push 0
push 3
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00403750
mov ecx, eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
mov al, byte [ebp - 0x21]
call fcn.0042dc1c
mov ebx, eax
test ebx, ebx
je 0x46cf2b
cmp ebx, 2
je 0x46cf2b
mov eax, dword [ebp - 0x34]
test byte [eax + 0x40], 1
jne 0x46cf2b
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
mov al, 2
call fcn.00468af8
jmp 0x46cf2b
mov ebx, 2
test ebx, ebx
jne 0x46d215
xor edx, edx
push ebp
push 0x46d20e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 0x80
je 0x46cf5c
mov eax, dword [ebp - 0xc]
call fcn.00403750
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004057c4
mov eax, dword [ebp - 0x34]
cmp byte [eax + 0x3e], 0
je 0x46d1f7
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 1
je 0x46cf8c
mov eax, dword [ebp - 0xc]
call fcn.00403750
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0042db64
test al, al
jne 0x46d1f7
mov eax, dword [ebp - 0x34]
mov al, byte [eax + 0x3e]
mov edx, eax
dec edx
sub dl, 2
jb 0x46cfb0
je 0x46d152
dec dl
je 0x46d1a9
dec dl
jne 0x46d1f7
mov ebx, 1
mov edx, eax
sub dl, 2
je 0x46cfc3
sub dl, 3
je 0x46cfca
jmp 0x46cfcf
mov ebx, 2
jmp 0x46cfcf
mov ebx, 7
cmp al, 5
je 0x46d06e
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 8]
mov eax, 0x46d3d8
call fcn.00403874
test eax, eax
je 0x46d004
mov eax, dword [ebp - 0xc]
call fcn.00403750
mov edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042db4c
test al, al
jne 0x46d00c
lea eax, [ebp - 0x14]
call fcn.00403418
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 0x20
je 0x46d044
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403750
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004057ec
test eax, eax
jne 0x46d044
cmp dword [ebp - 0x18], 1
je 0x46d041
cmp dword [ebp - 0x18], 2
jne 0x46d044
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
mov eax, 0x46d3ec
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x3c]
mov ecx, 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
call fcn.00473810
jmp 0x46d0fd
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 8]
mov eax, 0x46d3d8
call fcn.00403874
test eax, eax
je 0x46d09b
mov eax, dword [ebp - 0xc]
call fcn.00403750
mov edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042db58
test al, al
jne 0x46d0a3
lea eax, [ebp - 0x14]
call fcn.00403418
lea eax, [ebp - 0x10]
push eax
mov eax, 0x46d3ec
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x48], eax
mov eax, 0x46d3fc
mov dword [ebp - 0x44], eax
mov eax, 0x46d40c
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x4c]
mov ecx, 3
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
call fcn.00473810
cmp dword [ebp - 0x10], 0
je 0x46d0fd
mov eax, dword [ebp - 0x10]
call fcn.0040358c
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0
je 0x46d0fd
lea eax, [ebp - 0x10]
mov edx, 0x46d40c
call fcn.00403594
mov eax, dword [ebp - 0x10]
call fcn.0040358c
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403750
push eax
push ebx
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403750
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004057f4
mov ebx, eax
test ebx, ebx
je 0x46d1f7
mov eax, dword [ebp - 0x34]
test byte [eax + 0x40], 1
jne 0x46d1f7
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
xor eax, eax
call fcn.00468af8
jmp 0x46d1f7
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
call fcn.004737f0
mov eax, dword [ebp - 0x50]
call fcn.00406d30
mov dword [ebp - 0x1c], eax
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403750
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004057f4
mov ebx, eax
test ebx, ebx
je 0x46d1f7
mov eax, dword [ebp - 0x34]
test byte [eax + 0x40], 1
jne 0x46d1f7
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
xor eax, eax
call fcn.00468af8
jmp 0x46d1f7
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
call fcn.0040358c
push eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 8]
call fcn.00403750
push eax
push 3
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403750
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004057f4
mov ebx, eax
test ebx, ebx
je 0x46d1f7
mov eax, dword [ebp - 0x34]
test byte [eax + 0x40], 1
jne 0x46d1f7
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov edx, dword [eax + 0x38]
xor eax, eax
call fcn.00468af8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d215
mov eax, dword [ebp - 4]
push eax
call fcn.004057ac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46d247
cmp byte [ebp - 0x29], 0
jne 0x46cd94
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 8
je 0x46d28b
mov eax, dword [ebp - 0x20]
call fcn.0046cad8
test al, al
je 0x46d28b
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov cl, byte [ebp - 0x21]
mov dx, 0x86
call fcn.00457578
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 0x10
je 0x46d2c5
mov eax, dword [ebp - 0x20]
call fcn.0046cad8
test al, al
je 0x46d2c5
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov cl, byte [ebp - 0x21]
mov dx, 0x88
call fcn.00457578
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 2
je 0x46d2f9
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov cl, byte [ebp - 0x21]
mov dx, 0x89
call fcn.00457578
mov eax, dword [ebp - 0x34]
test byte [eax + 0x3f], 4
je 0x46d32d
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov cl, byte [ebp - 0x21]
mov dx, 0x87
call fcn.00457578
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x1c]
call fcn.00470bf4
inc dword [ebp - 0x28]
dec dword [ebp - 0x30]
jne 0x46ccec
mov eax, 0x3e8
call fcn.0046840c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d380
lea eax, [ebp - 0x50]
call fcn.00403418
lea eax, [ebp - 0x20]
call fcn.00403418
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403438
ret