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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab396
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x100d6084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x268]
push 0
push eax
call fcn.10086ac0
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp byte [ebp - 0x268], 0
mov dword [ebp - 0x284], 0xf
mov dword [ebp - 0x288], 0
mov byte [ebp - 0x298], 0
jne 0x1001a25d
xor ecx, ecx
jmp 0x1001a26f
lea ecx, [ebp - 0x268]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a266
sub ecx, edx
push ecx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x298]
call fcn.10002840
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0
call fcn.1001a860
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x284]
cmp eax, 0x10
jb 0x1001a2b9
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.10002720
push 0x104
lea eax, [ebp - 0x160]
mov dword [ebp - 0x284], 0xf
push 0
push eax
mov dword [ebp - 0x288], 0
mov byte [ebp - 0x298], 0
call fcn.10086ac0
add esp, 0xc
mov eax, 0x100df8c0
cmp dword [0x100df8d4], 0x10
cmovae eax, dword [0x100df8c0]
push eax
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Option.Ini
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
cmp byte [ebp - 0x160], 0
mov dword [ebp - 0x26c], 0xf
mov dword [ebp - 0x270], 0
mov byte [ebp - 0x280], 0
jne 0x1001a345
xor ecx, ecx
jmp 0x1001a359
lea ecx, [ebp - 0x160]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a350
sub ecx, edx
push ecx
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x280]
call fcn.10002840
lea eax, [ebp - 0x160]
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
test eax, eax
jns 0x1001a39e
mov dword [0x100df920], 0
jmp 0x1001a3ad
mov ecx, 0x1388
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100df920], eax
lea eax, [ebp - 0x160]
push eax
push 1
push str.WingView
push str.Effect
call esi
mov edi, 1
test eax, eax
jns 0x1001a3d7
mov dword [0x100df924], 0
jmp 0x1001a3e2
cmp eax, 1
cmovg eax, edi
mov dword [0x100df924], eax
lea eax, [ebp - 0x160]
push eax
push 1
push str.EmblemView
push str.Effect
call esi
test eax, eax
jns 0x1001a407
mov dword [0x100df928], 0
jmp 0x1001a412
cmp eax, 1
cmovg eax, edi
mov dword [0x100df928], eax
lea eax, [ebp - 0x160]
push eax
push 1
push str.PathosView
push str.Effect
call esi
test eax, eax
jns 0x1001a437
mov dword [0x100df92c], 0
jmp 0x1001a442
cmp eax, 1
cmovg eax, edi
mov dword [0x100df92c], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.BlockTP
push str.Misc
call esi
test eax, eax
jns 0x1001a467
mov dword [0x100df930], 0
jmp 0x1001a472
cmp eax, 1
cmovg eax, edi
mov dword [0x100df930], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.SkillArea
push str.Misc
call esi
test eax, eax
jns 0x1001a497
mov dword [0x100df934], 0
jmp 0x1001a4a2
cmp eax, 1
cmovg eax, edi
mov dword [0x100df934], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.RankingEffect
push str.Misc
call esi
test eax, eax
jns 0x1001a4c7
mov dword [0x100df938], 0
jmp 0x1001a4d2
cmp eax, 1
cmovg eax, edi
mov dword [0x100df938], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.CameraRange
push str.Misc
call esi
test eax, eax
jns 0x1001a4f7
mov dword [0x100df940], 0
jmp 0x1001a506
mov ecx, 0xa
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100df940], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.GameTime
push str.Misc
call esi
test eax, eax
jns 0x1001a52b
mov dword [0x100df93c], 0
jmp 0x1001a53a
mov ecx, 0x17
cmp eax, ecx
cmovg eax, ecx
mov dword [0x100df93c], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.Remember
push str.Account
call esi
test eax, eax
jns 0x1001a55f
mov dword [0x100df944], 0
jmp 0x1001a56a
cmp eax, 1
cmovg eax, edi
mov dword [0x100df944], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x160]
push eax
push 0x15
lea eax, [ebp - 0x28]
push eax
push 0x100bfa5f
push str.AccountID
push str.Account
call esi
cmp byte [ebp - 0x28], 0
jne 0x1001a598
xor ecx, ecx
jmp 0x1001a5a9
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a5a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x28]
mov ecx, 0x100df8f0
push eax
call fcn.10002840
lea eax, [ebp - 0x160]
push eax
push 0x30
lea eax, [ebp - 0x58]
push eax
push 0x100bfa5f
push str.PassWord
push str.Account
call esi
cmp byte [ebp - 0x58], 0
jne 0x1001a5e0
xor ecx, ecx
jmp 0x1001a5ef
lea ecx, [ebp - 0x58]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001a5e6
sub ecx, edx
push ecx
lea eax, [ebp - 0x58]
mov ecx, 0x100df908
push eax
call fcn.10002840
call fcn.1001a640
mov eax, dword [ebp - 0x26c]
cmp eax, 0x10
jb 0x1001a621
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.10002720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e1c5
mov esp, ebp
pop ebp
ret