Function at 0x442bd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aa3b6
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2228
call fcn.0047e1b0
mov eax, dword [0x4e54fc]
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 dword [ebp - 0x2224], ecx
mov dword [ebp - 0x2220], ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2228], ebx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x222c], edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2238], eax
lea eax, [ebp - 0x2014]
push eax
call fcn.00443b80
test eax, eax
js 0x44307e
push 0x4cc5c0
lea eax, [ebp - 0x2014]
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
call esi
test eax, eax
jne 0x442c5e
lea esi, [eax + 8]
jmp 0x442ca7
push 0x4cc5c4
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x442c77
mov esi, 0x4008
jmp 0x442ca7
push 0x4cc5c8
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x442c8e
lea esi, [eax + 0x13]
jmp 0x442ca7
push 0x4cc5cc
lea eax, [ebp - 0x2014]
push eax
call esi
test eax, eax
jne 0x443079
lea esi, [eax + 0x11]
mov ecx, dword [ebp - 0x2224]
call fcn.00445b10
lea eax, [ebp - 0x2014]
push eax
mov ecx, dword [ebp - 0x2224]
call fcn.00443b80
test eax, eax
js 0x44307e
cmp esi, 0x13
ja 0x442f12
je 0x442ea9
cmp esi, 8
je 0x442e6e
cmp esi, 0x11
jne 0x44305d
lea ebx, [ebp - 0x2014]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x442cf6
sub ebx, ecx
sar ebx, 1
mov dword [ebp - 0x2234], ebx
test bl, 1
jne 0x442d9c
mov eax, ebx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x2230], esi
mov dword [ebp - 0x2118], 0
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
push esi
lea ecx, [ebp - 0x2118]
call fcn.004430f0
mov dword [ebp - 4], 4
jmp 0x442d72
mov eax, dword [ebp - 0x2118]
test eax, eax
jne 0x442da6
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x442d9c
lea ecx, [ebp - 0x2118]
call fcn.004439c0
mov eax, 0x80004005
jmp 0x44307e
push esi
push 0
push eax
call fcn.0047f8f0
add esp, 0xc
xor edi, edi
test ebx, ebx
jle 0x442e24
nop dword [eax + eax]
movzx ecx, word [ebp + edi*2 - 0x2014]
lea eax, [ecx - 0x30]
mov dword [ebp - 0x2220], eax
cmp eax, 0x36
ja case.0x442ddd.58
movzx eax, byte [eax + 0x4430ac]
jmp dword [eax*4 + 0x44309c]
lea eax, [ecx - 0x37]
jmp 0x442df0
lea eax, [ecx - 0x57]
jmp 0x442df0
xor eax, eax
mov dword [ebp - 0x2220], eax
mov esi, edi
shr esi, 1
add esi, dword [ebp - 0x2118]
mov eax, edi
and eax, 1
shl eax, 2
mov ecx, 4
sub ecx, eax
mov eax, dword [ebp - 0x2220]
shl al, cl
or byte [esi], al
inc edi
cmp edi, ebx
jl 0x442dc0
mov esi, dword [ebp - 0x2230]
push esi
push dword [ebp - 0x2118]
push 3
push 0
push dword [ebp - 0x222c]
mov eax, dword [ebp - 0x2228]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x44304e
lea ecx, [ebp - 0x2118]
call fcn.004439c0
jmp 0x44304e
lea ecx, [ebp - 0x2014]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442e77
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x2014]
push eax
push 1
push 0
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x44304e
mov dword [ebp - 0x2228], 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x2234]
push eax
push 0
push 0
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
jns 0x442ee2
mov dword [ebp - 4], 0xffffffff
jmp 0x44307e
mov eax, dword [ebp - 0x2234]
mov dword [ebp - 0x2230], eax
push 4
lea eax, [ebp - 0x2230]
push eax
push 4
push 0
push edi
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
jmp 0x44304e
cmp esi, 0x4008
jne 0x44305d
lea ecx, [ebp - 0x2014]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442f27
sub ecx, edx
sar ecx, 1
add ecx, 2
mov dword [ebp - 0x221c], 0
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x221c]
call fcn.00443120
mov dword [ebp - 4], 0
jmp 0x442f7c
mov edi, dword [ebp - 0x221c]
test edi, edi
je 0x443029
lea esi, [ebp - 0x2014]
cmp word [ebp - 0x2014], 0
je 0x442fcc
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push esi
call ebx
movzx ecx, word [esi]
cmp ecx, 0x5c
jne 0x442fbd
cmp word [eax], 0x30
jne 0x442fbd
xor ecx, ecx
mov word [edi], cx
push eax
call ebx
mov esi, eax
jmp 0x442fc3
mov word [edi], cx
add esi, 2
add edi, 2
cmp word [esi], 0
jne 0x442fa0
xor eax, eax
mov dword [edi], eax
mov ebx, dword [ebp - 0x221c]
test ebx, ebx
jne 0x442fdf
lea esi, [eax + 0xd]
jmp 0x44302e
xor esi, esi
mov edx, ebx
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442ff0
sub ecx, edi
sar ecx, 1
inc ecx
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x442fe3
push esi
push ebx
push 7
push 0
push dword [ebp - 0x222c]
mov eax, dword [ebp - 0x2228]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x44302e
mov esi, 0xe
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2218]
cmp dword [ebp - 0x221c], eax
je 0x44304e
lea ecx, [ebp - 0x221c]
call fcn.004439c0
test esi, esi
je 0x44305d
push esi
call fcn.004432c0
add esp, 4
jmp 0x44307e
push dword [ebp - 0x2238]
mov ecx, dword [ebp - 0x2224]
call fcn.00443b80
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
jmp 0x44307e
mov eax, 0x80020009
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.0047df69
mov esp, ebp
pop ebp
ret 0xc