Function at 0x404ce0
Capabilities:
Accept command line arguments
Delete registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x408ff0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x40e4b8]
xor eax, ebp
mov dword [ebp + 0x210], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x224]
mov dword [ebp - 4], 0
mov ecx, dword [0x40a8b8]
mov dword [ebp + 0x208], ecx
mov dx, word [0x40a8bc]
mov word [ebp + 0x20c], dx
lea ecx, [ebp + 0x208]
push ecx
push eax
call section..text
mov esi, eax
mov dword [ebp - 0x1c], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 8
test esi, esi
je 0x404f30
push str.UnregServer
push esi
call fcn.00401050
add esp, 8
test eax, eax
jne 0x404db9
push eax
lea edx, [ebp - 0x18]
push edx
push eax
push 0xf003f
push eax
push 0x40aaf0
push eax
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404db9
push str.15B851AF_A4B9_43EF_97D3_28E1B4A5DB9B
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.RegServer
push esi
call fcn.00401050
add esp, 8
test eax, eax
jne 0x404f19
push eax
lea edx, [ebp - 0x14]
push edx
push eax
push 0xf003f
push eax
push 0x40aaf0
push eax
push str.SoftwareMicrosoftInternet_ExplorerLow_Rights
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404f19
push 0x104
lea eax, [ebp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x404f19
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0xf003f
push 0
push 0x40aaf0
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404f19
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x40aaf0
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy15B851AF_A4B9_43EF_97D3_28E1B4A5DB9B
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404f19
push 0x5c
lea edx, [ebp]
push edx
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x404f0f
xor ecx, ecx
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x20], 3
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x404ea1
sub ecx, esi
sar ecx, 1
lea edx, [ecx + ecx + 2]
push edx
push eax
push 1
push 0
push str.AppName
mov eax, dword [ebp - 0x14]
push eax
call ebx
lea eax, [ebp]
lea edx, [eax + 2]
jmp 0x404ed0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404ed0
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp]
push edx
push 1
push 0
push str.AppPath
mov eax, dword [ebp - 0x14]
push eax
call ebx
push 4
lea ecx, [ebp - 0x20]
push ecx
push 4
push 0
push str.Policy
mov edx, dword [ebp - 0x14]
push edx
call ebx
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp + 0x208]
push ecx
push esi
call section..text
mov dword [ebp - 0x1c], eax
mov esi, eax
jmp 0x404d61
mov dword [ebp - 4], 0xffffffff
push 0x401100
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp byte [0x40e4d0], 0
je 0x404f5d
or esi, 0xffffffff
jmp 0x404f95
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, 0x40e520
call fcn.00404b60
cmp al, 1
jne 0x404f90
mov eax, dword [ebp + 0x228]
push eax
mov ecx, 0x40e520
call fcn.004043d0
jmp 0x404f93
mov eax, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [0x40e560]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x404fa7
push eax
call edi
mov eax, dword [0x40e564]
test eax, eax
je 0x404fb3
push eax
call edi
mov eax, dword [0x40e568]
test eax, eax
je 0x404fbf
push eax
call edi
mov eax, dword [0x40e56c]
test eax, eax
je 0x404fcf
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x210]
xor ecx, ebp
call fcn.004080de
add ebp, 0x214
mov esp, ebp
pop ebp
ret 0x10