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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100414d6
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x10055014]
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 sub.VCRUNTIME140.dll_memset
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 0x10014d1d
xor ecx, ecx
jmp 0x10014d2f
lea ecx, [ebp - 0x268]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014d26
sub ecx, edx
push ecx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x298]
call fcn.100027c0
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0
call fcn.10015310
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x284]
cmp eax, 0x10
jb 0x10014d73
inc eax
push eax
push dword [ebp - 0x298]
call fcn.100026c0
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 sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x1005bc04
cmp dword [0x1005bc18], 0x10
cmovae eax, dword [0x1005bc04]
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 0x10014dff
xor ecx, ecx
jmp 0x10014e11
lea ecx, [ebp - 0x160]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10014e08
sub ecx, edx
push ecx
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x280]
call fcn.100027c0
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 0x10014e56
mov dword [0x1005bc68], 0
jmp 0x10014e65
mov ecx, 0x1388
cmp eax, ecx
cmovg eax, ecx
mov dword [0x1005bc68], eax
lea eax, [ebp - 0x160]
push eax
push 1
push str.WingView
push str.Effect
call esi
mov edi, 1
test eax, eax
jns 0x10014e8f
mov dword [0x1005bc6c], 0
jmp 0x10014e9a
cmp eax, 1
cmovg eax, edi
mov dword [0x1005bc6c], eax
lea eax, [ebp - 0x160]
push eax
push 1
push str.EmblemView
push str.Effect
call esi
test eax, eax
jns 0x10014ebf
mov dword [0x1005bc70], 0
jmp 0x10014eca
cmp eax, 1
cmovg eax, edi
mov dword [0x1005bc70], eax
lea eax, [ebp - 0x160]
push eax
push 1
push str.PathosView
push str.Effect
call esi
test eax, eax
jns 0x10014eef
mov dword [0x1005bc74], 0
jmp 0x10014efa
cmp eax, 1
cmovg eax, edi
mov dword [0x1005bc74], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.BlockTP
push str.Misc
call esi
test eax, eax
jns 0x10014f1f
mov dword [0x1005bc78], 0
jmp 0x10014f2a
cmp eax, 1
cmovg eax, edi
mov dword [0x1005bc78], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.SkillArea
push str.Misc
call esi
test eax, eax
jns 0x10014f4f
mov dword [0x1005bc7c], 0
jmp 0x10014f5a
cmp eax, 1
cmovg eax, edi
mov dword [0x1005bc7c], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.RankingEffect
push str.Misc
call esi
test eax, eax
jns 0x10014f7f
mov dword [0x1005bc80], 0
jmp 0x10014f8a
cmp eax, 1
cmovg eax, edi
mov dword [0x1005bc80], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.CameraRange
push str.Misc
call esi
test eax, eax
jns 0x10014faf
mov dword [0x1005bc88], 0
jmp 0x10014fbe
mov ecx, 0xa
cmp eax, ecx
cmovg eax, ecx
mov dword [0x1005bc88], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.GameTime
push str.Misc
call esi
test eax, eax
jns 0x10014fe3
mov dword [0x1005bc84], 0
jmp 0x10014ff2
mov ecx, 0x17
cmp eax, ecx
cmovg eax, ecx
mov dword [0x1005bc84], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.Remember
push str.Account
call esi
test eax, eax
jns 0x10015017
mov dword [0x1005bc8c], 0
jmp 0x10015022
cmp eax, 1
cmovg eax, edi
mov dword [0x1005bc8c], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x160]
push eax
push 0x15
lea eax, [ebp - 0x28]
push eax
push 0x10044aff
push str.AccountID
push str.Account
call esi
cmp byte [ebp - 0x28], 0
jne 0x10015050
xor ecx, ecx
jmp 0x1001505f
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015056
sub ecx, edx
push ecx
lea eax, [ebp - 0x28]
mov ecx, 0x1005bc38
push eax
call fcn.100027c0
lea eax, [ebp - 0x160]
push eax
push 0x30
lea eax, [ebp - 0x58]
push eax
push 0x10044aff
push str.PassWord
push str.Account
call esi
cmp byte [ebp - 0x58], 0
jne 0x10015096
xor ecx, ecx
jmp 0x100150a9
lea ecx, [ebp - 0x58]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100150a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x58]
mov ecx, 0x1005bc50
push eax
call fcn.100027c0
call fcn.100150f0
mov eax, dword [ebp - 0x26c]
cmp eax, 0x10
jb 0x100150d5
inc eax
push eax
push dword [ebp - 0x280]
call fcn.100026c0
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.1003ce35
mov esp, ebp
pop ebp
ret