Function at 0x418b40
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x82c]
sub esp, 0x82c
push 0xffffffffffffffff
push 0x636c48
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x7496c8]
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.004eb150
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004eb6a0
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 0xf003f
push ebx
push 0x66b96c
push ebx
push str.SoftwareMicrosoftInternet_ExplorerLow_Rights
push 0x80000001
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call edi
cmp eax, ebx
jne 0x418ff8
push 0x104
lea ecx, [ebp + 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x418c1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err__ld_GetMdlFN_in_AddDAM2_n
mov ecx, esi
call fcn.004173c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.004eb170
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.00613241
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.006161d7
add esp, 0x24
test eax, eax
jne 0x418cb5
push eax
lea eax, [ebp + 0x620]
push eax
lea ecx, [ebp + 0x420]
push ecx
push 0x66add0
lea ecx, [ebp]
call fcn.00402320
push 0
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x820]
push eax
push 0x66add0
lea ecx, [ebp + 0xc]
call fcn.00402320
jmp 0x418cdb
mov eax, dword [0x74ea7c]
test eax, eax
jne 0x418cc3
mov eax, 0x74ea80
push eax
lea ecx, [ebp + 0xc]
call fcn.004017f0
push 0
push 0x66ed00
lea ecx, [ebp]
call fcn.00401980
mov esi, dword [ebp + 0xc]
test esi, esi
mov eax, esi
jne 0x418ce7
lea eax, [ebp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418cf0
sub eax, edx
sar eax, 1
cmp eax, 1
jle 0x418d1c
test esi, esi
mov ecx, esi
jne 0x418d0d
lea ecx, [ebp + 0x10]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x418d1c
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 0x66b96c
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push 0x80000001
call edi
test eax, eax
jne 0x418ed4
mov edx, dword [ebp - 0x14]
push edx
call esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x66b96c
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicyE0DACC63_037F_46EE_AC02_E4C7B0FBFEB4
push 0x80000001
call edi
test eax, eax
jne 0x418e28
mov edx, dword [ebp]
test edx, edx
mov eax, edx
jne 0x418d91
lea eax, [ebp + 4]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418d94
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418dac
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 0x418dd3
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418dd6
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418dee
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 0x418e2e
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x66b96c
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 0x418ee0
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 0x418e7f
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418e82
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418e9a
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 0x418ee0
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 0x66b96c
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop
push 0x80000001
call ebx
test eax, eax
jne 0x418fe0
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 0x66b96c
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop19129CDA_AFC0_4330_99BC_C5A834F89006
push 0x80000001
call ebx
test eax, eax
jne 0x418fe0
mov edx, dword [ebp]
test edx, edx
mov eax, edx
jne 0x418f4a
lea eax, [ebp + 4]
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f50
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418f68
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 0x418f89
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418f90
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418fa8
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.004011f0
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.004011f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.004eb170
mov dword [ebp - 4], 0xffffffff
jmp 0x418bf8