Function at 0x40aad0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x44a044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push 0x206
lea ecx, [ebp - 0x20a]
xor eax, eax
push edi
push ecx
mov dword [ebp - 0x218], edi
mov word [ebp - 0x20c], ax
call fcn.00427f40
mov esi, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
add esp, 0xc
call esi
movzx eax, ax
mov edx, eax
and edx, 0x3ff
cmp edx, 4
jne 0x40ab3a
and eax, 0xfc00
mov dword [ebp - 0x214], 1
cmp eax, 0x400
je 0x40ab40
mov dword [ebp - 0x214], edi
call esi
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp ecx, 4
jne 0x40ab63
and eax, 0xfc00
cmp eax, 0x800
jne 0x40ab63
lea ebx, [ecx - 3]
jmp 0x40ab65
xor ebx, ebx
xor eax, eax
jmp 0x40ab70
movzx ecx, word [eax + str.SoftwareMicrosoftWindowsCurrentVersionUninstall_]
mov word [ebp + eax - 0x20c], cx
add eax, 2
cmp cx, di
jne 0x40ab70
cmp dword [ebp - 0x214], edi
je 0x40abe5
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
jmp 0x40aba0
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x40aba0
mov edx, dword [0x43e1ac]
mov ecx, dword [0x43e1b0]
mov dword [eax], edx
mov edx, dword [0x43e1b4]
mov dword [eax + 4], ecx
mov ecx, dword [0x43e1b8]
mov dword [eax + 8], edx
mov edx, dword [0x43e1bc]
mov dword [eax + 0xc], ecx
mov cx, word [0x43e1c0]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
jmp 0x40ac58
cmp ebx, edi
je 0x40ac37
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
cmp cx, di
jne 0x40abf2
mov edx, dword [0x43e1c4]
mov ecx, dword [str._Client7]
mov dword [eax], edx
mov edx, dword [0x43e1cc]
mov dword [eax + 4], ecx
mov ecx, dword [0x43e1d0]
mov dword [eax + 8], edx
mov edx, dword [0x43e1d4]
mov dword [eax + 0xc], ecx
mov cx, word [0x43e1d8]
mov dword [eax + 0x10], edx
mov word [eax + 0x14], cx
jmp 0x40ac58
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x40ac40
mov ecx, 7
mov esi, str.WiNet_Client7
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40adea
cmp dword [ebp - 0x214], eax
je 0x40acb9
jmp 0x40aca0
movzx ecx, word [eax + 0x43e1ac]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x40aca0
jmp 0x40acf7
test ebx, ebx
je 0x40ace0
lea ecx, [ecx]
movzx ecx, word [eax + 0x43e1c4]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x40acc0
jmp 0x40acf7
movzx ecx, word [eax + str.WiNet_Client7]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x40ace0
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ad00
mov ecx, dword [ebp - 0x210]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.Winet
push ecx
call esi
xor eax, eax
jmp 0x40ad40
movzx ecx, word [eax + 0x484954]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x40ad40
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ad60
mov ecx, dword [ebp - 0x210]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.DisplayVersion
push ecx
call esi
xor eax, eax
nop
movzx ecx, word [eax + str.C:Windowsexplorer.exe]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x40ad90
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40adb0
mov ecx, dword [ebp - 0x210]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.UninstallString
push ecx
call esi
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00421294
mov esp, ebp
pop ebp
ret