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

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x409320
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 [0x40a8c8]
mov dword [ebp + 0x208], ecx
mov dx, word [0x40a8cc]
mov word [ebp + 0x20c], dx
lea ecx, [ebp + 0x208]
push ecx
push eax
call fcn.004014a0
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 0x404f80
push str.UnregServer
push esi
call fcn.004014f0
add esp, 8
test eax, eax
jne 0x404e09
push eax
lea edx, [ebp - 0x18]
push edx
push eax
push 0xf003f
push eax
push 0x40ab00
push eax
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404e09
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.004014f0
add esp, 8
test eax, eax
jne 0x404f69
push eax
lea edx, [ebp - 0x14]
push edx
push eax
push 0xf003f
push eax
push 0x40ab00
push eax
push str.SoftwareMicrosoftInternet_ExplorerLow_Rights
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404f69
push 0x104
lea eax, [ebp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x404f69
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 0x40ab00
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404f69
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 0x40ab00
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy15B851AF_A4B9_43EF_97D3_28E1B4A5DB9B
push SysReAllocStringLen
call edi
test eax, eax
jne 0x404f69
push 0x5c
lea edx, [ebp]
push edx
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
test eax, eax
je 0x404f5f
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 0x404ef1
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 0x404f20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404f20
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 fcn.004014a0
mov dword [ebp - 0x1c], eax
mov esi, eax
jmp 0x404db1
mov dword [ebp - 4], 0xffffffff
push section..text
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp byte [0x40e4d0], 0
je 0x404fad
or esi, 0xffffffff
jmp 0x404fe5
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.00404bb0
cmp al, 1
jne 0x404fe0
mov eax, dword [ebp + 0x228]
push eax
mov ecx, 0x40e520
call fcn.00404420
jmp 0x404fe3
mov eax, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [0x40e560]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x404ff7
push eax
call edi
mov eax, dword [0x40e564]
test eax, eax
je 0x405003
push eax
call edi
mov eax, dword [0x40e568]
test eax, eax
je 0x40500f
push eax
call edi
mov eax, dword [0x40e570]
test eax, eax
je 0x40501f
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.0040840e
add ebp, 0x214
mov esp, ebp
pop ebp
ret 0x10