Function at 0x418e40
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x82c]
sub esp, 0x82c
push 0xffffffffffffffff
push 0x643b98
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x758898]
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.004f3a30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004f3f80
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push 0xf003f
push ebx
push 0x67997c
push ebx
push str.SoftwareMicrosoftInternet_ExplorerLow_Rights
push 0x80000001
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call edi
cmp eax, ebx
jne 0x4192f8
push 0x104
lea ecx, [ebp + 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x418f1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err__ld_GetMdlFN_in_AddDAM2_n
mov ecx, esi
call fcn.00417360
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
call fcn.004f3a50
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.0062016f
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.00623107
add esp, 0x24
test eax, eax
jne 0x418fb5
push eax
lea eax, [ebp + 0x620]
push eax
lea ecx, [ebp + 0x420]
push ecx
push 0x678de0
lea ecx, [ebp]
call fcn.00402320
push 0
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x820]
push eax
push 0x678de0
lea ecx, [ebp + 0xc]
call fcn.00402320
jmp 0x418fdb
mov eax, dword [0x75dc58]
test eax, eax
jne 0x418fc3
mov eax, 0x75dc5c
push eax
lea ecx, [ebp + 0xc]
call fcn.004017f0
push 0
push 0x67cef0
lea ecx, [ebp]
call fcn.00401980
mov esi, dword [ebp + 0xc]
test esi, esi
mov eax, esi
jne 0x418fe7
lea eax, [ebp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418ff0
sub eax, edx
sar eax, 1
cmp eax, 1
jle 0x41901c
test esi, esi
mov ecx, esi
jne 0x41900d
lea ecx, [ebp + 0x10]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x41901c
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 0x67997c
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push 0x80000001
call edi
test eax, eax
jne 0x4191d4
mov edx, dword [ebp - 0x14]
push edx
call esi
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0x67997c
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicyE0DACC63_037F_46EE_AC02_E4C7B0FBFEB4
push 0x80000001
call edi
test eax, eax
jne 0x419128
mov edx, dword [ebp]
test edx, edx
mov eax, edx
jne 0x419091
lea eax, [ebp + 4]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419094
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x4190ac
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 0x4190d3
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4190d6
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x4190ee
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 0x41912e
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x67997c
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 0x4191e0
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 0x41917f
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419182
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x41919a
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 0x4191e0
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 0x67997c
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop
push 0x80000001
call ebx
test eax, eax
jne 0x4192e0
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 0x67997c
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop19129CDA_AFC0_4330_99BC_C5A834F89006
push 0x80000001
call ebx
test eax, eax
jne 0x4192e0
mov edx, dword [ebp]
test edx, edx
mov eax, edx
jne 0x41924a
lea eax, [ebp + 4]
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419250
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x419268
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 0x419289
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419290
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x4192a8
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.004f3a50
mov dword [ebp - 4], 0xffffffff
jmp 0x418ef8