Function at 0x10004f10
Capabilities:
Read .ini file

Disassembly:
push esi
call fcn.10007bc0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.100080b0
push 0x14
call fcn.1000e565
add esp, 4
mov esi, eax
push 0x100266c0
push 0x14
push esi
push 0
push str.Plus_Engine
push str.Drama233_Plus
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 9
push str.RioShiina
push esi
call fcn.1000e52b
add esp, 0xc
test eax, eax
jne 0x10004f95
push 0x10005e20
push 0x1002645c
call fcn.100078d0
push 0x10005e70
push 0x10026460
call fcn.100078d0
push 0x10005e40
push 0x10026464
call fcn.100078d0
push 0x10005e90
push 0x10026468
jmp 0x10004fe0
push 4
push str.CMVS
push esi
call fcn.1000e52b
add esp, 0xc
test eax, eax
jne 0x10004fe5
push 0x10005550
push 0x10026b24
call fcn.100078d0
push 0x10005570
push 0x10026b28
call fcn.100078d0
push 0x100055a0
push 0x10026b2c
call fcn.100078d0
push 0x100055c0
push 0x10026b30
call fcn.100078d0
push esi
call fcn.1000e229
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 4
cmp dword [0x10026b44], 0
je 0x10005084
push 0x100266c0
push 0
push str.Mode
push str.CreateFontIndirect
call esi
test eax, eax
jne 0x10005027
push 0x10001050
push 0x100263f0
call fcn.100078d0
push 0x100266c0
push 0
push str.Mode
push str.CreateFontIndirect
call esi
cmp eax, 1
jne 0x1000504e
push 0x100010d0
push 0x1002640c
call fcn.100078d0
push 0x100266c0
push 0
push str.Mode
push str.CreateFontIndirect
call esi
cmp eax, 2
jne 0x10005084
push 0x10001050
push 0x100263f0
call fcn.100078d0
push 0x100010d0
push 0x1002640c
call fcn.100078d0
cmp dword [0x10026b48], 0
je 0x10005114
push 0x100266c0
push 0
push str.Mode
push str.CreateFont
call esi
test eax, eax
jne 0x100050b7
push 0x10001120
push 0x100263d4
call fcn.100078d0
push 0x100266c0
push 0
push str.Mode
push str.CreateFont
call esi
cmp eax, 1
jne 0x100050de
push 0x100011c0
push 0x10026400
call fcn.100078d0
push 0x100266c0
push 0
push str.Mode
push str.CreateFont
call esi
cmp eax, 2
jne 0x10005114
push 0x10001120
push 0x100263d4
call fcn.100078d0
push 0x100011c0
push 0x10026400
call fcn.100078d0
cmp dword [0x10026b7c], 0
je 0x100051a4
push 0x100266c0
push 0
push str.Mode
push str.EnumFontFamiliesEx
call esi
test eax, eax
jne 0x10005147
push 0x10001250
push 0x100263c4
call fcn.100078d0
push 0x100266c0
push 0
push str.Mode
push str.EnumFontFamiliesEx
call esi
cmp eax, 1
jne 0x1000516e
push 0x100012e0
push 0x100263e4
call fcn.100078d0
push 0x100266c0
push 0
push str.Mode
push str.EnumFontFamiliesEx
call esi
cmp eax, 2
jne 0x100051a4
push 0x10001250
push 0x100263c4
call fcn.100078d0
push 0x100012e0
push 0x100263e4
call fcn.100078d0
cmp dword [0x10026b58], 0
je 0x100051bc
push 0x10001760
push 0x100263ec
call fcn.100078d0
cmp dword [0x10026b5c], 0
je 0x100051d4
push 0x10001820
push 0x100263e0
call fcn.100078d0
cmp dword [0x10026b98], 0
je 0x100051ec
push 0x10001930
push 0x100263dc
call fcn.100078d0
cmp dword [0x10026b94], 0
je 0x10005204
push 0x10001960
push 0x100263bc
call fcn.100078d0
cmp dword [0x10026b9c], 0
je 0x1000521c
push 0x10001ac0
push 0x100263a4
call fcn.100078d0
cmp dword [0x10026ba0], 0
je 0x10005234
push 0x10001de0
push 0x10026390
call fcn.100078d0
cmp dword [0x10026b80], 0
je 0x100052ae
push 0x100266c0
push 0
push str.Mode
push str.GetDriveType
call esi
test eax, eax
jne 0x10005260
push 0x100022a0
push 0x10026394
jmp 0x100052a9
push 0x100266c0
push 0
push str.Mode
push str.GetDriveType
call esi
cmp eax, 1
je 0x1000529f
push 0x100266c0
push 0
push str.Mode
push str.GetDriveType
call esi
cmp eax, 2
jne 0x100052ae
push 0x100022a0
push 0x10026394
call fcn.100078d0
push 0x100022a0
push 0x100263b0
call fcn.100078d0
cmp dword [0x10026b88], 0
je 0x10005328
push 0x100266c0
push 0
push str.Mode
push str.FindFirstFile
call esi
test eax, eax
jne 0x100052da
push 0x100022b0
push 0x100263b8
jmp 0x10005323
push 0x100266c0
push 0
push str.Mode
push str.FindFirstFile
call esi
cmp eax, 1
je 0x10005319
push 0x100266c0
push 0
push str.Mode
push str.FindFirstFile
call esi
cmp eax, 2
jne 0x10005328
push 0x100022b0
push 0x100263b8
call fcn.100078d0
push 0x100022d0
push 0x100263ac
call fcn.100078d0
cmp dword [0x10026b84], 0
je 0x10005340
push 0x100022f0
push 0x100263b4
call fcn.100078d0
cmp dword [0x10026b54], 0
je 0x100053c5
push dword [0x10026478]
call fcn.1000e229
add esp, 4
push 0x100266c0
push 0
push str.Type
push 0x10022bec
call esi
test eax, eax
jne 0x1000537a
push 0x10001570
push 0x100263a0
jmp 0x100053c0
push 0x100266c0
push 0
push str.Type
push 0x10022bec
call esi
cmp eax, 1
jne 0x1000539e
push 0x10001570
push 0x100263a0
jmp 0x100053c0
push 0x100266c0
push 0
push str.Type
push 0x10022bec
call esi
cmp eax, 2
jne 0x100053c5
push 0x100013a0
push 0x100263d8
call fcn.100078d0
cmp dword [0x10026b4c], 0
je 0x100053dd
push 0x10001330
push 0x100263c0
call fcn.100078d0
cmp dword [0x10026b50], 0
je 0x100053f5
push 0x10001350
push 0x100263a8
call fcn.100078d0
cmp dword [0x10026b60], 0
je 0x1000540d
push 0x10001ed0
push 0x100263f8
call fcn.100078d0
cmp dword [0x10026b64], 0
je 0x10005425
push 0x10001f60
push 0x100263fc
call fcn.100078d0
cmp dword [0x10026b68], 0
je 0x1000543d
push 0x10001ff0
push 0x10026404
call fcn.100078d0
cmp dword [0x10026b6c], 0
je 0x10005455
push 0x10002110
push 0x100263d0
call fcn.100078d0
cmp dword [0x10026b74], 0
je 0x1000546d
push 0x10002320
push 0x10026398
call fcn.100078d0
cmp dword [0x10026b70], 0
je 0x100054c3
push 0x100266c0
push 0
push str.Mode
push str.CreateWindowEx
call esi
test eax, eax
jne 0x1000549c
push 0x10001e90
push 0x100263c8
call fcn.100078d0
push 0x100266c0
push 0
push str.Mode
push str.CreateWindowEx
call esi
cmp eax, 1
jne 0x100054c3
push 0x10001eb0
push 0x1002639c
call fcn.100078d0
call fcn.10007c20
neg eax
pop esi
sbb eax, eax
inc eax
ret