Function at 0x4262c0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595730
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x629070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], eax
mov edx, str.SupplyID
lea eax, [ebp - 0x5c]
mov ecx, str.SOFTWARELenovoSLBrowser_
push eax
call fcn.0041b910
add esp, 4
lea ecx, [ebp - 0x5c]
push 0x61ff50
call fcn.004029c0
test eax, eax
jne 0x4263fb
push 2
mov edx, str.ProtectLevel
mov ecx, str.SYSTEMCurrentControlSetServicesSLBDriver_
call fcn.0041bd10
add esp, 4
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00426140
test eax, eax
je 0x4263c3
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.00423130
test eax, eax
je 0x4263a5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, 0x61ff74
mov ecx, str.SYSTEMCurrentControlSetServicesSLBDriver_
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041bc40
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4264d6
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402170
jmp 0x4264d6
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.WriteProtectLevel__GetUserSid
call fcn.00401ad0
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push str.InstallSLBDrver
call fcn.00401ad0
xor ecx, ecx
mov byte [ebp - 4], 1
call fcn.00404930
add esp, 0x30
jmp 0x4264d6
lea eax, [ebp - 0x60]
mov dword [ebp - 0x2c], 3
push eax
push 0xf003f
push 0
push str.SYSTEMCurrentControlSetServicesSLBDriver_
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x426446
push 4
lea eax, [ebp - 0x2c]
push eax
push 4
push 0
push str.ProtectLevel
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x426446
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00426140
test eax, eax
je 0x4264c2
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.00423130
test eax, eax
je 0x4264ad
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, 0x61ff74
mov ecx, str.SYSTEMCurrentControlSetServicesSLBDriver_
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041beb0
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4264c2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402170
mov ecx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationsmicrosoft_slbhttpUserChoice
call fcn.0041bf50
mov ecx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationsmicrosoft_slbhttpsUserChoice
call fcn.0041bf50
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4264eb
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.004021d0
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x426500
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00402170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004387fb
mov esp, ebp
pop ebp
ret