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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d64cb
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x52cc80]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x52cc80]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x98]
xor ebx, ebx
lea esi, [eax + 4]
mov dword [esp + 0x14], ebx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x68], ebx
lea ecx, [edi + 0xb4]
call fcn.00449190
lea ecx, [edi + 0xbc]
call fcn.00449190
push 1
mov ecx, edi
call fcn.004488e0
mov dword [esp + 0x68], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5c
push dword [edi + 0xdc]
call fcn.004ac1f4
add esp, 8
test eax, eax
jne 0x447e2e
or eax, 0xffffffff
jmp 0x447e36
sub eax, dword [edi + 0xdc]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0xdc]
call fcn.004213c0
mov dword [esp + 0x68], 1
lea eax, [esp + 0x18]
push eax
push 0x2001f
push 0
push dword [edi + 0xdc]
push dword [edi + 0x194]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x447ec6
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [edi + 0xdc]
push dword [edi + 0x194]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x447ec6
mov edx, eax
lea ecx, [esp + 0x40]
call fcn.0043f2e0
mov byte [esp + 0x68], 2
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00442d30
push 0x516bbc
lea eax, [esp + 0x2c]
push eax
call fcn.004b183b
or edi, 0xffffffff
cmp byte [ebp + 8], 0
je 0x447f17
push str._ver
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
call fcn.00417410
add esp, 4
mov byte [esp + 0x68], 3
push dword [eax]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [esp + 0x68], 1
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x447f17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x52c6d8]
mov ecx, 0x52c6d8
mov dword [esp + 0x24], 0
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x20], esi
mov byte [esp + 0x68], 6
jmp 0x447f40
mov dword [esp + 0x3c], 0x7ffe
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x7ffe
or eax, ecx
jge 0x447f6e
push 0x7ffe
lea ecx, [esp + 0x24]
call fcn.00402750
mov esi, dword [esp + 0x20]
cmp dword [esi - 8], 0x7ffe
jl 0x448363
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [esi - 0xc], 0x7ffe
mov word [esi + 0xfffc], ax
lea eax, [esp + 0x4c]
push eax
push esi
push dword [esp + 0x3c]
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push dword [esi - 8]
mov dword [esp + 0x2c], eax
push esi
call fcn.004aa565
add esp, 8
test eax, eax
js 0x448363
cmp eax, dword [esi - 8]
jg 0x448363
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp byte [0x53277b], cl
jne 0x448036
movzx eax, byte [0x52e360]
xor al, 0x43
movzx eax, al
mov word [0x52e974], ax
movzx eax, byte [0x52e361]
xor al, 8
movzx eax, al
mov word [0x52e976], ax
movzx eax, byte [0x52e362]
xor al, 8
movzx eax, al
mov word [0x52e978], ax
movzx eax, byte [0x52e363]
xor al, 0x15
movzx eax, al
mov word [0x52e97a], ax
movzx eax, byte [0x52e364]
xor al, 0xe
movzx eax, al
mov word [0x52e97c], ax
mov byte [0x53277b], 1
push 0x52e974
lea edx, [esp + 0x20]
lea ecx, [esp + 0x38]
call fcn.00417410
add esp, 4
mov byte [esp + 0x68], 7
or ebx, 1
mov dword [esp + 0x14], ebx
mov eax, dword [eax]
test eax, eax
je 0x44807e
cmp dword [esi - 0xc], 0
jl 0x44807e
push eax
push esi
call fcn.004aa70f
add esp, 8
test eax, eax
je 0x44807e
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4481c0
cmp byte [0x532767], 0
jne 0x4480e8
movzx eax, byte [0x52e360]
xor al, 0x43
movzx eax, al
mov word [0x52ed74], ax
movzx eax, byte [0x52e361]
xor al, 0xa
movzx eax, al
mov word [0x52ed76], ax
movzx eax, byte [0x52e362]
xor al, 0x1b
movzx eax, al
mov word [0x52ed78], ax
movzx eax, byte [0x52e363]
xor al, 0xe
movzx eax, al
mov word [0x52ed7a], ax
movzx eax, byte [0x52e364]
xor al, 2
movzx eax, al
mov word [0x52ed7c], ax
mov byte [0x532767], 1
push 0x52ed74
lea edx, [esp + 0x20]
lea ecx, [esp + 0x34]
call fcn.00417410
add esp, 4
mov dword [esp + 0x68], 8
or ebx, 2
mov dword [esp + 0x14], ebx
mov eax, dword [eax]
test eax, eax
je 0x448133
cmp dword [esi - 0xc], 0
jl 0x448133
push eax
push esi
call fcn.004aa70f
add esp, 8
test eax, eax
je 0x448133
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4481c0
cmp byte [0x532773], 0
jne 0x448179
movzx eax, byte [0x52e360]
xor al, 0x43
movzx eax, al
mov word [0x52e8cc], ax
movzx eax, byte [0x52e361]
xor al, 0x18
movzx eax, al
mov word [0x52e8ce], ax
movzx eax, byte [0x52e362]
xor al, 6
movzx eax, al
mov word [0x52e8d0], ax
mov byte [0x532773], 1
push 0x52e8cc
lea edx, [esp + 0x20]
lea ecx, [esp + 0x3c]
call fcn.00417410
add esp, 4
mov dword [esp + 0x68], 9
or ebx, 4
mov dword [esp + 0x14], ebx
mov eax, dword [eax]
test eax, eax
je 0x4481c7
cmp dword [esi - 0xc], 0
jl 0x4481c7
push eax
push esi
call fcn.004aa70f
add esp, 8
test eax, eax
je 0x4481c7
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4481c7
mov byte [esp + 0x13], 1
jmp 0x4481cc
mov byte [esp + 0x13], 0
mov dword [esp + 0x68], 8
test bl, 4
je 0x448205
and ebx, 0xfffffffb
mov dword [esp + 0x14], ebx
mov dword [esp + 0x68], 8
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x448205
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x68], 7
test bl, 2
je 0x44823e
and ebx, 0xfffffffd
mov dword [esp + 0x14], ebx
mov dword [esp + 0x68], 7
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44823e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x68], 6
test bl, 1
je 0x448274
and ebx, 0xfffffffe
mov dword [esp + 0x14], ebx
mov byte [esp + 0x68], 6
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x448274
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esp + 0x13], 0
je 0x448290
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x448294
inc dword [esp + 0x24]
cmp dword [esp + 0x28], 0
je 0x447f40
cmp byte [ebp + 8], 0
je 0x4482f6
call fcn.0043fb40
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x2c]
call fcn.00417410
add esp, 4
mov byte [esp + 0x68], 0xd
push 0
push 0
push 3
push 0
push dword [eax]
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [esp + 0x68], 6
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4482f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esp + 0x68], 1
add esi, 0xfffffff0
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44831e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x68], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x448341
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004a992a
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401a60
int3