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

Disassembly:
sub esp, 0x230
mov ecx, 0xb390
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], 0x2ce40
mov dword [esi + 0x48], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x4c], edi
xor ebp, ebp
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ebp
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
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 + 0x363c], edi
mov dword [esi + 0x21508], edi
mov dword [esi + 0xa8], edi
or ebx, 0xffffffff
mov dword [esi + 0x362c], edi
mov dword [esi + 0x3634], ebx
mov dword [esi + 0x3630], ebx
mov dword [esi + 0x8c], edi
lea eax, [esp + 0x14]
mov dword [esi + 0xc4], ebp
mov dword [esi + 0x1550], 0xa
push eax
mov dword [esi + 0x3884], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x28], edi
jne 0x45b7f0
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], 0x14
jmp 0x45b7fa
mov dword [esi + 0x90], 0xa
mov dword [esi + 0x94], edi
mov dword [esi + 0x3648], 0x64
lea ecx, [esp + 0x10]
mov dword [esi + 0x154c], ebp
mov dword [esi + 0x3868], ebp
push ecx
mov dword [esi + 0x386c], ebp
push 0x4de6cc
mov dword [esi + 0x3870], ebp
push str.Main
mov dword [esi + 0x3874], ebp
mov dword [esi + 0x3878], ebp
mov dword [esi + 0x387c], ebp
mov dword [esi + 0x364c], edi
mov dword [esi + 0x1590], ebx
mov dword [esi + 0xb8], ebp
mov dword [esi + 0xac], edi
mov dword [esi + 0xf8], 0x78
mov dword [esi + 0xfc], 0xff0000
mov dword [esi + 0xdc], 3
mov dword [esi + 0xe0], 0xa0
mov dword [esp + 0x1c], ebp
call fcn.004072e0
mov eax, dword [esp + 0x1c]
xor edx, edx
cmp eax, ebp
lea eax, [esi + 0x155c]
sete dl
mov dword [esi + 0x1544], ebx
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
push 0x4ebecc
push eax
mov dword [esi + 0xb4], edx
mov dword [esi + 0x153c], ebp
mov dword [esi + 0x1538], ebp
mov dword [esi + 0x1540], ebp
mov dword [esi + 0x1534], edi
mov dword [esi + 0x1514], 0x3b
mov dword [esi + 0x1528], edi
mov dword [esi + 0x152c], edi
mov dword [esi + 0x1558], 0x20
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0x1530], edi
mov dword [esi + 0x3624], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], 2
call ebx
push esi
mov dword [esi + 0x98], edi
mov dword [esi + 0x3894], edi
call fcn.0045bd10
lea ecx, [esi + 0x100]
push str.http:__www.
push ecx
call ebx
lea edx, [esi + 0x500]
push str.http:__www.
push edx
call ebx
lea eax, [esi + 0x900]
push str.http:__www.
push eax
call ebx
lea ecx, [esi + 0xd00]
push str.http:__www.
push ecx
call ebx
lea edx, [esi + 0x300]
push str..com
push edx
call ebx
add esp, 0x40
lea eax, [esi + 0x700]
push str..net
push eax
call ebx
lea ecx, [esi + 0xb00]
push str..com.cn
push ecx
call ebx
lea edx, [esi + 0xf00]
push str..org
push edx
call ebx
add esp, 0x18
mov ecx, 0x4f04e8
mov dword [esi + 0x3650], edi
mov dword [esi + 0x385c], edi
mov dword [esi + 0x2150c], edi
call fcn.00406950
test eax, eax
je 0x45ba04
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, 0x3654
push ecx
push str._sTWMedias
push 0x103
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
jmp 0x45ba15
add esi, 0x3654
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 0x45ba29
call fcn.0045ba30
add esp, 0x230
ret