Function at 0x4f42d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b56c0
mov eax, dword fs:[0]
push eax
sub esp, 0x650
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x648], eax
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x660]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, 0x400
jb 0x4f48dd
lea edx, [esp + 0x28]
push edx
mov ecx, str.SMLTaskBarBtn_Win10.ini
call fcn.00406c20
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x670], 0
call fcn.0052fd70
add esp, 8
mov byte [esp + 0x668], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
or edi, 0xffffffff
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4f4384
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.SwitchFlag
push str.StartMenuCustom
call esi
cmp eax, 1
jne 0x4f43cf
mov dword [esp + 0x668], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x4f48dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4f48dd
call fcn.004f1410
test eax, eax
je 0x4f43f0
mov dword [esp + 0x668], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
jmp 0x4f43b8
mov ecx, dword [esp + 0x10]
push ecx
push 0
push str.PromoteCount
push str.StartMenuCustom
call esi
push 0
mov edi, str.PromoteCount
mov esi, str.StartMenuWin10
mov ebx, eax
call fcn.00444690
cmp ebx, eax
jae 0x4f442f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x1dc], eax
jmp 0x4f48d4
lea eax, [esp + 0x14]
push eax
mov ecx, str.PromoteTime
call fcn.00406c20
lea ebx, [esp + 0x14]
mov byte [esp + 0x668], 3
call fcn.004f1610
cmp eax, 1
lea ecx, [esp + 0x14]
setb bl
mov byte [esp + 0x668], 2
call fcn.004066e0
test bl, bl
jne 0x4f48d4
mov ecx, dword [esp + 0x10]
push ecx
push 0
push str.SwitchCount
push str.StartMenuCustom
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
mov edi, str.SwitchCount
mov esi, str.StartMenuWin10
mov ebx, eax
call fcn.00444690
cmp ebx, eax
jae 0x4f48d4
lea edx, [esp + 0x14]
push edx
mov ecx, str.SwitchTime
call fcn.00406c20
push 0
mov edi, str.SwitchInterval
mov byte [esp + 0x66c], 4
call fcn.00444690
lea ebx, [esp + 0x14]
mov esi, eax
call fcn.004f1610
cmp eax, esi
lea ecx, [esp + 0x14]
setb bl
mov byte [esp + 0x668], 2
call fcn.004066e0
test bl, bl
jne 0x4f48d4
call fcn.00407c80
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx]
call eax
mov edx, dword [eax]
push 0x80088
push 0
mov ecx, eax
mov eax, dword [edx]
push str.XStartMenuSwitcherforWin10
call eax
mov esi, eax
test esi, esi
je 0x4f48d4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x1c8], 1
test eax, eax
je 0x4f48d4
mov edi, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ebx, dword [esi]
mov dword [esp + 0x1c], edi
mov edi, dword [eax]
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
push eax
push 0
push str.SwitchCount
push str.StartMenuCustom
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, dword [esp + 0x10]
inc eax
mov ecx, eax
mov esi, str.SwitchCount
call fcn.004f0660
lea ecx, [esp + 0x14]
push ecx
mov ecx, str.SwitchTime
call fcn.00406c20
lea edx, [esp + 0x18]
push edx
mov ecx, str.StartMenuCustom
mov byte [esp + 0x66c], 5
call fcn.00406c20
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
mov byte [esp + 0x668], 6
call fcn.004f4910
lea ecx, [esp + 0x18]
call fcn.004066e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x668], 2
call fcn.004066e0
call fcn.00408030
mov dword [esp + 0x20], eax
call fcn.0052259d
test eax, eax
je 0x4f48d4
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x24e]
push ecx
mov word [esp + 0x250], ax
call fcn.0058e300
add esp, 0xc
call fcn.00419de0
mov eax, dword [eax]
sub eax, 0x10
call fcn.00406580
lea ebx, [eax + 0x10]
mov dword [esp + 0x34], ebx
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x46]
mov byte [esp + 0x670], 7
push eax
mov word [esp + 0x48], dx
call fcn.0058e300
add esp, 0xc
push 0x410
lea ecx, [esp + 0x248]
push 0
push ecx
call fcn.0058e300
add esp, 0xc
push 0x104
lea edx, [esp + 0x40]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, 0x208
lea ecx, [esp + 0x244]
lea esi, [esp + 0x3c]
call fcn.00419b50
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 0xa
lea eax, [esp + 0x248]
push eax
push ebx
push str.http:__softm.update.360safe.com_SMLWebCfg.ini_m_sver_sz_d
lea edi, [esp + 0x24]
mov byte [esp + 0x678], 8
call fcn.00406280
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.SMLSMLWebCfg.ini
call fcn.00406c20
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x670], 9
call fcn.0052fd70
add esp, 8
mov bl, 0xb
mov byte [esp + 0x668], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f471b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 8
call fcn.005851c0
add esp, 4
mov dword [esp + 0x24], eax
xor edi, edi
mov byte [esp + 0x668], 0xc
cmp eax, edi
je 0x4f4740
mov esi, eax
call fcn.0041ae20
jmp 0x4f4742
xor eax, eax
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x66c], bl
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
call fcn.0041bec0
mov byte [esp + 0x668], 0xd
mov edi, dword [esp + 0x14]
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x28], esp
mov esi, esp
call fcn.00406580
mov ebx, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebx]
push eax
call fcn.0051718b
push ecx
mov edx, esp
mov dword [esp + 0x28], esp
push edx
mov ecx, str.Content_Type:_application_x_www_form_urlencoded
call fcn.00406c20
push ebx
call fcn.0041af00
sub esp, 8
mov esi, esp
mov dword [esp + 0x2c], esp
push ebx
mov ebx, dword [esp + 0x3c]
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041bb90
mov eax, dword [esp + 0x28]
mov byte [esp + 0x670], 0xe
mov esi, dword [eax + 8]
mov eax, dword [0x6232d8]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
test eax, eax
jne 0x4f4816
push 0xac
call fcn.005851c0
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x670], 0xf
test eax, eax
je 0x4f4807
push eax
call fcn.00522a12
jmp 0x4f4809
xor eax, eax
mov byte [esp + 0x670], 0xe
mov dword [0x6232d8], eax
mov edx, dword [esp + 0x28]
push 0
push 0
push esi
push edx
push eax
mov byte [esp + 0x684], 0xd
call fcn.00522b2f
mov byte [esp + 0x668], 0xb
test ebx, ebx
je 0x4f4863
lea eax, [ebx + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4f4863
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4f4863
mov eax, dword [ebx]
mov edx, dword [eax + 4]
mov ecx, ebx
call edx
mov byte [esp + 0x668], 8
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f488b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x668], 7
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f48ac
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x668], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4f48d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x10]
call fcn.004066e0
mov ecx, dword [esp + 0x660]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x648]
xor ecx, esp
call fcn.005886fc
mov esp, ebp
pop ebp
ret 4