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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x4c], 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 0x469520
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x48a194]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4694eb
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 0
mov edx, dword [ebp - 0x24]
mov eax, dword [0x48a194]
call fcn.0040b620
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x18]
push eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov edx, dword [0x48a1e4]
mov eax, dword [0x48a1e0]
call fcn.0046cc08
test al, al
je 0x4694df
mov edx, dword [ebp - 0x24]
mov al, 0xb
call fcn.00470100
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x20]
call fcn.0046c89c
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
call fcn.0046ee0c
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 4]
call fcn.0046ee0c
mov byte [ebp - 0x25], 0
xor edx, edx
push ebp
push 0x4693d6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 0x40
je 0x468f9b
mov eax, dword [ebp - 0x20]
call fcn.00468d68
test al, al
je 0x468f9b
mov eax, dword [ebp - 0x20]
call fcn.00403880
mov edx, eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
call fcn.0042dc68
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 0x40
je 0x468fb1
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x3e], 0
je 0x4693cc
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 0x80
je 0x469008
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x3e], 0
jne 0x469008
lea eax, [ebp - 4]
push eax
push 2
push 0
mov eax, dword [ebp - 0x20]
call fcn.00403880
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
push eax
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4693cc
mov eax, dword [ebp - 0xc]
call fcn.00403880
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x4693cc
mov eax, dword [ebp - 0x30]
movsx ecx, word [eax + 0x3c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
call fcn.00468d8c
mov eax, dword [ebp - 0x30]
test byte [eax + 0x40], 2
jne 0x469090
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 3
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
call fcn.00403880
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
push eax
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x469074
cmp dword [ebp - 8], 1
jne 0x4690e2
mov eax, dword [ebp - 0x30]
movsx ecx, word [eax + 0x3c]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
call fcn.00468d8c
jmp 0x4690e2
mov eax, dword [ebp - 0x30]
test byte [eax + 0x40], 1
jne 0x4690e2
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x38]
mov al, 1
call fcn.00465450
jmp 0x4690e2
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x3e], 0
je 0x4690dd
lea eax, [ebp - 4]
push eax
push 3
push 0
mov eax, dword [ebp - 0x20]
call fcn.00403880
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
push eax
call sub.advapi32.dll_RegOpenKeyExA
mov ebx, eax
test ebx, ebx
je 0x4690e2
cmp ebx, 2
je 0x4690e2
mov eax, dword [ebp - 0x30]
test byte [eax + 0x40], 1
jne 0x4690e2
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x38]
mov al, 2
call fcn.00465450
jmp 0x4690e2
mov ebx, 2
test ebx, ebx
jne 0x4693cc
xor edx, edx
push ebp
push 0x4693c5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 0x80
je 0x469113
mov eax, dword [ebp - 0xc]
call fcn.00403880
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegDeleteValueA
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x3e], 0
je 0x4693ae
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 1
je 0x469143
mov eax, dword [ebp - 0xc]
call fcn.00403880
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0042dbe8
test al, al
jne 0x4693ae
mov eax, dword [ebp - 0x30]
mov al, byte [eax + 0x3e]
mov edx, eax
dec edx
sub dl, 2
jb 0x469167
je 0x469309
dec dl
je 0x469360
dec dl
jne 0x4693ae
mov ebx, 1
mov edx, eax
sub dl, 2
je 0x46917a
sub dl, 3
je 0x469181
jmp 0x469186
mov ebx, 2
jmp 0x469186
mov ebx, 7
cmp al, 5
je 0x469225
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 8]
mov eax, 0x469538
call fcn.004039a4
test eax, eax
je 0x4691bb
mov eax, dword [ebp - 0xc]
call fcn.00403880
mov edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042dbd0
test al, al
jne 0x4691c3
lea eax, [ebp - 0x14]
call fcn.00403548
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 0x20
je 0x4691fb
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403880
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x4691fb
cmp dword [ebp - 0x18], 1
je 0x4691f8
cmp dword [ebp - 0x18], 2
jne 0x4691fb
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
mov eax, 0x46954c
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x38]
mov ecx, 1
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
call fcn.0046ee2c
jmp 0x4692b4
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 8]
mov eax, 0x469538
call fcn.004039a4
test eax, eax
je 0x469252
mov eax, dword [ebp - 0xc]
call fcn.00403880
mov edx, eax
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0042dbdc
test al, al
jne 0x46925a
lea eax, [ebp - 0x14]
call fcn.00403548
lea eax, [ebp - 0x10]
push eax
mov eax, 0x46954c
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
mov eax, 0x46955c
mov dword [ebp - 0x40], eax
mov eax, 0x46956c
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 0x48]
mov ecx, 3
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
call fcn.0046ee2c
cmp dword [ebp - 0x10], 0
je 0x4692b4
mov eax, dword [ebp - 0x10]
call fcn.004036bc
mov edx, dword [ebp - 0x10]
cmp byte [edx + eax - 1], 0
je 0x4692b4
lea eax, [ebp - 0x10]
mov edx, 0x46956c
call fcn.004036c4
mov eax, dword [ebp - 0x10]
call fcn.004036bc
inc eax
push eax
mov eax, dword [ebp - 0x10]
call fcn.00403880
push eax
push ebx
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403880
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
test ebx, ebx
je 0x4693ae
mov eax, dword [ebp - 0x30]
test byte [eax + 0x40], 1
jne 0x4693ae
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x38]
xor eax, eax
call fcn.00465450
jmp 0x4693ae
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
call fcn.0046ee0c
mov eax, dword [ebp - 0x4c]
call fcn.00406e00
mov dword [ebp - 0x1c], eax
push 4
lea eax, [ebp - 0x1c]
push eax
push 4
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403880
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
test ebx, ebx
je 0x4693ae
mov eax, dword [ebp - 0x30]
test byte [eax + 0x40], 1
jne 0x4693ae
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x38]
xor eax, eax
call fcn.00465450
jmp 0x4693ae
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
call fcn.004036bc
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
call fcn.00403880
push eax
push 3
push 0
mov eax, dword [ebp - 0xc]
call fcn.00403880
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
test ebx, ebx
je 0x4693ae
mov eax, dword [ebp - 0x30]
test byte [eax + 0x40], 1
jne 0x4693ae
push ebx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov edx, dword [eax + 0x38]
xor eax, eax
call fcn.00465450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4693cc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4693fe
cmp byte [ebp - 0x25], 0
jne 0x468f5f
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 8
je 0x46943e
mov eax, dword [ebp - 0x20]
call fcn.00468d68
test al, al
je 0x46943e
push 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dx, 0x86
call fcn.004555c8
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 0x10
je 0x469474
mov eax, dword [ebp - 0x20]
call fcn.00468d68
test al, al
je 0x469474
push 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dx, 0x88
call fcn.004555c8
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 2
je 0x4694a4
push 1
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dx, 0x89
call fcn.004555c8
mov eax, dword [ebp - 0x30]
test byte [eax + 0x3f], 4
je 0x4694d4
push 1
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dx, 0x87
call fcn.004555c8
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0x1c]
call fcn.0046c8c8
inc dword [ebp - 0x24]
dec dword [ebp - 0x2c]
jne 0x468eec
mov eax, 0x3e8
call fcn.00464b9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469527
lea eax, [ebp - 0x4c]
call fcn.00403548
lea eax, [ebp - 0x20]
call fcn.00403548
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403568
ret