Function at 0x493980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb4ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x18], ebx
call fcn.005201a0
push ebx
add eax, 0x200
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0044c810
mov al, byte [eax + 4]
test al, al
je 0x493a16
call fcn.005201a0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.00474610
mov dword [ebp - 4], ebx
mov ebx, 1
cmp dword [eax + 0x10], 0
mov dword [ebp - 0x18], ebx
je 0x493a16
call fcn.005201a0
push 0
add eax, 0x220
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0044cbd0
mov eax, dword [eax + 4]
test eax, eax
jle 0x493a16
lea ecx, [edi + 0x160]
mov edx, str.CORPORATE
call fcn.0044d3d0
mov byte [ebp - 0xd], bl
test al, al
jne 0x493a1a
mov byte [ebp - 0xd], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x493a2e
lea ecx, [ebp - 0x58]
call fcn.004470b0
cmp byte [ebp - 0xd], 0
je 0x493a76
push 0xd0
call fcn.005838a8
add esp, 4
mov dword [ebp + 8], eax
push 0
push str.mw_proxy_blocked_btn_ok
push str.mw_proxy_blocked
push ecx
push edi
mov dword [ebp - 4], 1
mov ecx, eax
push dword [edi + 0x10]
call fcn.00497cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x618c0c]
push 0
inc dword [eax]
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWAREAeroAdmin
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, dword [ebp + 8]
test eax, eax
jne 0x493acf
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
lea ecx, [eax*2 + 2]
mov eax, esi
jb 0x493abb
mov eax, dword [esi]
push ecx
push eax
push 1
push 0
push str.clientId
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.004e9550
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00450030
mov esi, dword [ebp - 0x20]
mov ebx, dword [0x6d3764]
cmp byte [esi + 0xd], 0
jne 0x493b51
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], eax
jb 0x493b16
mov edx, dword [edx]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
mov ebx, eax
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp + 8], ebx
cmovb eax, dword [ebp + 8]
push eax
call fcn.00450520
mov ebx, dword [0x6d3764]
add esp, 4
test eax, eax
jne 0x493b4a
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 8]
jae 0x493b53
jmp 0x493b51
shr eax, 0x1f
test al, al
je 0x493b53
mov esi, ebx
cmp esi, ebx
jne 0x493c17
cmp byte [edi + 0xb0], 0
lea ebx, [edi + 0x98]
mov dword [ebp + 8], ebx
je 0x493be2
push 0x288
call fcn.005838a8
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call ebx
sub esp, 0x24
lea eax, [edi + 0x98]
mov ecx, esp
push eax
call fcn.0045fef0
sub esp, 0xc
mov ecx, esi
call fcn.004a9450
mov byte [ebp - 4], 2
mov edi, dword [edi + 0x10]
push 0
mov dword [ebp - 0x18], eax
call ebx
sub esp, 0x24
mov esi, eax
mov ecx, esp
push dword [ebp + 8]
call fcn.0045fef0
lea eax, [ebp - 0x40]
push eax
push edi
push esi
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.004a9830
lea eax, [ebp - 0x40]
push eax
call fcn.00496c20
mov dword [eax], esi
jmp 0x493c31
push 0x1e0
call fcn.005838a8
add esp, 4
mov dword [ebp + 8], eax
push ebx
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
push ecx
push 0
mov ecx, eax
call fcn.004b40b0
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
push eax
call fcn.00496c20
mov dword [eax], esi
jmp 0x493c31
mov eax, dword [esi + 0x28]
push 9
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x28]
push dword [eax + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x493c67
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x493c5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x493c7a
push ecx
push edx
call fcn.00583877
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.00591c98
int3