Function at 0x446420
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d307c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00470ad0
mov edi, eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, 4
mov byte [esi + 0xd], 0
mov ebx, 1
mov dword [esi + 0x278], eax
mov dword [esi + 0x27c], ebx
mov byte [esi], 0
mov byte [esi + 1], 0
mov byte [esi + 2], 0
mov byte [esi + 3], 0
mov byte [esi + 4], 0
mov byte [esi + 5], bl
mov byte [esi + 0xc], 0
mov byte [esi + 0x215], bl
mov byte [esi + 0x216], bl
mov byte [esi + 0x217], 0
mov dword [esi + 0x218], eax
mov ecx, 0x32
mov byte [esi + 0x21c], bl
mov dword [esi + 8], ecx
mov byte [esi + 0x21d], bl
mov byte [esi + 0x21e], bl
mov eax, 2
mov byte [esi + 0x21f], 0
mov dword [esi + 0x220], eax
mov byte [esi + 0x224], 0
mov dword [esi + 0x22c], 0x46
mov dword [esi + 0x230], ecx
mov dword [esi + 0x234], 6
mov byte [esi + 0x284], bl
mov byte [esi + 0x285], bl
mov dword [esi + 0x288], ebx
mov dword [esi + 0x290], 0x1388
mov byte [esi + 0x28c], bl
mov byte [esi + 0x294], bl
mov byte [esi + 0x295], bl
mov byte [esi + 0x296], bl
mov byte [esi + 0x297], bl
mov byte [esi + 0x280], 0
mov byte [esi + 0x281], 0
mov dword [esi + 0x29c], eax
mov dword [esi + 0x2a0], ebx
mov dword [esi + 0x2a4], eax
mov dword [esi + 0x2a8], ebx
xor ebp, ebp
mov dword [esi + 0x2ac], eax
mov dword [esi + 0x2b0], ebp
mov byte [esi + 0x282], 0
mov byte [esi + 0x283], 0
mov byte [esi + 0x298], bl
mov byte [esi + 0x299], bl
mov byte [esi + 0x29a], bl
xor ecx, ecx
mov byte [esi + 0x29b], 0
cmp edi, 8
mov dword [esi + 0x2b4], eax
mov dword [esi + 0x2b8], eax
setle cl
mov dword [esi + 0x2bc], ebp
mov byte [esi + 0x2c0], bl
dec ecx
mov byte [esi + 0x2c1], 0
mov byte [esi + 0x225], bl
and ecx, eax
mov byte [esi + 0x226], bl
mov dword [esi + 0x228], ecx
mov byte [esi + 0x2c2], bl
mov byte [esi + 0x2c3], 0
mov dword [esi + 0x2c4], ebx
mov byte [esi + 0x2c8], bl
mov byte [esi + 0x2c9], 0
mov byte [esi + 0x2cb], 0
mov byte [esi + 0x2ca], 0
lea edi, [esi + 0x3e8]
mov byte [esi + 0x2cc], 0
mov byte [esi + 0x2cd], 0
mov dword [esi + 0x508], 0x33333333
mov byte [esi + 0x2ce], 0
mov byte [esi + 0x2cf], 0
mov byte [esi + 0x2d0], 0
mov byte [esi + 0x2d1], 0
mov byte [esi + 0x2d2], 0
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d8], 3
mov byte [esi + 0x2dc], 0
mov byte [esi + 0x2d3], bl
mov byte [esi + 0x2dd], bl
mov byte [esi + 0x2de], 0
mov byte [esi + 0x2df], bl
mov dword [esi + 0x2e0], ebp
mov byte [edi], 0
mov byte [esi + 0x4ee], 0
mov byte [esi + 0x4ef], 0
mov byte [esi + 0x4f0], bl
mov byte [esi + 0x4f1], bl
mov byte [esi + 0x4f2], bl
mov byte [esi + 0x4f3], bl
mov byte [esi + 0x4f4], bl
mov byte [esi + 0x4f5], bl
mov byte [esi + 0x500], 0
mov dword [esi + 0x50c], 0x3ff33333
mov dword [esi + 0x510], ebx
mov dword [esi + 0x514], ebx
mov byte [esi + 0x519], bl
mov byte [esi + 0x518], 0x5f
mov byte [esi + 0x4ec], bl
mov byte [esi + 0x4ed], 0
mov dword [esi + 0x51c], ebp
mov byte [esi + 0x520], bl
mov byte [esi + 0x286], bl
mov byte [esi + 0x522], bl
mov byte [esi + 0x523], 0
mov byte [esi + 0x521], bl
mov byte [esi + 0x524], bl
mov byte [esi + 0x527], 0
mov dword [esi + 0x528], ebp
mov byte [esi + 0x52c], 0
mov byte [esi + 0x525], 0
mov byte [esi + 0x526], 0
mov dword [esi + 0x4f8], 0xc8ffff
mov dword [esi + 0x4fc], 0xffff
mov byte [esi + 0x630], 0
mov byte [esi + 0x680], bl
mov byte [esi + 0x681], bl
mov byte [esi + 0x682], 0
mov byte [esi + 0x683], bl
mov byte [esi + 0x684], 0
push 0x30
mov byte [esi + 0x685], al
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x144], ebp
je 0x44677f
mov ecx, eax
call fcn.00475b20
jmp 0x446781
xor eax, eax
push 0x1c
mov dword [esp + 0x148], 0xffffffff
mov dword [esi + 0x78c], eax
call fcn.004bd49b
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov dword [esp + 0x144], ebx
je 0x4467b4
mov ecx, eax
call fcn.00432060
jmp 0x4467b6
xor eax, eax
push 0xc
mov dword [esp + 0x148], 0xffffffff
mov dword [esi + 0x790], eax
call fcn.004bd49b
add esp, 4
cmp eax, ebp
je 0x4467df
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebp
jmp 0x4467e1
xor eax, eax
mov dword [esi + 0x794], eax
xor eax, eax
lea ecx, [esi + 0x254]
mov dl, byte [eax*4 + 0x4d8f48]
add ecx, 4
mov byte [esi + eax + 0x270], dl
mov edx, dword [eax*4 + str.dU_x]
mov dword [ecx - 0x20], edx
mov dword [ecx - 4], eax
inc eax
cmp eax, 7
jl 0x4467ef
lea ebx, [esi + 0x2e4]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov dword [esi + 0x7a8], ebp
mov dword [esi + 0x79c], 3
mov dword [esi + 0x798], ebp
mov dword [esi + 0x7a0], ebp
push edi
mov ecx, 0x4f5850
mov dword [esi + 0x7b4], ebp
call fcn.0043f620
push ebx
mov ebx, dword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
push ebp
push ebp
push 0x27
push ebp
call ebx
lea eax, [esi + 0xd]
push eax
push ebp
push ebp
push 0x27
push ebp
call ebx
lea eax, [esi + 0x111]
push eax
push ebp
push ebp
push 0x27
push ebp
call ebx
mov ecx, dword [0x4ef55c]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], ecx
push ebp
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x44]
push ebp
push 0x1a
rep stosd dword es:[edi], eax
push ebp
call ebx
test eax, eax
jne 0x4468c9
mov eax, dword [0x4ed220]
mov ecx, dword [0x4ed21c]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
add esi, 0x686
push str._s_s_sFavorites
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
jmp 0x4468f2
mov eax, dword [0x4f5e08]
add esi, 0x686
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call fcn.00471a00
add esp, 4
cmp eax, ebp
je 0x4468f2
mov byte [eax - 1], 0
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret