Function at 0x4028c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524840
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x56fa64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x550114
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.00401290
lea eax, [ebp - 0x24]
push eax
push 0xf003f
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
push ebx
push ecx
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402944
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x40293c
push ebx
lea ecx, [ebp + 8]
call fcn.004016b0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
call fcn.00402040
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_SettingsZones_
lea ecx, [ebp - 0x38]
call fcn.00401290
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 2
xor eax, eax
push 0xa
lea edx, [ebp - 0x20]
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x30]
push edx
push eax
mov byte [ebp - 0x20], bl
call fcn.00518d1c
push eax
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.00402cc0
add esp, 0x18
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
cmp dword [eax + 0xc], 1
jle 0x4029bf
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401740
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
or ecx, 0xffffffff
add dword [eax + 0xc], ecx
jne 0x4029ca
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x24]
push edx
push 0xf003f
push ebx
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402a94
mov edx, dword [ebp - 0x24]
push 4
lea ecx, [ebp - 0x28]
push ecx
push 4
push ebx
push str.1405
push edx
mov dword [ebp - 0x28], ebx
call esi
mov ecx, dword [ebp - 0x24]
push 4
lea eax, [ebp - 0x28]
push eax
push 4
push ebx
push str.1201
push ecx
call esi
mov eax, dword [ebp - 0x24]
push 4
lea edx, [ebp - 0x28]
push edx
push 4
push ebx
push str.1004
push eax
call esi
mov edx, dword [ebp - 0x24]
push 4
lea ecx, [ebp - 0x28]
push ecx
push 4
push ebx
push str.1001
push edx
call esi
mov ecx, dword [ebp - 0x24]
push 4
lea eax, [ebp - 0x28]
push eax
push 4
push ebx
push str.1200
push ecx
call esi
mov eax, dword [ebp - 0x24]
push 4
lea edx, [ebp - 0x28]
push edx
push 4
push ebx
push str.1A02
push eax
call esi
mov edx, dword [ebp - 0x24]
push 4
lea ecx, [ebp - 0x28]
push ecx
push 4
push ebx
push str.1A03
push edx
call esi
mov ecx, dword [ebp - 0x24]
push 4
lea eax, [ebp - 0x28]
push eax
push 4
push ebx
push str.CurrentLevel
push ecx
call esi
mov edx, dword [ebp - 0x24]
push edx
call edi
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ab7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp eax, 3
jle 0x402968
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402aea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00500f71
mov esp, ebp
pop ebp
ret 4