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

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x214
push 0xffffffffffffffff
push 0x418450
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x41f4bc]
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 [0x4198c8]
mov dword [ebp + 0x208], ecx
mov dx, word [0x4198cc]
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 0x404f60
push str.UnregServer
push esi
call fcn.00401050
add esp, 8
test eax, eax
jne 0x404de9
push eax
lea edx, [ebp - 0x18]
push edx
push eax
push 0xf003f
push eax
push 0x419b00
push eax
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push SysReAllocString
call edi
test eax, eax
jne 0x404de9
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 0x404f49
push eax
lea edx, [ebp - 0x14]
push edx
push eax
push 0xf003f
push eax
push 0x419b00
push eax
push str.SoftwareMicrosoftInternet_ExplorerLow_Rights
push SysReAllocString
call edi
test eax, eax
jne 0x404f49
push 0x104
lea eax, [ebp]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x404f49
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 0x419b00
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push SysReAllocString
call edi
test eax, eax
jne 0x404f49
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 0x419b00
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy15B851AF_A4B9_43EF_97D3_28E1B4A5DB9B
push SysReAllocString
call edi
test eax, eax
jne 0x404f49
push 0x5c
lea edx, [ebp]
push edx
call fcn.0040907a
add esp, 8
test eax, eax
je 0x404f3f
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 0x404ed0
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]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404f00
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 0x404d91
mov dword [ebp - 4], 0xffffffff
push 0x401100
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
cmp byte [0x420520], 0
je 0x404f8d
or esi, 0xffffffff
jmp 0x404fc5
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [ebp - 0x18]
push edx
push eax
mov ecx, 0x420570
call fcn.00404b90
cmp al, 1
jne 0x404fc0
mov eax, dword [ebp + 0x228]
push eax
mov ecx, 0x420570
call fcn.00404400
jmp 0x404fc3
mov eax, dword [ebp - 0x18]
mov esi, eax
mov eax, dword [0x4205b0]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x404fd7
push eax
call edi
mov eax, dword [0x4205b4]
test eax, eax
je 0x404fe3
push eax
call edi
mov eax, dword [0x4205b8]
test eax, eax
je 0x404fef
push eax
call edi
mov eax, dword [0x4205c0]
test eax, eax
je 0x404fff
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.00409b02
add ebp, 0x214
mov esp, ebp
pop ebp
ret 0x10