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

Disassembly:
sub esp, 0x230
mov ecx, 0x854f
xor eax, eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, 1
mov dword [esi], 0x2153c
mov dword [esi + 0x48], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x60], 3
mov dword [esi + 0x50], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x64], 0x7d0
mov dword [esi + 0x68], 0x100
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
xor ebp, ebp
mov dword [esi + 0x74], 0x808080
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x78], 0x1f4
mov dword [esi + 0x38], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x40], 0x3a
mov dword [esi + 0x3c], 0xd2
mov dword [esi + 0x24], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], 7
mov dword [esi + 0x18], edi
mov dword [esi + 0x3650], edi
mov dword [esi + 0x21524], edi
mov dword [esi + 0xa8], edi
or ebx, 0xffffffff
mov dword [esi + 0x3640], edi
mov dword [esi + 0x3648], ebx
mov dword [esi + 0x3644], ebx
mov dword [esi + 0x8c], edi
mov dword [esi + 0xc8], ebp
mov dword [esi + 0x1564], 0xa
lea eax, [esp + 0x14]
mov dword [esi + 0x389c], ebp
mov dword [esi + 0x3894], edi
push eax
mov dword [esi + 0xfc24], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x28], edi
jne 0x46fbfc
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], 0x14
jmp 0x46fc06
mov dword [esi + 0x90], 0xa
mov dword [esi + 0x94], edi
mov dword [esi + 0x365c], 0x64
mov dword [esi + 0x1560], ebp
mov dword [esi + 0x387c], ebp
mov dword [esi + 0x3880], ebp
mov dword [esi + 0x3884], ebp
mov dword [esi + 0x3888], ebp
mov dword [esi + 0x388c], ebp
mov dword [esi + 0x3890], ebp
mov dword [esi + 0x3660], edi
mov dword [esi + 0x15a4], ebx
lea ecx, [esp + 0x10]
mov dword [esi + 0xb8], ebp
mov dword [esi + 0xac], edi
push ecx
mov dword [esi + 0x100], 0x78
push 0x4ce930
mov dword [esi + 0x104], 0xff0000
push str.Main
mov dword [esi + 0xe4], 3
mov dword [esi + 0xe8], 0xa0
mov dword [esp + 0x1c], ebp
call fcn.00408b20
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp eax, ebp
lea eax, [esi + 0x1570]
sete dl
mov dword [esi + 0x1558], ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
push 0x4e3fbc
push eax
mov dword [esi + 0xb4], edx
mov dword [esi + 0x1550], ebp
mov dword [esi + 0x154c], ebp
mov dword [esi + 0x1554], ebp
mov dword [esi + 0x1548], edi
mov dword [esi + 0x1524], 0x3b
mov dword [esi + 0x1528], ebp
mov dword [esi + 0x153c], edi
mov dword [esi + 0x1540], edi
mov dword [esi + 0x156c], 0x20
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0x1544], edi
mov dword [esi + 0x3638], edi
mov dword [esi + 0xcc], ebp
mov dword [esi + 0xf0], edi
mov dword [esi + 0xf4], 2
call ebx
push esi
mov dword [esi + 0x98], edi
mov dword [esi + 0x38ac], edi
mov dword [esi + 0x2152c], edi
mov dword [esi + 0x21530], edi
mov dword [esi + 0x21534], edi
call fcn.00470640
lea ecx, [esi + 0x110]
push str.http:__www.
push ecx
call ebx
lea edx, [esi + 0x510]
push str.http:__www.
push edx
call ebx
lea eax, [esi + 0x910]
push str.http:__www.
push eax
call ebx
lea ecx, [esi + 0xd10]
push str.http:__www.
push ecx
call ebx
lea edx, [esi + 0x310]
push str..com
push edx
call ebx
add esp, 0x40
lea eax, [esi + 0x710]
push str..net
push eax
call ebx
lea ecx, [esi + 0xb10]
push str..com.cn
push ecx
call ebx
lea edx, [esi + 0xf10]
push str..org
push edx
call ebx
add esp, 0x18
mov ecx, 0x4e6b38
mov dword [esi + 0x108], edi
mov dword [esi + 0x10c], edi
mov dword [esi + 0x3664], edi
mov dword [esi + 0x3870], edi
mov dword [esi + 0x21528], edi
mov dword [esi + 0x21538], edi
call fcn.00407b80
test eax, eax
je 0x46fe46
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x3a]
mov word [esp + 0x38], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x38]
push eax
push ebp
push ebp
push 5
push ebp
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [esp + 0x38]
add esi, 0x3668
push ecx
push str._sTWMedias
push 0x103
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x46fe57
add esi, 0x3668
push str.Medias
push esi
call ebx
add esp, 8
mov eax, dword [esp + 0x248]
pop edi
pop esi
cmp eax, ebp
pop ebp
pop ebx
jne 0x46fe6b
call fcn.0046fe80
add esp, 0x230
ret