Function at 0x438090
Capabilities:
Check if file exists
Create directory
Get common file path
Get number of processors
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453be2
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x46d674]
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
mov esi, ecx
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x21c], esi
mov word [esi], cx
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], ebx
mov word [esi + 0x1c], dx
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], ebx
mov word [esi + 0x50], cx
mov dword [esi + 0x80], eax
mov dword [esi + 0x7c], ebx
mov word [esi + 0x6c], dx
mov dword [esi + 0x9c], eax
mov dword [esi + 0x98], ebx
mov word [esi + 0x88], cx
mov byte [esi + 0xa8], 1
mov dword [esi + 0xc0], eax
mov dword [esi + 0xbc], ebx
mov word [esi + 0xac], dx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf0], ebx
mov word [esi + 0xe0], cx
mov dword [esi + 0x110], eax
mov dword [esi + 0x10c], ebx
mov word [esi + 0xfc], dx
mov dword [esi + 0x11c], ebx
mov dword [esi + 0x120], 2
mov dword [esi + 0x128], ebx
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x14c], eax
mov dword [esi + 0x148], ebx
mov word [esi + 0x138], cx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x15c], 0x64
mov dword [esi + 0x178], eax
mov dword [esi + 0x174], ebx
mov word [esi + 0x164], dx
mov dword [esi + 0x194], eax
mov dword [esi + 0x190], ebx
mov word [esi + 0x180], cx
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1ac], ebx
mov word [esi + 0x19c], dx
mov dword [esi + 0x1d4], eax
mov dword [esi + 0x1d0], ebx
mov word [esi + 0x1c0], cx
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1ec], ebx
mov word [esi + 0x1dc], dx
mov dword [esi + 0x20c], eax
mov dword [esi + 0x208], ebx
mov word [esi + 0x1f8], cx
mov byte [esi + 0x218], bl
mov dword [esi + 0x230], eax
mov dword [esi + 0x22c], ebx
mov word [esi + 0x21c], dx
mov dword [esi + 0x24c], eax
xor eax, eax
mov dword [esi + 0x248], ebx
mov word [esi + 0x238], ax
push 0x206
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x216]
push ebx
push edx
mov dword [esi + 0x258], ebx
mov dword [esi + 0x25c], ebx
mov word [ebp - 0x218], cx
call fcn.00446e60
add esp, 0xc
push ebx
push 0x28
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x459d30
lea ecx, [ebp - 0x218]
push ecx
call edi
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4382ac
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.Funshion.ini
lea ecx, [ebp - 0x218]
push ecx
call edi
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4382c3
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
call fcn.00401490
mov eax, esi
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.0043e417
mov esp, ebp
pop ebp
ret