Function at 0x44ca59
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x220c]
mov eax, 0x220c
call fcn.00615790
push 0xffffffffffffffff
push 0x6603b6
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x77ff48]
xor eax, ebp
mov dword [ebp + 0x2208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x221c]
xor edi, edi
mov ebx, dword [ebp + 0x2214]
mov esi, dword [ebp + 0x2218]
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x208]
push eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edi
call fcn.0044c914
test eax, eax
jns 0x44cad7
lfence
jmp 0x44cd9b
lea edx, [ebp - 0x14]
lea ecx, [ebp + 0x208]
call fcn.0044c7c9
test eax, eax
jne 0x44caf3
mov eax, 0x80020009
jmp 0x44cd9b
mov ecx, dword [ebp - 0x18]
lfence
call fcn.0044c8eb
mov ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x208]
push eax
call fcn.0044c914
test eax, eax
js 0x44cacf
movzx eax, word [ebp - 0x14]
sub eax, 8
je 0x44cd64
sub eax, 9
je 0x44cc4a
dec eax
sub eax, 1
je 0x44cc12
sub eax, 0x3ff5
jne 0x44cd83
lea ecx, [ebp + 0x208]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x44cb45
sub ecx, edx
mov dword [ebp], edi
sar ecx, 1
add ecx, 2
push 2
mov dword [ebp - 4], edi
pop edx
mov byte [ebp - 4], 1
call fcn.00451b84
cmp eax, 0x100
jbe 0x44cb7e
push eax
lea ecx, [ebp]
lfence
call fcn.004514d5
jmp 0x44cb94
lea esi, [ebp + 4]
mov dword [ebp], esi
jmp 0x44cb97
mov esi, dword [ebp]
test esi, esi
je 0x44cbf7
cmp word [ebp + 0x208], 0
lea ebx, [ebp + 0x208]
je 0x44cbde
push ebx
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [ebx]
cmp ecx, 0x5c
jne 0x44cbd0
cmp word [eax], 0x30
jne 0x44cbd0
xor ecx, ecx
push eax
mov word [esi], cx
call dword [sym.imp.USER32.dll_CharNextW]
mov ebx, eax
jmp 0x44cbd6
mov word [esi], cx
add ebx, 2
add esi, 2
cmp word [ebx], di
jne 0x44cbab
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [esi], eax
push dword [ebp]
push dword [ebp - 0x1c]
call fcn.0044c0cf
mov esi, dword [ebp]
mov edi, eax
jmp 0x44cbfa
push 0xe
pop edi
lea eax, [ebp + 4]
cmp esi, eax
je 0x44cd76
lea ecx, [ebp]
call fcn.004511e6
jmp 0x44cd76
lea eax, [ebp - 0x24]
push eax
push edi
push edi
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x44cacf
mov eax, dword [ebp - 0x24]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 4
push edi
push esi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x44cd74
lea ebx, [ebp + 0x208]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
cmp ax, di
jne 0x44cc53
sub ebx, ecx
sar ebx, 1
mov dword [ebp - 0x28], ebx
test bl, 1
jne 0x44cce0
mov eax, ebx
mov dword [ebp + 0x104], edi
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x14], esi
xor edx, edx
mov dword [ebp - 4], 3
inc edx
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00451b84
cmp eax, 0x100
jbe 0x44cca9
push eax
lea ecx, [ebp + 0x104]
lfence
call fcn.004514d5
jmp 0x44cccb
lea eax, [ebp + 0x108]
mov dword [ebp + 0x104], eax
jmp 0x44ccd1
mov eax, dword [ebp + 0x104]
test eax, eax
jne 0x44ccea
lea ecx, [ebp + 0x104]
call fcn.004511e6
mov eax, 0x80004005
jmp 0x44cd9b
push esi
push edi
push eax
call fcn.0062bd30
add esp, 0xc
test ebx, ebx
jle 0x44cd2f
mov esi, edi
mov cx, word [ebp + esi*2 + 0x208]
call fcn.0044c829
movzx edx, al
mov eax, esi
and eax, 1
shl eax, 2
push 4
pop ecx
sub ecx, eax
mov eax, dword [ebp + 0x104]
shl edx, cl
mov ecx, esi
shr ecx, 1
or byte [ecx + eax], dl
inc esi
cmp esi, ebx
jl 0x44ccfb
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x20]
push esi
push dword [ebp + 0x104]
push 3
push edi
push dword [ebp - 0x1c]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp + 0x108]
cmp dword [ebp + 0x104], eax
je 0x44cd76
lea ecx, [ebp + 0x104]
call fcn.004511e6
jmp 0x44cd76
push ecx
lea eax, [ebp + 0x208]
mov ecx, ebx
push eax
push esi
call fcn.0044c089
mov edi, eax
test edi, edi
je 0x44cd83
mov ecx, edi
call fcn.0044bb95
jmp 0x44cd9b
push dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
lfence
call fcn.0044c914
test eax, eax
js 0x44cacf
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2208]
xor ecx, ebp
call fcn.006147ae
add ebp, 0x220c
leave
ret 0xc