Function at 0x4148f0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44d696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9e0
mov eax, dword [0x463290]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
xor esi, esi
push ecx
mov dword [esp + 0x9fc], esi
call fcn.00412a30
mov edx, dword [esp + 0x14]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
push str.5.0.0.0
push edx
call edi
add esp, 0xc
test eax, eax
jl 0x4149eb
mov eax, dword [esp + 0x10]
push str.6.0.0.0
push eax
call edi
add esp, 8
test eax, eax
jge 0x4149eb
mov ecx, dword [0x463290]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xa00]
lea eax, [esp + 0x14]
push edx
push str.Software360360se5
push str._sdefault_s
push eax
mov byte [esp + 0xa08], 1
call fcn.00409c00
mov ecx, dword [esp + 0xa18]
mov edx, dword [esp + 0xa14]
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
push SysReAllocString
call fcn.00410ec0
mov eax, dword [esp + 0x34]
mov edx, dword [0x463294]
add esp, 0x20
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x414b0c
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414b0c
mov edx, dword [esp + 0x14]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
jmp 0x414b0c
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
lea eax, [esp + 0x1c]
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x414b0c
lea ecx, [esp + 0x18]
push str.360SE360se.ini
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
mov ecx, 0x1f3
xor eax, eax
lea edi, [esp + 0x22a]
mov word [esp + 0x228], si
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa0c]
add esp, 8
lea edx, [esp + 0x18]
stosw word es:[edi], ax
push edx
mov edx, dword [esp + 0xa04]
lea eax, [esp + 0x224]
push 0x3e7
push eax
push 0x4d6e34
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x220]
test eax, eax
jne 0x414a80
xor ebp, ebp
jmp 0x414a90
lea ecx, [esp + 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
mov ebx, dword [esp + 0xa08]
mov eax, dword [ebx]
mov edx, dword [eax - 0xc]
lea ecx, [eax - 0xc]
cmp edx, 1
jg 0x414aa9
cmp ebp, dword [eax - 4]
jle 0x414ae2
mov edx, dword [0x463294]
add eax, 0xfffffff4
cmp eax, edx
je 0x414ad6
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414acf
mov edx, dword [ebx]
sub edx, 0xc
push edx
call fcn.0044737a
add esp, 4
mov eax, dword [0x463290]
mov dword [ebx], eax
push ebp
mov ecx, ebx
call fcn.00402e70
cmp eax, esi
je 0x414b0c
mov edi, dword [ebx]
lea eax, [ebp + ebp]
mov ecx, eax
lea esi, [esp + 0x220]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], ebp
mov edx, dword [ebx]
mov word [eax + edx], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x463294]
pop edi
pop esi
lea ecx, [eax - 0xc]
pop ebp
cmp ecx, edx
pop ebx
je 0x414b3f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x414b3f
mov edx, dword [esp]
add edx, 0xfffffff4
push edx
call fcn.0044737a
add esp, 4
mov ecx, dword [esp + 0x9e0]
mov dword fs:[0], ecx
add esp, 0x9ec
ret