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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a108b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x27c
mov eax, dword [0x100bd080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x103
lea eax, [ebp - 0x26f]
mov byte [ebp - 0x270], 0
push 0
push eax
call fcn.10081a90
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
xorps xmm0, xmm0
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x274], 0
movups xmmword [ebp - 0x288], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100179f6
sub ecx, edx
lea eax, [ebp - 0x270]
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.10002570
lea ecx, [ebp - 0x288]
mov dword [ebp - 4], 0
call fcn.10018080
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x274]
cmp ecx, 0xf
jbe 0x10017a65
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017a5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017e25
push ecx
push edx
call fcn.1007fa16
add esp, 8
push 0x103
lea eax, [ebp - 0x137]
mov byte [ebp - 0x138], 0
push 0
push eax
call fcn.10081a90
add esp, 0xc
mov eax, 0x100bef90
cmp dword [0x100befa4], 0xf
cmova eax, dword [0x100bef90]
push eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Option.Ini
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xorps xmm0, xmm0
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x274], 0
movups xmmword [ebp - 0x288], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017ae0
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.10002570
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.Count
push str.Effect
call esi
mov dword [0x100beff0], eax
test eax, eax
jns 0x10017b33
mov dword [0x100beff0], 0
jmp 0x10017b44
cmp eax, 0x1388
jle 0x10017b44
mov dword [0x100beff0], 0x1388
lea eax, [ebp - 0x138]
push eax
push 1
push str.WingView
push str.Effect
call esi
mov dword [0x100beff4], eax
test eax, eax
jns 0x10017b6e
mov dword [0x100beff4], 0
jmp 0x10017b7d
cmp eax, 1
jle 0x10017b7d
mov dword [0x100beff4], 1
lea eax, [ebp - 0x138]
push eax
push 1
push str.EmblemView
push str.Effect
call esi
mov dword [0x100beff8], eax
test eax, eax
jns 0x10017ba7
mov dword [0x100beff8], 0
jmp 0x10017bb6
cmp eax, 1
jle 0x10017bb6
mov dword [0x100beff8], 1
lea eax, [ebp - 0x138]
push eax
push 1
push str.PathosView
push str.Effect
call esi
mov dword [0x100beffc], eax
test eax, eax
jns 0x10017be0
mov dword [0x100beffc], 0
jmp 0x10017bef
cmp eax, 1
jle 0x10017bef
mov dword [0x100beffc], 1
lea eax, [ebp - 0x138]
push eax
push 0
push str.BlockTP
push str.Misc
call esi
mov dword [0x100bf000], eax
test eax, eax
jns 0x10017c19
mov dword [0x100bf000], 0
jmp 0x10017c28
cmp eax, 1
jle 0x10017c28
mov dword [0x100bf000], 1
lea eax, [ebp - 0x138]
push eax
push 0
push str.SkillArea
push str.Misc
call esi
mov dword [0x100bf004], eax
test eax, eax
jns 0x10017c52
mov dword [0x100bf004], 0
jmp 0x10017c61
cmp eax, 1
jle 0x10017c61
mov dword [0x100bf004], 1
lea eax, [ebp - 0x138]
push eax
push 0
push str.RankingEffect
push str.Misc
call esi
mov dword [0x100bf008], eax
test eax, eax
jns 0x10017c8b
mov dword [0x100bf008], 0
jmp 0x10017c9a
cmp eax, 1
jle 0x10017c9a
mov dword [0x100bf008], 1
lea eax, [ebp - 0x138]
push eax
push 0
push str.CameraRange
push str.Misc
call esi
mov dword [0x100bf010], eax
test eax, eax
jns 0x10017cc4
mov dword [0x100bf010], 0
jmp 0x10017cd3
cmp eax, 0xa
jle 0x10017cd3
mov dword [0x100bf010], 0xa
lea eax, [ebp - 0x138]
push eax
push 0
push str.GameTime
push str.Misc
call esi
mov dword [0x100bf00c], eax
test eax, eax
jns 0x10017cfd
mov dword [0x100bf00c], 0
jmp 0x10017d0c
cmp eax, 0x17
jle 0x10017d0c
mov dword [0x100bf00c], 0x17
lea eax, [ebp - 0x138]
push eax
push 0
push str.Remember
push str.Account
call esi
mov dword [0x100bf014], eax
test eax, eax
jns 0x10017d36
mov dword [0x100bf014], 0
jmp 0x10017d45
cmp eax, 1
jle 0x10017d45
mov dword [0x100bf014], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x138]
push eax
push 0x15
lea eax, [ebp - 0x2c]
push eax
push 0x100ad81c
push str.AccountID
push str.Account
call esi
lea ecx, [ebp - 0x2c]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017d70
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x100befc0
call fcn.10008be0
lea eax, [ebp - 0x138]
push eax
push 0x30
lea eax, [ebp - 0x168]
push eax
push 0x100ad81c
push str.PassWord
push str.Account
call esi
lea ecx, [ebp - 0x168]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017db2
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
mov ecx, 0x100befd8
call fcn.10008be0
call fcn.10017e30
mov ecx, dword [ebp - 0x274]
cmp ecx, 0xf
jbe 0x10017e08
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10017dfe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10017e25
push ecx
push edx
call fcn.1007fa16
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007f9b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10084b1f
int3