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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x130385b4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1303952c], 0
jne 0x13001892
mov eax, dword [ebp + 8]
mov dword [0x13039534], eax
mov dword [0x1303952c], 1
mov ecx, 2
imul edx, ecx, 0
movzx eax, word [edx + 0x130271e8]
add eax, 1
mov word [ebp - 0x48], ax
mov ecx, 2
shl ecx, 0
movzx edx, word [ecx + 0x13027240]
add edx, 2
mov word [ebp - 0x46], dx
mov eax, 2
shl eax, 1
movzx ecx, word [eax + 0x13027298]
add ecx, 3
mov word [ebp - 0x44], cx
mov edx, 2
imul eax, edx, 3
movzx ecx, word [eax + 0x130272f0]
add ecx, 4
mov word [ebp - 0x42], cx
mov edx, 2
shl edx, 2
movzx eax, word [edx + 0x13027348]
add eax, 5
mov word [ebp - 0x40], ax
mov ecx, 2
imul edx, ecx, 5
movzx eax, word [edx + 0x130273a0]
add eax, 6
mov word [ebp - 0x3e], ax
mov ecx, 2
imul edx, ecx, 6
movzx eax, word [edx + 0x130273f8]
add eax, 7
mov word [ebp - 0x3c], ax
mov ecx, 2
imul edx, ecx, 7
movzx eax, word [edx + 0x13027450]
add eax, 8
mov word [ebp - 0x3a], ax
mov ecx, 2
shl ecx, 3
movzx edx, word [ecx + 0x130274a8]
add edx, 9
mov word [ebp - 0x38], dx
mov eax, 2
imul ecx, eax, 9
movzx edx, word [ecx + 0x13027500]
add edx, 0xa
mov word [ebp - 0x36], dx
mov eax, 2
imul ecx, eax, 0xa
movzx edx, word [ecx + 0x13027558]
add edx, 0xb
mov word [ebp - 0x34], dx
mov eax, 2
imul ecx, eax, 0xb
movzx edx, word [ecx + 0x130275b0]
add edx, 0xc
mov word [ebp - 0x32], dx
mov eax, 2
imul ecx, eax, 0xc
movzx edx, word [ecx + 0x13027608]
add edx, 0xd
mov word [ebp - 0x30], dx
mov eax, 2
imul ecx, eax, 0xd
movzx edx, word [ecx + 0x13027660]
add edx, 0xe
mov word [ebp - 0x2e], dx
mov eax, 2
imul ecx, eax, 0xe
movzx edx, word [ecx + 0x130276b8]
add edx, 0xf
mov word [ebp - 0x2c], dx
mov eax, 2
imul ecx, eax, 0xf
movzx edx, word [ecx + 0x13027710]
add edx, 0x10
mov word [ebp - 0x2a], dx
mov eax, 2
shl eax, 4
movzx ecx, word [eax + 0x13027768]
add ecx, 0x11
mov word [ebp - 0x28], cx
mov edx, 2
imul eax, edx, 0x11
movzx ecx, word [eax + 0x130277c0]
add ecx, 0x12
mov word [ebp - 0x26], cx
mov edx, 2
imul eax, edx, 0x12
movzx ecx, word [eax + 0x13027818]
add ecx, 0x13
mov word [ebp - 0x24], cx
mov edx, 2
imul eax, edx, 0x13
movzx ecx, word [eax + 0x13027870]
add ecx, 0x14
mov word [ebp - 0x22], cx
mov edx, 2
imul eax, edx, 0x14
movzx ecx, word [eax + 0x130278c8]
add ecx, 0x15
mov word [ebp - 0x20], cx
mov edx, 2
imul eax, edx, 0x15
movzx ecx, word [eax + 0x13027920]
add ecx, 0x16
mov word [ebp - 0x1e], cx
mov edx, 2
imul eax, edx, 0x16
movzx ecx, word [eax + 0x13027978]
add ecx, 0x17
mov word [ebp - 0x1c], cx
mov edx, 2
imul eax, edx, 0x17
movzx ecx, word [eax + 0x130279d0]
add ecx, 0x18
mov word [ebp - 0x1a], cx
mov edx, 2
imul eax, edx, 0x18
movzx ecx, word [eax + 0x13027a28]
add ecx, 0x19
mov word [ebp - 0x18], cx
mov edx, 2
imul eax, edx, 0x19
movzx ecx, word [eax + 0x13027a80]
add ecx, 0x1a
mov word [ebp - 0x16], cx
mov edx, 2
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x13027ad8]
add ecx, 0x1b
mov word [ebp - 0x14], cx
mov edx, 2
imul eax, edx, 0x1b
movzx ecx, word [eax + 0x13027b30]
add ecx, 0x1c
mov word [ebp - 0x12], cx
mov edx, 2
imul eax, edx, 0x1c
movzx ecx, word [eax + 0x13027b88]
add ecx, 0x1d
mov word [ebp - 0x10], cx
mov edx, 2
imul eax, edx, 0x1d
movzx ecx, word [eax + 0x13027be0]
add ecx, 0x1e
mov word [ebp - 0xe], cx
mov edx, 2
imul eax, edx, 0x1e
movzx ecx, word [eax + 0x13027c38]
add ecx, 0x1f
mov word [ebp - 0xc], cx
mov edx, 2
imul eax, edx, 0x1f
movzx ecx, word [eax + str.Engine.dll]
add ecx, 0x20
mov word [ebp - 0xa], cx
xor edx, edx
mov word [ebp - 8], dx
lea eax, [ebp - 0x48]
push eax
call fcn.130018a0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x13039530], eax
cmp dword [0x13039530], 0
je 0x13001883
mov dword [ebp - 0x24c], str.Setting
lea ecx, [ebp - 0x248]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push str.Client.ini
lea edx, [ebp - 0x248]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x248]
push eax
push 0x83a
push str.AuthPort
mov ecx, dword [ebp - 0x24c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [0x1303810c], eax
mov edx, dword [0x1303810c]
push edx
mov eax, dword [0x13039530]
add eax, 0x3cd85f
push eax
call fcn.1300ac50
add esp, 8
call fcn.13001160
mov ecx, 0x130395c8
call fcn.1300b150
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1300cbb4
mov esp, ebp
pop ebp
ret