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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x56fcac]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x244], ecx
mov ecx, dword [ebp - 0x244]
call fcn.004c2e4f
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x244]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 0x228], ecx
push 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 4
push 0x16b
push 0x167
mov eax, dword [ebp - 4]
sub eax, 0x16b
push eax
mov ecx, dword [ebp - 8]
sub ecx, 0x167
push ecx
push 0
mov ecx, dword [ebp - 0x244]
call fcn.004bcdff
mov edx, dword [ebp - 0x244]
add edx, 0x5c8
push edx
push 0x537968
push 0xc6
mov ecx, dword [ebp - 0x244]
call fcn.0048dcf0
mov eax, dword [ebp - 0x244]
add eax, 0x5bc
push eax
push 0x537970
push 0xc9
mov ecx, dword [ebp - 0x244]
call fcn.0048dcf0
mov ecx, dword [ebp - 0x244]
add ecx, 0x5c0
push ecx
push 0x537978
push 0xc7
mov ecx, dword [ebp - 0x244]
call fcn.0048dcf0
mov edx, dword [ebp - 0x244]
add edx, 0x5c4
push edx
push 0x537980
push 0xca
mov ecx, dword [ebp - 0x244]
call fcn.0048dcf0
mov eax, dword [ebp - 0x244]
add eax, 0x5d0
push eax
push 0x537988
push 0xb2
mov ecx, dword [ebp - 0x244]
call fcn.0048dcf0
mov ecx, dword [ebp - 0x244]
add ecx, 0x5cc
push ecx
push 0x537990
push 0xc8
mov ecx, dword [ebp - 0x244]
call fcn.0048dcf0
mov edx, dword [ebp - 0x244]
add edx, 0x5d4
push edx
push 0x537998
push 0xc4
mov ecx, dword [ebp - 0x244]
call fcn.0048dcf0
mov eax, dword [ebp - 0x244]
add eax, 0x5d8
push eax
push 0x5379a0
push 0xc3
mov ecx, dword [ebp - 0x244]
call fcn.0048dcf0
mov ecx, dword [ebp - 0x244]
add ecx, 0x450
call fcn.004059a0
push eax
push 0x104
mov ecx, dword [ebp - 0x244]
add ecx, 0x46c
call fcn.004059a0
push eax
push str.download
push str.DownPath
push 0x5379d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x220]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [ebp - 0x244]
add ecx, 0x46c
call fcn.004059a0
push eax
lea edx, [ebp - 0x220]
push edx
call fcn.004ec86f
add esp, 8
push eax
mov ecx, dword [ebp - 0x244]
add ecx, 0x64c
call fcn.00401ea0
xor ecx, ecx
mov edx, dword [ebp - 0x244]
mov eax, dword [edx + 0x88]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004aaa5e
add esp, 4
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x230]
mov dword [eax + 0x668], ecx
mov dword [ebp - 0x22c], 0
jmp 0x48a2c4
mov edx, dword [ebp - 0x22c]
add edx, 1
mov dword [ebp - 0x22c], edx
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [eax + 0x88]
jae 0x48a2f3
mov edx, dword [ebp - 0x244]
mov eax, dword [edx + 0x668]
mov ecx, dword [ebp - 0x22c]
mov dword [eax + ecx*4], 0
jmp 0x48a2b5
lea edx, [ebp - 0x240]
push edx
mov ecx, dword [ebp - 0x244]
call fcn.00490a10
push 0
push 0
push 1
mov ecx, dword [ebp - 0x244]
call fcn.00479c20
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ead41
mov esp, ebp
pop ebp
ret