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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc65b
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x540c80]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x540c80]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x98]
xor ebx, ebx
lea esi, [eax + 4]
mov dword [esp + 0x20], ebx
push esi
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x70], ebx
lea ecx, [edi + 0xb4]
call fcn.0044e470
lea ecx, [edi + 0xbc]
call fcn.0044e470
push 1
mov ecx, edi
call fcn.0044dab0
mov dword [esp + 0x70], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5c
push dword [edi + 0xdc]
call fcn.004b1e24
add esp, 8
test eax, eax
jne 0x44cf3e
or eax, 0xffffffff
jmp 0x44cf46
sub eax, dword [edi + 0xdc]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [edi + 0xdc]
call fcn.00422dc0
mov dword [esp + 0x70], 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 0x44d01b
mov edx, dword [0x545d90]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 0xe
jne 0x44cfc7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ecx, dword [0x545d90]
mov edx, 7
test eax, eax
cmove ecx, edx
mov dword [0x545d90], ecx
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 0x44d01b
mov edx, eax
lea ecx, [esp + 0x48]
call fcn.00443290
mov byte [esp + 0x70], 2
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.00447830
push 0x52accc
lea eax, [esp + 0x2c]
push eax
call fcn.004b74bb
cmp byte [ebp + 8], 0
je 0x44d06a
push 0x526a70
lea edx, [esp + 0x20]
lea ecx, [esp + 0x28]
call fcn.00418660
add esp, 4
mov byte [esp + 0x70], 3
push dword [eax]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [esp + 0x70], 1
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d06a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5406d8]
mov ecx, 0x5406d8
xor edi, edi
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov byte [esp + 0x70], 6
jmp 0x44d090
mov dword [esp + 0x38], 0x7ffe
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x7ffe
or eax, ecx
jge 0x44d0be
push 0x7ffe
lea ecx, [esp + 0x28]
call fcn.00402850
mov esi, dword [esp + 0x24]
cmp dword [esi - 8], 0x7ffe
jl 0x44d52b
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [esi - 0xc], 0x7ffe
mov word [esi + 0xfffc], ax
lea eax, [esp + 0x48]
push eax
push esi
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push dword [esi - 8]
mov dword [esp + 0x2c], eax
push esi
call fcn.004b019b
add esp, 8
test eax, eax
js 0x44d52b
cmp eax, dword [esi - 8]
jg 0x44d52b
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp byte [0x54704c], cl
jne 0x44d183
movzx eax, byte [0x542360]
xor al, 0x43
movzx eax, al
mov word [0x542990], ax
movzx eax, byte [0x542361]
xor al, 6
movzx eax, al
mov word [0x542992], ax
movzx eax, byte [0x542362]
xor al, 8
movzx eax, al
mov word [0x542994], ax
movzx eax, byte [0x542363]
xor al, 0x11
movzx eax, al
mov word [0x542996], ax
movzx eax, byte [0x542364]
xor al, 0x15
movzx eax, al
mov word [0x542998], ax
mov byte [0x54704c], 1
push 0x542990
lea edx, [esp + 0x20]
lea ecx, [esp + 0x40]
call fcn.00418660
add esp, 4
mov byte [esp + 0x70], 7
or ebx, 1
mov dword [esp + 0x20], ebx
mov eax, dword [eax]
test eax, eax
je 0x44d1cb
cmp dword [esi - 0xc], 0
jl 0x44d1cb
push eax
push esi
call fcn.004b0345
add esp, 8
test eax, eax
je 0x44d1cb
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x44d30d
cmp byte [0x54703a], 0
jne 0x44d235
movzx eax, byte [0x542360]
xor al, 0x43
movzx eax, al
mov word [0x542d54], ax
movzx eax, byte [0x542361]
xor al, 4
movzx eax, al
mov word [0x542d56], ax
movzx eax, byte [0x542362]
xor al, 0x1b
movzx eax, al
mov word [0x542d58], ax
movzx eax, byte [0x542363]
xor al, 0xa
movzx eax, al
mov word [0x542d5a], ax
movzx eax, byte [0x542364]
xor al, 0x19
movzx eax, al
mov word [0x542d5c], ax
mov byte [0x54703a], 1
push 0x542d54
lea edx, [esp + 0x20]
lea ecx, [esp + 0x48]
call fcn.00418660
add esp, 4
mov dword [esp + 0x70], 8
or ebx, 2
mov dword [esp + 0x20], ebx
mov eax, dword [eax]
test eax, eax
je 0x44d280
cmp dword [esi - 0xc], 0
jl 0x44d280
push eax
push esi
call fcn.004b0345
add esp, 8
test eax, eax
je 0x44d280
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x44d30d
cmp byte [0x547047], 0
jne 0x44d2c6
movzx eax, byte [0x542360]
xor al, 0x43
movzx eax, al
mov word [0x54293c], ax
movzx eax, byte [0x542361]
xor al, 0x16
movzx eax, al
mov word [0x54293e], ax
movzx eax, byte [0x542362]
xor al, 6
movzx eax, al
mov word [0x542940], ax
mov byte [0x547047], 1
push 0x54293c
lea edx, [esp + 0x20]
lea ecx, [esp + 0x44]
call fcn.00418660
add esp, 4
mov dword [esp + 0x70], 9
or ebx, 4
mov dword [esp + 0x20], ebx
mov eax, dword [eax]
test eax, eax
je 0x44d314
cmp dword [esi - 0xc], 0
jl 0x44d314
push eax
push esi
call fcn.004b0345
add esp, 8
test eax, eax
je 0x44d314
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x44d314
mov byte [esp + 0x17], 1
jmp 0x44d319
mov byte [esp + 0x17], 0
mov dword [esp + 0x70], 8
test bl, 4
je 0x44d353
and ebx, 0xfffffffb
mov dword [esp + 0x20], ebx
mov dword [esp + 0x70], 8
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d353
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x70], 7
test bl, 2
je 0x44d38d
and ebx, 0xfffffffd
mov dword [esp + 0x20], ebx
mov dword [esp + 0x70], 7
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d38d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x70], 6
test bl, 1
je 0x44d3c4
and ebx, 0xfffffffe
mov dword [esp + 0x20], ebx
mov byte [esp + 0x70], 6
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d3c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esp + 0x17], 0
je 0x44d3da
push esi
push dword [esp + 0x1c]
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x44d3db
inc edi
cmp dword [esp + 0x28], 0
je 0x44d090
cmp byte [ebp + 8], 0
je 0x44d442
call fcn.00443c20
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x2c]
call fcn.00418660
add esp, 4
mov byte [esp + 0x70], 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 + 0x70], 6
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d445
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x44d445
or ebx, 0xffffffff
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x545d90]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x13
idiv ecx
cmp edx, 4
jne 0x44d4c8
mov eax, dword [0x526ac0]
movq xmm0, qword [str.CtKeR4bvei8GU0]
mov dword [esp + 0x30], eax
mov ax, word [0x526ac4]
mov word [esp + 0x34], ax
mov al, byte [0x526ac6]
mov byte [esp + 0x36], al
lea eax, [esp + 0x28]
movq qword [esp + 0x28], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44d4a0
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aed89
push eax
call fcn.004afe1b
add esp, 8
mov byte [esp + 0x70], 1
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44d4e6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x70], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x44d509
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.004af5ba
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00401a60
int3