Function at 0x4044b1
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 8], edx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea eax, [ebp + 8]
push eax
call fcn.00433cb4
pop ecx
lea edx, [ebp + 0xc]
push edx
call fcn.00433cb4
pop ecx
push dword [ebp + 8]
call fcn.00403ce4
pop ecx
mov dword [ebp - 0xc], eax
push eax
lea edx, [ebp - 4]
push edx
call fcn.00433e96
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
call fcn.00433d9e
pop ecx
push dword [ebp + 8]
call fcn.00403dd4
pop ecx
mov dword [ebp - 0xc], eax
push eax
lea edx, [ebp - 8]
push edx
call fcn.00433e96
add esp, 8
lea ecx, [ebp - 0xc]
push ecx
call fcn.00433d9e
pop ecx
push 0xb0231c
push dword [ebp + 0xc]
call fcn.004340cb
add esp, 8
test ax, ax
jne 0x4045d8
lea eax, [ebp - 0x10]
push eax
push 2
push 0
cmp dword [ebp - 4], 0
jne 0x40454e
mov edx, 0xb0231d
jmp 0x404578
mov ecx, dword [ebp - 4]
and ecx, 0xff000000
cmp ecx, 0xff000000
jne 0x404575
mov eax, dword [ebp - 4]
and eax, 0xffffff
lea edx, [eax + eax*8]
mov ecx, dword [0x10465c4]
mov edx, dword [ecx + edx]
jmp 0x404578
mov edx, dword [ebp - 4]
push edx
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x40471d
cmp dword [ebp - 8], 0
jne 0x404598
mov eax, 0xb0231e
jmp 0x4045c2
mov ecx, dword [ebp - 8]
and ecx, 0xff000000
cmp ecx, 0xff000000
jne 0x4045bf
mov eax, dword [ebp - 8]
and eax, 0xffffff
lea edx, [eax + eax*8]
mov ecx, dword [0x10465c4]
mov eax, dword [ecx + edx]
jmp 0x4045c2
mov eax, dword [ebp - 8]
push eax
push dword [ebp - 0x10]
call sub.ADVAPI32.dll_RegDeleteValueA
push dword [ebp - 0x10]
call sub.ADVAPI32.dll_RegCloseKey
jmp 0x40471d
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0xb02320
push 0
cmp dword [ebp - 4], 0
jne 0x4045fd
mov eax, 0xb0231f
jmp 0x404628
mov edx, dword [ebp - 4]
and edx, 0xff000000
cmp edx, 0xff000000
jne 0x404625
mov ecx, dword [ebp - 4]
and ecx, 0xffffff
lea eax, [ecx + ecx*8]
mov edx, dword [0x10465c4]
mov eax, dword [edx + eax]
jmp 0x404628
mov eax, dword [ebp - 4]
push eax
push 0x80000001
call sub.ADVAPI32.dll_RegCreateKeyExA
test eax, eax
jne 0x40471d
cmp dword [ebp + 0xc], 0
jne 0x404645
xor edx, edx
jmp 0x404697
mov ecx, dword [ebp + 0xc]
and ecx, 0xff000000
cmp ecx, 0xff000000
jne 0x40468b
mov eax, dword [ebp + 0xc]
and eax, 0xffffff
lea edx, [eax + eax*8]
mov ecx, dword [0x10465c4]
cmp word [ecx + edx + 7], 0
jne 0x404673
xor edx, edx
jmp 0x404697
mov eax, dword [ebp + 0xc]
and eax, 0xffffff
lea ecx, [eax + eax*8]
mov eax, dword [0x10465c4]
movsx edx, word [eax + ecx + 7]
dec edx
jmp 0x404697
push dword [ebp + 0xc]
call fcn.00435ad0
pop ecx
movsx edx, ax
inc edx
push edx
cmp dword [ebp + 0xc], 0
jne 0x4046a6
mov eax, 0xb02322
jmp 0x4046d0
mov ecx, dword [ebp + 0xc]
and ecx, 0xff000000
cmp ecx, 0xff000000
jne 0x4046cd
mov eax, dword [ebp + 0xc]
and eax, 0xffffff
lea edx, [eax + eax*8]
mov ecx, dword [0x10465c4]
mov eax, dword [ecx + edx]
jmp 0x4046d0
mov eax, dword [ebp + 0xc]
push eax
push 1
push 0
cmp dword [ebp - 8], 0
jne 0x4046e2
mov edx, 0xb02321
jmp 0x40470c
mov ecx, dword [ebp - 8]
and ecx, 0xff000000
cmp ecx, 0xff000000
jne 0x404709
mov eax, dword [ebp - 8]
and eax, 0xffffff
lea edx, [eax + eax*8]
mov ecx, dword [0x10465c4]
mov edx, dword [ecx + edx]
jmp 0x40470c
mov edx, dword [ebp - 8]
push edx
push dword [ebp - 0x14]
call sub.ADVAPI32.dll_RegSetValueExA
push dword [ebp - 0x14]
call sub.ADVAPI32.dll_RegCloseKey
lea eax, [ebp + 8]
push eax
call fcn.00433d90
pop ecx
lea ecx, [ebp + 0xc]
push ecx
call fcn.00433d90
pop ecx
lea eax, [ebp - 8]
push eax
call fcn.00433d9e
pop ecx
lea edx, [ebp - 4]
push edx
call fcn.00433d9e
pop ecx
mov esp, ebp
pop ebp
ret