Function at 0x418cb0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x82c]
sub esp, 0x82c
push 0xffffffffffffffff
push 0x63b9c8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp + 0x828], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x20]
call fcn.004edf00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004ee450
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 0xf003f
push ebx
push 0x670984
push ebx
push str.SoftwareMicrosoftInternet_ExplorerLow_Rights
push 0x80000001
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call edi
cmp eax, ebx
jne 0x419168
push 0x104
lea ecx, [ebp + 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x418d8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err__ld_GetMdlFN_in_AddDAM2_n
mov ecx, esi
call fcn.00417530
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.004edf20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x828]
xor ecx, ebp
call fcn.0061807e
add ebp, 0x82c
mov esp, ebp
pop ebp
ret
mov dword [ebp], ebx
mov dword [ebp + 8], ebx
xor edx, edx
mov word [ebp + 4], dx
mov byte [ebp - 4], 2
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x14], ebx
xor eax, eax
mov word [ebp + 0x10], ax
mov ebx, 3
mov byte [ebp - 4], bl
push 0x100
lea ecx, [ebp + 0x620]
push ecx
push 0x100
lea edx, [ebp + 0x420]
push edx
push 0x100
lea eax, [ebp + 0x18]
push eax
push ebx
lea ecx, [ebp + 0x820]
push ecx
lea edx, [ebp + 0x218]
push edx
call fcn.0061b017
add esp, 0x24
test eax, eax
jne 0x418e25
push eax
lea eax, [ebp + 0x620]
push eax
lea ecx, [ebp + 0x420]
push ecx
push 0x66fde0
lea ecx, [ebp]
call fcn.00402320
push 0
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x820]
push eax
push 0x66fde0
lea ecx, [ebp + 0xc]
call fcn.00402320
jmp 0x418e4b
mov eax, dword [0x754c5c]
test eax, eax
jne 0x418e33
mov eax, 0x754c60
push eax
lea ecx, [ebp + 0xc]
call fcn.004017f0
push 0
push 0x673d10
lea ecx, [ebp]
call fcn.00401980
mov esi, dword [ebp + 0xc]
test esi, esi
mov eax, esi
jne 0x418e57
lea eax, [ebp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418e60
sub eax, edx
sar eax, 1
cmp eax, 1
jle 0x418e8c
test esi, esi
mov ecx, esi
jne 0x418e7d
lea ecx, [ebp + 0x10]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x418e8c
xor edx, edx
mov word [ecx + eax*2 - 2], dx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
push eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x670984
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push 0x80000001
call edi
test eax, eax
jne 0x419044
mov edx, dword [ebp - 0x14]
push edx
call esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x670984
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicyE0DACC63_037F_46EE_AC02_E4C7B0FBFEB4
push 0x80000001
call edi
test eax, eax
jne 0x418f98
mov edx, dword [ebp]
test edx, edx
mov eax, edx
jne 0x418f01
lea eax, [ebp + 4]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f04
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418f1c
lea ecx, [ebp + 4]
lea edx, [eax + eax + 2]
push edx
push ecx
push 1
push 0
push str.AppName
mov eax, dword [ebp - 0x14]
push eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call edi
mov edx, dword [ebp + 0xc]
test edx, edx
mov eax, edx
jne 0x418f43
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f46
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418f5e
lea ecx, [ebp + 0x10]
lea edx, [eax + eax + 2]
push edx
push ecx
push 1
push 0
push str.AppPath
mov eax, dword [ebp - 0x14]
push eax
call edi
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push str.Policy
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x418f9e
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x670984
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy1902485B_CE75_42C1_BA2D_57E660793D9A
push 0x80000001
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call ebx
test eax, eax
jne 0x419050
push 0x1c
push str.IEMonitor.exe
push 1
push eax
push str.AppName
mov edx, dword [ebp - 0x14]
push edx
call edi
mov edx, dword [ebp + 0xc]
test edx, edx
mov eax, edx
jne 0x418fef
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418ff2
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x41900a
lea ecx, [ebp + 0x10]
lea eax, [eax + eax + 2]
push eax
push ecx
push 1
push 0
push str.AppPath
mov ecx, dword [ebp - 0x14]
push ecx
call edi
push 4
lea edx, [ebp - 0x18]
push edx
push 4
push 0
push str.Policy
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x419050
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0xf003f
push 0
push 0x670984
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop
push 0x80000001
call ebx
test eax, eax
jne 0x419150
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 0x670984
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop19129CDA_AFC0_4330_99BC_C5A834F89006
push 0x80000001
call ebx
test eax, eax
jne 0x419150
mov edx, dword [ebp]
test edx, edx
mov eax, edx
jne 0x4190ba
lea eax, [ebp + 4]
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4190c0
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x4190d8
lea ecx, [ebp + 4]
lea edx, [eax + eax + 2]
push edx
push ecx
push 1
push 0
push str.AppName
mov eax, dword [ebp - 0x14]
push eax
call edi
mov edx, dword [ebp + 0xc]
test edx, edx
mov eax, edx
jne 0x4190f9
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419100
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x419118
lea ecx, [ebp + 0x10]
lea edx, [eax + eax + 2]
push edx
push ecx
push 1
push 0
push str.AppPath
mov eax, dword [ebp - 0x14]
push eax
call edi
push 4
lea ecx, [ebp - 0x18]
push ecx
push 4
push 0
push str.Policy
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00401210
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.00401210
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004edf20
mov dword [ebp - 4], 0xffffffff
jmp 0x418d68