Function at 0x408dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54929b
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.00481c60
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00481f70
lea eax, [ebp - 0x14]
push 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_Rights
push 0x80000001
call esi
test eax, eax
jne 0x408eb0
lea ecx, [ebp - 0x33c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408ecd
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x138]
mov esi, eax
call fcn.00459300
mov edx, dword [0x5b5ecc]
mov dword [ebp - 0x20], edx
push esi
lea eax, [ebp - 0x20]
push str.Err__ld_GetMdlFN_in_AddDAM2_n
push eax
mov byte [ebp - 4], 3
call fcn.0053091a
mov ecx, dword [ebp - 0x20]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x138]
call fcn.004593e0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00537b04
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.004593d0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00481ca0
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 - 0x53c]
lea eax, [ebp - 0x238]
push edx
lea ecx, [ebp - 0x43c]
push eax
lea edx, [ebp - 0x28]
push ecx
lea eax, [ebp - 0x33c]
push edx
push eax
call fcn.0051d13a
mov ecx, dword [0x5b5ecc]
add esp, 0x14
mov dword [ebp - 0x1c], ecx
lea edx, [ebp - 0x53c]
lea eax, [ebp - 0x238]
push edx
push eax
lea ecx, [ebp - 0x1c]
push 0x598a7c
push ecx
mov byte [ebp - 4], 4
call fcn.0053091a
mov edx, dword [0x5b5ecc]
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 0x598a7c
push edx
mov byte [ebp - 4], 5
call fcn.0053091a
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 0x408f71
cmp byte [ecx + edx - 1], 0x5c
jne 0x408f71
dec ecx
push 0
push ecx
lea ecx, [ebp - 0x18]
call fcn.00538038
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov dword [ebp - 0x24], 3
call ebx
lea ecx, [ebp - 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicy
push 0x80000001
call esi
test eax, eax
jne 0x409037
mov edx, dword [ebp - 0x14]
push edx
call ebx
lea eax, [ebp - 0x14]
push 0
push eax
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsElevationPolicyE0DACC63_037F_46EE_AC02_E4C7B0FBFEB4
push 0x80000001
call esi
test eax, eax
jne 0x409037
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 - 0x24]
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 0x40903d
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 0x5ba440
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop
push 0x80000001
call edi
test eax, eax
jne 0x4090ee
mov ecx, dword [ebp - 0x14]
push ecx
call ebx
lea edx, [ebp - 0x14]
push 0
push edx
push 0
push 0xf003f
push 0
push 0x5ba440
push 0
push str.SoftwareMicrosoftInternet_ExplorerLow_RightsDragDrop19129CDA_AFC0_4330_99BC_C5A834F89006
push 0x80000001
call edi
test eax, eax
jne 0x4090ee
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 - 0x24]
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.00537b04
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00537b04
jmp 0x408eb0