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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100578e6
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x10074084]
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.100346b0
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 0x1000f80d
xor ecx, ecx
jmp 0x1000f81f
lea ecx, [ebp - 0x268]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f816
sub ecx, edx
push ecx
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x298]
call fcn.100028a0
lea ecx, [ebp - 0x298]
mov dword [ebp - 4], 0
call fcn.1000fe10
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x284]
cmp eax, 0x10
jb 0x1000f869
inc eax
lea ecx, [ebp - 0x298]
push eax
push dword [ebp - 0x298]
call fcn.10002780
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.100346b0
add esp, 0xc
mov eax, 0x1007d6e4
cmp dword [0x1007d6f8], 0x10
cmovae eax, dword [0x1007d6e4]
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 0x1000f8f5
xor ecx, ecx
jmp 0x1000f909
lea ecx, [ebp - 0x160]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000f900
sub ecx, edx
push ecx
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x280]
call fcn.100028a0
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 0x1000f94e
mov dword [0x1007d748], 0
jmp 0x1000f95d
mov ecx, 0x1388
cmp eax, ecx
cmovg eax, ecx
mov dword [0x1007d748], eax
lea eax, [ebp - 0x160]
push eax
push 1
push str.WingView
push str.Effect
call esi
mov edi, 1
test eax, eax
jns 0x1000f987
mov dword [0x1007d74c], 0
jmp 0x1000f992
cmp eax, 1
cmovg eax, edi
mov dword [0x1007d74c], eax
lea eax, [ebp - 0x160]
push eax
push 1
push str.EmblemView
push str.Effect
call esi
test eax, eax
jns 0x1000f9b7
mov dword [0x1007d750], 0
jmp 0x1000f9c2
cmp eax, 1
cmovg eax, edi
mov dword [0x1007d750], eax
lea eax, [ebp - 0x160]
push eax
push 1
push str.PathosView
push str.Effect
call esi
test eax, eax
jns 0x1000f9e7
mov dword [0x1007d754], 0
jmp 0x1000f9f2
cmp eax, 1
cmovg eax, edi
mov dword [0x1007d754], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.BlockTP
push str.Misc
call esi
test eax, eax
jns 0x1000fa17
mov dword [0x1007d758], 0
jmp 0x1000fa22
cmp eax, 1
cmovg eax, edi
mov dword [0x1007d758], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.SkillArea
push str.Misc
call esi
test eax, eax
jns 0x1000fa47
mov dword [0x1007d75c], 0
jmp 0x1000fa52
cmp eax, 1
cmovg eax, edi
mov dword [0x1007d75c], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.RankingEffect
push str.Misc
call esi
test eax, eax
jns 0x1000fa77
mov dword [0x1007d760], 0
jmp 0x1000fa82
cmp eax, 1
cmovg eax, edi
mov dword [0x1007d760], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.CameraRange
push str.Misc
call esi
test eax, eax
jns 0x1000faa7
mov dword [0x1007d768], 0
jmp 0x1000fab6
mov ecx, 0xa
cmp eax, ecx
cmovg eax, ecx
mov dword [0x1007d768], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.GameTime
push str.Misc
call esi
test eax, eax
jns 0x1000fadb
mov dword [0x1007d764], 0
jmp 0x1000faea
mov ecx, 0x17
cmp eax, ecx
cmovg eax, ecx
mov dword [0x1007d764], eax
lea eax, [ebp - 0x160]
push eax
push 0
push str.Remember
push str.Account
call esi
test eax, eax
jns 0x1000fb0f
mov dword [0x1007d76c], 0
jmp 0x1000fb1a
cmp eax, 1
cmovg eax, edi
mov dword [0x1007d76c], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x160]
push eax
push 0x15
lea eax, [ebp - 0x28]
push eax
push 0x1006996f
push str.AccountID
push str.Account
call esi
cmp byte [ebp - 0x28], 0
jne 0x1000fb48
xor ecx, ecx
jmp 0x1000fb59
lea ecx, [ebp - 0x28]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000fb50
sub ecx, edx
push ecx
lea eax, [ebp - 0x28]
mov ecx, 0x1007d718
push eax
call fcn.100028a0
lea eax, [ebp - 0x160]
push eax
push 0x30
lea eax, [ebp - 0x58]
push eax
push 0x1006996f
push str.PassWord
push str.Account
call esi
cmp byte [ebp - 0x58], 0
jne 0x1000fb90
xor ecx, ecx
jmp 0x1000fb9f
lea ecx, [ebp - 0x58]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000fb96
sub ecx, edx
push ecx
lea eax, [ebp - 0x58]
mov ecx, 0x1007d730
push eax
call fcn.100028a0
call fcn.1000fbf0
mov eax, dword [ebp - 0x26c]
cmp eax, 0x10
jb 0x1000fbd1
inc eax
lea ecx, [ebp - 0x280]
push eax
push dword [ebp - 0x280]
call fcn.10002780
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.1001c055
mov esp, ebp
pop ebp
ret