Function at 0x40a450
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ba6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x530
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
call fcn.0049ca60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0049cd70
lea eax, [ebp - 0x14]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_Rights
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
jne 0x40a530
lea ecx, [ebp - 0x33c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40a54d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x138]
mov esi, eax
call fcn.0046f750
mov edx, dword [0x639ad4]
mov dword [ebp - 0x24], edx
push esi
lea eax, [ebp - 0x24]
push str.Err__ld_GetMdlFN_in_AddDAM2_n
push eax
mov byte [ebp - 4], 3
call fcn.00562ecb
mov ecx, dword [ebp - 0x24]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x138]
call fcn.0046f830
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0056a100
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.0046f820
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.0049caa0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x238]
lea eax, [ebp - 0x53c]
push edx
lea ecx, [ebp - 0x43c]
push eax
lea edx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x33c]
push edx
push eax
call fcn.0054ea7c
mov ecx, dword [0x639ad4]
add esp, 0x14
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x238]
lea eax, [ebp - 0x53c]
push edx
push eax
lea ecx, [ebp - 0x1c]
push 0x615f14
push ecx
mov byte [ebp - 4], 4
call fcn.00562ecb
mov edx, dword [0x639ad4]
add esp, 0x10
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x43c]
lea ecx, [ebp - 0x28]
push eax
push ecx
lea edx, [ebp - 0x18]
push 0x615f14
push edx
mov byte [ebp - 4], 5
call fcn.00562ecb
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 1
jle 0x40a5f1
cmp byte [ecx + edx - 1], 0x5c
jne 0x40a5f1
dec ecx
push 0
push ecx
lea ecx, [ebp - 0x18]
call fcn.0056a5e0
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov dword [ebp - 0x20], 3
call ebx
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
jne 0x40a742
mov edx, dword [ebp - 0x14]
push edx
call ebx
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicyE0DACC63_037F_46EE_AC02_E4C7B0FBFEB4
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
jne 0x40a6b7
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov edi, edx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 1
push eax
push str.AppName
push ecx
call esi
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp - 0x14]
push 1
push eax
push str.AppPath
push edx
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push 4
push eax
push 4
push 0
push str.Policy
push ecx
call esi
mov edx, dword [ebp - 0x14]
push edx
call ebx
jmp 0x40a6bd
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy1902485B_CE75_42C1_BA2D_57E660793D9A
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x40a748
mov edi, str.IEMonitor.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebp - 0x14]
push str.IEMonitor.exe
push 1
push eax
push str.AppName
push ecx
call esi
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
mov edx, dword [ebp - 0x14]
push 1
push eax
push str.AppPath
push edx
call esi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push 4
push eax
push 4
push 0
push str.Policy
push ecx
call esi
mov edx, dword [ebp - 0x14]
push edx
call ebx
jmp 0x40a748
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x14]
push 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop
push reloc.WSOCK32.dll_accept
call edi
test eax, eax
jne 0x40a7f9
mov ecx, dword [ebp - 0x14]
push ecx
call ebx
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop19129CDA_AFC0_4330_99BC_C5A834F89006
push reloc.WSOCK32.dll_accept
call edi
test eax, eax
jne 0x40a7f9
mov edx, dword [ebp - 0x1c]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
mov eax, dword [ebp - 0x14]
push str.AppName
push eax
call esi
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [ebp - 0x14]
push edx
push 1
push eax
push str.AppPath
push ecx
call esi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x20]
push 4
push edx
push 4
push 0
push str.Policy
push eax
call esi
mov ecx, dword [ebp - 0x14]
push ecx
call ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0056a100
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0056a100
jmp 0x40a530