Function at 0x404d70
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x41f9c0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42a42c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x42b8d0]
mov edx, dword [eax + 0xc]
mov ecx, 0x42b8d0
mov dword [esp + 0x38], 0
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x1000
or eax, ecx
mov byte [esp + 0x38], 1
jge 0x404de0
push 0x1000
lea ecx, [esp + 0x1c]
call fcn.004026e0
mov esi, dword [esp + 0x18]
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.004113ca
add esp, 8
test eax, eax
jl 0x405061
cmp eax, dword [esi - 8]
jg 0x405061
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov edx, dword [0x42b8d0]
mov eax, dword [edx + 0xc]
mov ecx, 0x42b8d0
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
mov edx, dword [0x42b8d0]
mov eax, dword [edx + 0xc]
mov ecx, 0x42b8d0
mov byte [esp + 0x38], 2
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
push 0x5c
push esi
mov byte [esp + 0x40], 3
call fcn.0041111b
add esp, 8
test eax, eax
je 0x404eff
sub eax, esi
sar eax, 1
mov ebp, eax
js 0x404eff
lea ecx, [ebp + 1]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x20]
call fcn.004047f0
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 4
call fcn.004044e0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404eb2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebp
push 0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x24]
call fcn.00404420
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 5
call fcn.004044e0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x38], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404ef7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x28]
push str.SOFTWAREMicrosoftInternet_ExplorerLow_RightsElevationPolicy_
push edx
call fcn.00404820
mov ecx, dword [esp + 0x30]
add esp, 0xc
push 0
lea eax, [esp + 0x18]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x38], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [esp + 0x30]
push edx
push 4
push 0
push str.Policy
push eax
mov dword [esp + 0x44], 3
call ebp
mov eax, dword [ebx - 0xc]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax + 2]
push ecx
push ebx
push 1
push 0
push str.AppPath
push edx
call ebp
mov eax, dword [edi - 0xc]
mov ecx, dword [esp + 0x14]
add eax, eax
push eax
push edi
push 1
push 0
push str.AppName
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404fc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404fe3
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add ebx, 0xfffffff0
mov byte [esp + 0x38], 1
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x405004
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add esi, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405025
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40504d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
push 0x80070057
call fcn.00401180
int3