Function at 0x401220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4498b5
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x45a770]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x11c]
call fcn.00404710
push str.WifiHelper_
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00402a60
add esp, 4
cmp dword [ebp - 0x108], 8
jb 0x401289
push dword [ebp - 0x11c]
call fcn.00430ba0
add esp, 4
mov dword [ebp - 0x14], 0
push str.WifiHelper.exe
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec]
call fcn.00402b00
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
push 0xa
xor eax, eax
mov dword [ebp - 0x78], 7
push str.WifiHelper
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
call fcn.00403870
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
push 7
xor eax, eax
mov dword [ebp - 0x18], 7
push str.2.0.0.2
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00403870
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xa4]
push 6
xor eax, eax
mov dword [ebp - 0x90], 7
push 0x450d70
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
call fcn.00403870
push str.WifiHelper.exe
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x134]
call fcn.00402b00
add esp, 4
xor eax, eax
mov byte [ebp - 4], 8
push 0xffffffffffffffff
push eax
mov word [ebp - 0xd4], ax
lea ecx, [ebp - 0xd4]
lea eax, [ebp - 0x44]
mov dword [ebp - 0xc0], 7
push eax
mov dword [ebp - 0xc4], 0
call fcn.004034b0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.00404a40
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x5c]
push 9
xor eax, eax
mov dword [ebp - 0x48], 7
push str.SOFTWARE_
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
call fcn.00403870
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae edx, dword [ebp - 0x8c]
cmp word [edx], 0
jne 0x4013d3
xor ecx, ecx
jmp 0x4013ef
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x4013e0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4013e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.004025a0
cmp dword [ebp - 0x48], 8
lea esi, [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
cmovae esi, dword [ebp - 0x5c]
test eax, eax
je 0x401412
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x14], 0
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x401594
sub esp, 0x18
mov ecx, esp
call fcn.00402250
lea ecx, [ebp - 0x11c]
call fcn.00405270
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x44]
add esp, 0x18
cmp dword [ebp - 0x30], 8
cmovae esi, dword [ebp - 0x44]
test eax, eax
je 0x40149e
mov edx, esi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x401477
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push str.InstallDir
push eax
call edi
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xa8], 8
lea esi, [ebp - 0xbc]
cmovae esi, dword [ebp - 0xbc]
test eax, eax
je 0x4014e7
mov edx, esi
lea ebx, [edx + 2]
jmp 0x4014c0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4014c0
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push str.InstallDate
push eax
call edi
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x18], 8
lea esi, [ebp - 0x2c]
cmovae esi, dword [ebp - 0x2c]
test eax, eax
je 0x401527
mov edx, esi
lea ebx, [edx + 2]
jmp 0x401500
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x401500
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push str.Version
push eax
call edi
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x108]
lea esi, [ebp - 0x11c]
mov ecx, dword [ebp - 0x11c]
cmp edx, 8
cmovae esi, ecx
test eax, eax
je 0x401580
mov edx, esi
lea ebx, [edx + 2]
jmp 0x401550
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x401550
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push 0x450dd4
push eax
call edi
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x11c]
cmp edx, 8
jb 0x40158e
push ecx
call fcn.00430ba0
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0x34
xor eax, eax
mov dword [ebp - 0x60], 7
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
call fcn.00403870
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x74]
call fcn.00402760
push str.Uninstall.exe
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x104]
call fcn.00402b00
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x74]
add esp, 4
cmp dword [ebp - 0x60], 8
cmovae esi, dword [ebp - 0x74]
test eax, eax
je 0x4015fd
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x4017c6
cmp dword [ebp - 0xd8], 8
lea edx, [ebp - 0xec]
cmovae edx, dword [ebp - 0xec]
cmp dword [ebp - 0x14], eax
je 0x40166b
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401645
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x90], 8
lea edx, [ebp - 0xa4]
cmovae edx, dword [ebp - 0xa4]
cmp dword [ebp - 0x14], 0
je 0x4016b6
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401690
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayName
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x18], 8
lea edx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], 0
je 0x4016f6
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4016d0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.DisplayVersion
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0xf0], 8
lea edx, [ebp - 0x104]
cmovae edx, dword [ebp - 0x104]
cmp dword [ebp - 0x14], 0
je 0x40173b
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401715
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.UninstallString
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0xa8], 8
lea edx, [ebp - 0xbc]
cmovae edx, dword [ebp - 0xbc]
cmp dword [ebp - 0x14], 0
je 0x401786
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401760
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.InstallDate
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0x30], 8
lea edx, [ebp - 0x44]
cmovae edx, dword [ebp - 0x44]
cmp dword [ebp - 0x14], 0
je 0x4017c6
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4017a0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x14]
call edi
cmp dword [ebp - 0xf0], 8
jb 0x4017dd
push dword [ebp - 0x104]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xf0], 7
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0xf4], 0
mov word [ebp - 0x104], ax
jb 0x40180b
push dword [ebp - 0x74]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x60], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x401830
push dword [ebp - 0x5c]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
cmp dword [ebp - 0xa8], 8
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jb 0x40185b
push dword [ebp - 0xbc]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xa8], 7
cmp dword [ebp - 0xc0], 8
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
jb 0x40188f
push dword [ebp - 0xd4]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xc0], 7
cmp dword [ebp - 0x120], 8
mov dword [ebp - 0xc4], 0
mov word [ebp - 0xd4], ax
jb 0x4018c3
push dword [ebp - 0x134]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x120], 7
cmp dword [ebp - 0x90], 8
mov dword [ebp - 0x124], 0
mov word [ebp - 0x134], ax
jb 0x4018f7
push dword [ebp - 0xa4]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x90], 7
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
jb 0x401925
push dword [ebp - 0x2c]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], 7
cmp dword [ebp - 0x78], 8
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
jb 0x40194d
push dword [ebp - 0x8c]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0x78], 7
cmp dword [ebp - 0xd8], 8
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
jb 0x40197b
push dword [ebp - 0xec]
call fcn.00430ba0
add esp, 4
xor eax, eax
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xdc], 0
test eax, eax
je 0x4019a6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x14], 0
jb 0x4019be
push dword [ebp - 0x44]
call fcn.00430ba0
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430ba5
mov esp, ebp
pop ebp
ret