Function at 0x44e940
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5040f1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2224
call fcn.004e4810
mov eax, dword [0x553948]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
lea edx, [ebp - 0x2014]
xor esi, esi
push edx
mov dword [ebp - 0x222c], ecx
mov dword [ebp - 0x2224], edi
mov dword [ebp - 0x2230], ebx
mov dword [ebp - 0x2234], eax
mov dword [ebp - 0x2220], esi
call fcn.0044d3d0
cmp eax, esi
jl 0x44ecc4
lea eax, [ebp - 0x2220]
push eax
lea ecx, [ebp - 0x2014]
push ecx
call fcn.0044d1f0
add esp, 8
test eax, eax
jne 0x44e9d7
mov eax, 0x80020009
jmp 0x44ecc4
mov ecx, dword [ebp - 0x222c]
call fcn.0044d370
mov ecx, dword [ebp - 0x222c]
lea edx, [ebp - 0x2014]
push edx
call fcn.0044d3d0
cmp eax, esi
jl 0x44ecc4
movzx eax, word [ebp - 0x2220]
cmp eax, 0x13
jg 0x44ebaf
je 0x44eb64
cmp eax, 8
je 0x44eb4c
cmp eax, 0x11
jne 0x44eca8
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov dword [ebp - 0x2228], ebx
test bl, 1
jne 0x44eaab
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov dword [ebp - 0x2220], edi
mov dword [ebp - 0x2118], esi
mov dword [ebp - 4], 4
push edi
lea ecx, [ebp - 0x2118]
mov byte [ebp - 4], 5
call fcn.0044e270
mov dword [ebp - 4], 4
jmp 0x44ea8c
mov eax, dword [ebp - 0x2118]
cmp eax, esi
jne 0x44eab5
lea ecx, [ebp - 0x2114]
test ecx, ecx
je 0x44eaab
lea ecx, [ebp - 0x2118]
call fcn.0044d640
mov eax, 0x80004005
jmp 0x44ecc4
push edi
push esi
push eax
call fcn.004e41d0
add esp, 0xc
cmp ebx, esi
jle 0x44eb00
movzx ecx, word [ebp + esi*2 - 0x2014]
mov edi, esi
shr edi, 1
add edi, dword [ebp - 0x2118]
push ecx
call fcn.0044d2a0
mov edx, esi
and edx, 1
add edx, edx
add edx, edx
mov ecx, 4
sub ecx, edx
shl al, cl
inc esi
add esp, 4
or byte [edi], al
cmp esi, ebx
jl 0x44eac4
mov edi, dword [ebp - 0x2220]
xor esi, esi
mov ecx, dword [ebp - 0x2118]
mov edx, dword [ebp - 0x2230]
mov eax, dword [ebp - 0x2224]
mov eax, dword [eax]
push edi
push ecx
push 3
push esi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x2114]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2118], eax
je 0x44ec99
lea ecx, [ebp - 0x2118]
call fcn.0044d640
jmp 0x44ec99
push 1
lea ecx, [ebp - 0x2014]
push ecx
push ebx
mov ecx, edi
call fcn.0044d060
mov edi, eax
jmp 0x44ec99
mov dword [ebp - 0x2224], esi
lea edx, [ebp - 0x2228]
push edx
push esi
push esi
lea eax, [ebp - 0x2014]
push eax
mov dword [ebp - 4], 3
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov ecx, dword [ebp - 0x2228]
push ecx
push ebx
mov ecx, edi
call fcn.0044d040
lea ecx, [ebp - 0x2224]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.0044b730
jmp 0x44ec99
cmp eax, 0x4008
jne 0x44eca8
lea edx, [ebp - 0x2014]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 2
mov dword [ebp - 0x221c], esi
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x221c]
mov byte [ebp - 4], 1
call fcn.0044e220
mov dword [ebp - 4], esi
jmp 0x44ebf7
mov eax, dword [ebp - 0x221c]
cmp eax, esi
je 0x44ec78
cmp word [ebp - 0x2014], 0
mov esi, eax
lea edi, [ebp - 0x2014]
je 0x44ec4f
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
push edi
call ebx
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x44ec40
cmp word [eax], 0x30
jne 0x44ec40
xor ecx, ecx
mov word [esi], cx
push eax
add esi, 2
call ebx
mov edi, eax
jmp 0x44ec49
mov word [esi], cx
add esi, 2
add edi, 2
cmp word [edi], 0
jne 0x44ec20
xor edx, edx
mov dword [esi], edx
mov ecx, dword [ebp - 0x221c]
mov edx, dword [ebp - 0x2230]
push ecx
mov ecx, dword [ebp - 0x2224]
push edx
call fcn.0044d0a0
mov edi, eax
mov eax, dword [ebp - 0x221c]
xor esi, esi
jmp 0x44ec7d
mov edi, 0xe
lea ecx, [ebp - 0x2218]
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x44ec99
lea ecx, [ebp - 0x221c]
call fcn.0044d640
cmp edi, esi
je 0x44eca8
push edi
call fcn.0044cc80
add esp, 4
jmp 0x44ecc4
mov edx, dword [ebp - 0x2234]
mov ecx, dword [ebp - 0x222c]
push edx
call fcn.0044d3d0
xor ecx, ecx
cmp eax, esi
setge cl
dec ecx
and eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 0xc