Function at 0x418770
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x82c]
sub esp, 0x82c
push 0xffffffffffffffff
push 0x643c58
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 0x418c28
push 0x104
lea ecx, [ebp + 0x218]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x41884d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Err__ld_GetMdlFN_in_AddDAM2_n
mov ecx, esi
call fcn.00416c90
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.0062023e
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.006231d7
add esp, 0x24
test eax, eax
jne 0x4188e5
push eax
lea eax, [ebp + 0x620]
push eax
lea ecx, [ebp + 0x420]
push ecx
push 0x678de0
lea ecx, [ebp]
call fcn.00402330
push 0
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0x820]
push eax
push 0x678de0
lea ecx, [ebp + 0xc]
call fcn.00402330
jmp 0x41890b
mov eax, dword [0x75dc58]
test eax, eax
jne 0x4188f3
mov eax, 0x75dc5c
push eax
lea ecx, [ebp + 0xc]
call fcn.00401800
push 0
push 0x67cef0
lea ecx, [ebp]
call fcn.00401990
mov esi, dword [ebp + 0xc]
test esi, esi
mov eax, esi
jne 0x418917
lea eax, [ebp + 0x10]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418920
sub eax, edx
sar eax, 1
cmp eax, 1
jle 0x41894c
test esi, esi
mov ecx, esi
jne 0x41893d
lea ecx, [ebp + 0x10]
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x41894c
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 0x418b04
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 0x418a58
mov edx, dword [ebp]
test edx, edx
mov eax, edx
jne 0x4189c1
lea eax, [ebp + 4]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4189c4
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x4189dc
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 0x418a03
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418a06
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418a1e
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 0x418a5e
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 0x418b10
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 0x418aaf
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418ab2
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418aca
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 0x418b10
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 0x418c10
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 0x418c10
mov edx, dword [ebp]
test edx, edx
mov eax, edx
jne 0x418b7a
lea eax, [ebp + 4]
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418b80
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418b98
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 0x418bb9
lea eax, [ebp + 0x10]
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418bc0
sub eax, esi
sar eax, 1
test edx, edx
mov ecx, edx
jne 0x418bd8
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 0x418828