Function at 0x44ac10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x501101
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2224
call fcn.004e1be0
mov eax, dword [0x54e938]
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.004496b0
cmp eax, esi
jl 0x44af94
lea eax, [ebp - 0x2220]
push eax
lea ecx, [ebp - 0x2014]
push ecx
call fcn.004494d0
add esp, 8
test eax, eax
jne 0x44aca7
mov eax, 0x80020009
jmp 0x44af94
mov ecx, dword [ebp - 0x222c]
call fcn.00449650
mov ecx, dword [ebp - 0x222c]
lea edx, [ebp - 0x2014]
push edx
call fcn.004496b0
cmp eax, esi
jl 0x44af94
movzx eax, word [ebp - 0x2220]
cmp eax, 0x13
jg 0x44ae7f
je 0x44ae34
cmp eax, 8
je 0x44ae1c
cmp eax, 0x11
jne 0x44af78
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 0x44ad7b
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.0044a540
mov dword [ebp - 4], 4
jmp 0x44ad5c
mov eax, dword [ebp - 0x2118]
cmp eax, esi
jne 0x44ad85
lea ecx, [ebp - 0x2114]
test ecx, ecx
je 0x44ad7b
lea ecx, [ebp - 0x2118]
call fcn.00449920
mov eax, 0x80004005
jmp 0x44af94
push edi
push esi
push eax
call fcn.004e15a0
add esp, 0xc
cmp ebx, esi
jle 0x44add0
movzx ecx, word [ebp + esi*2 - 0x2014]
mov edi, esi
shr edi, 1
add edi, dword [ebp - 0x2118]
push ecx
call fcn.00449580
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 0x44ad94
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 0x44af69
lea ecx, [ebp - 0x2118]
call fcn.00449920
jmp 0x44af69
push 1
lea ecx, [ebp - 0x2014]
push ecx
push ebx
mov ecx, edi
call fcn.00449340
mov edi, eax
jmp 0x44af69
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.00449320
lea ecx, [ebp - 0x2224]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00447a90
jmp 0x44af69
cmp eax, 0x4008
jne 0x44af78
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.0044a4f0
mov dword [ebp - 4], esi
jmp 0x44aec7
mov eax, dword [ebp - 0x221c]
cmp eax, esi
je 0x44af48
cmp word [ebp - 0x2014], 0
mov esi, eax
lea edi, [ebp - 0x2014]
je 0x44af1f
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
lea esp, [esp]
push edi
call ebx
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x44af10
cmp word [eax], 0x30
jne 0x44af10
xor ecx, ecx
mov word [esi], cx
push eax
add esi, 2
call ebx
mov edi, eax
jmp 0x44af19
mov word [esi], cx
add esi, 2
add edi, 2
cmp word [edi], 0
jne 0x44aef0
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.00449380
mov edi, eax
mov eax, dword [ebp - 0x221c]
xor esi, esi
jmp 0x44af4d
mov edi, 0xe
lea ecx, [ebp - 0x2218]
mov dword [ebp - 4], 0xffffffff
cmp eax, ecx
je 0x44af69
lea ecx, [ebp - 0x221c]
call fcn.00449920
cmp edi, esi
je 0x44af78
push edi
call fcn.00448f50
add esp, 4
jmp 0x44af94
mov edx, dword [ebp - 0x2234]
mov ecx, dword [ebp - 0x222c]
push edx
call fcn.004496b0
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 int.00401316
mov esp, ebp
pop ebp
ret 0xc