Function at 0x441fc0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5213f5
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x597f54]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
push esi
mov eax, dword [0x597f54]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebp, ecx
cmp byte [ebp + 0x198], 0
jne 0x44200f
call fcn.00440de0
jmp 0x4422e6
call fcn.004092a9
push eax
lea ecx, [esp + 0x18]
call fcn.00401534
push str.Themes
lea ecx, [esp + 0x14]
mov dword [esp + 0x13c], 0
call fcn.00401534
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 1
call fcn.00402c69
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x138], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442077
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push 0
push edx
push SysReAllocString
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4420da
mov ecx, ebp
call fcn.00441550
mov bl, al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4420d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
jmp 0x4422e6
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push 0xff
lea ecx, [esp + 0x30]
push ecx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esi, 1
test eax, eax
mov dword [esp + 0x10], esi
jne 0x442230
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
call fcn.00401534
push 0x198
mov byte [esp + 0x13c], 2
call fcn.004b1a2e
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x138], 3
je 0x442155
mov ecx, dword [esp + 0x1c]
push 0
push ecx
push 0x53332c
mov ecx, eax
call fcn.0043d170
mov esi, eax
jmp 0x442157
xor esi, esi
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0
mov ecx, esi
mov byte [esp + 0x13c], 2
call eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0043b1f0
mov edx, dword [eax]
cmp dword [edx - 0xc], 0
mov eax, dword [esp + 0x20]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44219f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4421b5
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x4421ff
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call fcn.0043b1f0
push esi
lea ecx, [esp + 0x20]
push ecx
push eax
mov ecx, ebp
mov byte [esp + 0x144], 4
call fcn.004402e0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x138], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4421ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x138], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4420e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4420e2
cmp eax, 0x103
jne 0x4420e2
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x15c]
call fcn.004b4151
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x442266
push 0x80004005
call fcn.004010bd
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push esi
lea ecx, [esp + 0x14]
push str.There_are__d_Themes__n
push ecx
mov byte [esp + 0x144], 5
call fcn.00402fab
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x138], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4422b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4422e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004e2867
add esp, 0x12c
ret