Function at 0x1001ae30
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 0x100a9f1b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x27c
mov eax, dword [0x100c90c0]
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.10087b80
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 0x1001aec6
sub ecx, edx
lea eax, [ebp - 0x270]
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.10002620
lea ecx, [ebp - 0x288]
mov dword [ebp - 4], 0
call fcn.1001b550
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x274]
cmp ecx, 0xf
jbe 0x1001af35
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001af2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b2f5
push ecx
push edx
call fcn.100859f6
add esp, 8
push 0x103
lea eax, [ebp - 0x137]
mov byte [ebp - 0x138], 0
push 0
push eax
call fcn.10087b80
add esp, 0xc
mov eax, 0x100cafd0
cmp dword [0x100cafe4], 0xf
cmova eax, dword [0x100cafd0]
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 0x1001afb0
sub ecx, edx
lea eax, [ebp - 0x138]
push ecx
push eax
lea ecx, [ebp - 0x288]
call fcn.10002620
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 [0x100cb030], eax
test eax, eax
jns 0x1001b003
mov dword [0x100cb030], 0
jmp 0x1001b014
cmp eax, 0x1388
jle 0x1001b014
mov dword [0x100cb030], 0x1388
lea eax, [ebp - 0x138]
push eax
push 1
push str.WingView
push str.Effect
call esi
mov dword [0x100cb034], eax
test eax, eax
jns 0x1001b03e
mov dword [0x100cb034], 0
jmp 0x1001b04d
cmp eax, 1
jle 0x1001b04d
mov dword [0x100cb034], 1
lea eax, [ebp - 0x138]
push eax
push 1
push str.EmblemView
push str.Effect
call esi
mov dword [0x100cb038], eax
test eax, eax
jns 0x1001b077
mov dword [0x100cb038], 0
jmp 0x1001b086
cmp eax, 1
jle 0x1001b086
mov dword [0x100cb038], 1
lea eax, [ebp - 0x138]
push eax
push 1
push str.PathosView
push str.Effect
call esi
mov dword [0x100cb03c], eax
test eax, eax
jns 0x1001b0b0
mov dword [0x100cb03c], 0
jmp 0x1001b0bf
cmp eax, 1
jle 0x1001b0bf
mov dword [0x100cb03c], 1
lea eax, [ebp - 0x138]
push eax
push 0
push str.BlockTP
push str.Misc
call esi
mov dword [0x100cb040], eax
test eax, eax
jns 0x1001b0e9
mov dword [0x100cb040], 0
jmp 0x1001b0f8
cmp eax, 1
jle 0x1001b0f8
mov dword [0x100cb040], 1
lea eax, [ebp - 0x138]
push eax
push 0
push str.SkillArea
push str.Misc
call esi
mov dword [0x100cb044], eax
test eax, eax
jns 0x1001b122
mov dword [0x100cb044], 0
jmp 0x1001b131
cmp eax, 1
jle 0x1001b131
mov dword [0x100cb044], 1
lea eax, [ebp - 0x138]
push eax
push 0
push str.RankingEffect
push str.Misc
call esi
mov dword [0x100cb048], eax
test eax, eax
jns 0x1001b15b
mov dword [0x100cb048], 0
jmp 0x1001b16a
cmp eax, 1
jle 0x1001b16a
mov dword [0x100cb048], 1
lea eax, [ebp - 0x138]
push eax
push 0
push str.CameraRange
push str.Misc
call esi
mov dword [0x100cb050], eax
test eax, eax
jns 0x1001b194
mov dword [0x100cb050], 0
jmp 0x1001b1a3
cmp eax, 0xa
jle 0x1001b1a3
mov dword [0x100cb050], 0xa
lea eax, [ebp - 0x138]
push eax
push 0
push str.GameTime
push str.Misc
call esi
mov dword [0x100cb04c], eax
test eax, eax
jns 0x1001b1cd
mov dword [0x100cb04c], 0
jmp 0x1001b1dc
cmp eax, 0x17
jle 0x1001b1dc
mov dword [0x100cb04c], 0x17
lea eax, [ebp - 0x138]
push eax
push 0
push str.Remember
push str.Account
call esi
mov dword [0x100cb054], eax
test eax, eax
jns 0x1001b206
mov dword [0x100cb054], 0
jmp 0x1001b215
cmp eax, 1
jle 0x1001b215
mov dword [0x100cb054], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x138]
push eax
push 0x15
lea eax, [ebp - 0x2c]
push eax
push 0x100b68a3
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 0x1001b240
sub ecx, edx
lea eax, [ebp - 0x2c]
push ecx
push eax
mov ecx, 0x100cb000
call fcn.10005f40
lea eax, [ebp - 0x138]
push eax
push 0x30
lea eax, [ebp - 0x168]
push eax
push 0x100b68a3
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 0x1001b282
sub ecx, edx
lea eax, [ebp - 0x168]
push ecx
push eax
mov ecx, 0x100cb018
call fcn.10005f40
call fcn.1001b300
mov ecx, dword [ebp - 0x274]
cmp ecx, 0xf
jbe 0x1001b2d8
mov edx, dword [ebp - 0x288]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001b2ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b2f5
push ecx
push edx
call fcn.100859f6
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.10085995
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008ac0f
int3