Function at 0x427030
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5558f0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5ad6f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebx], vtable.CMainWnd.0
mov dword [ebx + 0x24], vtable.CMainWnd.1.0
mov dword [ebx + 0x28], vtable.CMainWnd.2.0
call fcn.0042a770
mov ecx, eax
call fcn.0043a920
lea eax, [ebx + 0x450]
lock bts dword [eax], 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4270b4
push 0
push 0
push 1
push 0
push str.DestoryWindowManual
call fcn.0040f500
mov ecx, eax
call fcn.00457650
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
cmp dword [0x5ad194], 0
je 0x427143
push 0x5639e4
mov dword [ebp - 0x14], 0
xor edi, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x427139
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x427113
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
push ecx
call eax
movzx eax, word [ebp - 0x10]
mov edi, 1
mov dword [ebp - 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x427139
cmp dword [ebp - 0x14], 5
jne 0x427139
mov eax, dword [0x5b43c4]
mov ecx, 1
cmp dword [ebp - 0x18], ecx
cmove eax, ecx
mov dword [0x5b43c4], eax
mov dword [0x5ad194], 0
cmp dword [0x5b43c4], 0
lea ecx, [ebp - 0x24]
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push SysReAllocString
je 0x4271a5
call fcn.004137c0
mov esi, dword [ebp - 0x24]
test eax, eax
jne 0x4271d6
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 4
push 0
push str.SeparateProcess
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
jmp 0x4271d6
call fcn.004137c0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
mov esi, dword [ebp - 0x24]
jne 0x4271d6
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 4
push 0
push str.SeparateProcess
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4271e1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5b43c8], 0
je 0x42721b
push 0x5ad19c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x5b43c8]
test ecx, ecx
je 0x427210
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [0x5b43c8], 0
push 0x5ad19c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebx + 0x44c], 0
je 0x42722f
lea ecx, [ebx + 0x448]
call fcn.004345e0
mov esi, dword [ebx + 0x45c]
test esi, esi
je 0x42724b
mov ecx, esi
call fcn.0041e750
push 0x30
push esi
call fcn.004d65a7
add esp, 8
mov esi, dword [ebx + 0x454]
lea edi, [ebx + 0x454]
push dword [esi + 4]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00432550
mov eax, dword [edi]
push 0x18
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
push dword [edi]
call fcn.004d65a7
add esp, 8
cmp dword [ebx + 0x44c], 0
jne 0x4272ec
lea ecx, [ebx + 0xb4]
call fcn.0040f350
lea ecx, [ebx + 0xa0]
call fcn.00406ea0
lea ecx, [ebx + 0x8c]
call fcn.00406ea0
lea ecx, [ebx + 0x84]
call fcn.0040deb0
lea ecx, [ebx + 0x2c]
call fcn.00437b50
mov dword [ebx + 0x24], vtable.IChannelListener.0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4272da
push eax
call fcn.00445e4d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0051c090
int3