Function at 0x412b70
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x514998
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x549950]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push str.gameyxdown.dat
lea ebx, [esi + 0x264]
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00402970
add esp, 0xc
mov dword [esp + 0x28], 0
mov ebp, dword [eax]
mov eax, dword [esi + 0x404]
lea edi, [esi + 0x404]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x412beb
push 0x100
mov ecx, edi
call fcn.00403630
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x522764
push str.GameName
push 0x522e44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412c31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x412c4c
push ecx
push eax
call fcn.004df755
add esp, 8
test eax, eax
jl 0x4131db
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4131db
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
push str.gameyxdown.dat
mov word [ecx + eax*2], dx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00402970
add esp, 0xc
mov dword [esp + 0x28], 1
mov ebp, dword [eax]
mov eax, dword [esi + 0x408]
lea edi, [esi + 0x408]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
mov dword [esp + 0x1c], edi
jge 0x412cb2
push 0x100
mov ecx, edi
call fcn.00403630
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x522764
push str.FileName
push 0x522e44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412cf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x412d13
push ecx
push eax
call fcn.004df755
add esp, 8
test eax, eax
jl 0x4131db
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4131db
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
push str.gameyxdown.dat
mov word [ecx + eax*2], dx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00402970
add esp, 0xc
mov dword [esp + 0x28], 2
mov ebp, dword [eax]
mov eax, dword [esi + 0x40c]
lea edi, [esi + 0x40c]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x412d75
push 0x100
mov ecx, edi
call fcn.00403630
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x522764
push str.GameId
push 0x522e44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412dbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x412dd6
push ecx
push eax
call fcn.004df755
add esp, 8
test eax, eax
jl 0x4131db
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4131db
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
push str.gameyxdown.dat
mov word [ecx + eax*2], dx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00402970
add esp, 0xc
mov dword [esp + 0x28], 3
mov ebp, dword [eax]
mov eax, dword [esi + 0x410]
lea edi, [esi + 0x410]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x412e38
push 0x100
mov ecx, edi
call fcn.00403630
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x522764
push str.CanShu
push 0x522e44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412e7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x412e99
push ecx
push eax
call fcn.004df755
add esp, 8
test eax, eax
jl 0x4131db
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4131db
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
push str.gameyxdown.dat
mov word [ecx + eax*2], dx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00402970
add esp, 0xc
mov dword [esp + 0x28], 4
mov ebp, dword [eax]
mov eax, dword [esi + 0x274]
lea edi, [esi + 0x274]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x412efb
push 0x100
mov ecx, edi
call fcn.00403630
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x522764
push 0x52cbf0
push 0x522e44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412f41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x412f5c
push ecx
push eax
call fcn.004df755
add esp, 8
test eax, eax
jl 0x4131db
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4131db
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
push str.gameyxdown.dat
mov word [ecx + eax*2], dx
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00402970
add esp, 0xc
mov dword [esp + 0x28], 5
mov ebp, dword [eax]
mov eax, dword [esi + 0x2bc]
lea edi, [esi + 0x2bc]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x412fbe
push 0x100
mov ecx, edi
call fcn.00403630
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x522764
push str.channel
push 0x522e44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or ebp, 0xffffffff
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413002
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x41301d
push ecx
push eax
call fcn.004df755
add esp, 8
test eax, eax
jl 0x4131db
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x4131db
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [edi]
cmp dword [eax - 0xc], edx
jne 0x413048
push 0xc
push str.yx_gameguide
mov ecx, edi
call fcn.00403570
push str.gameyxdown.dat
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.00402970
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0xc
push eax
push 0
push str.execcount
push 0x522e44
call edi
mov dword [esi + 0x460], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.gameyxdown.dat
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.00402970
mov eax, dword [eax]
add esp, 0xc
push eax
push 0
push str.times
push 0x522e44
call edi
mov dword [esi + 0x45c], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4130e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.gameyxdown.dat
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.00402970
mov eax, dword [eax]
add esp, 0xc
push eax
push 0
push str.updatetipver
push 0x522e44
call edi
mov dword [esi + 0x454], eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebp
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413129
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004c91ad
mov eax, dword [eax + 4]
push ebp
push str.Install
push str.Main
mov ecx, eax
call fcn.004c649a
mov dword [esi + 0x284], eax
call fcn.004c91ad
mov eax, dword [eax + 4]
push 0x522764
push str.DName
push str.Main
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.004c6629
lea ecx, [esi + 0x270]
push eax
mov dword [esp + 0x2c], 6
call fcn.00403060
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jg 0x4131a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebx]
mov ecx, dword [ebx - 0xc]
push ecx
add esi, 0x414
push ebx
mov ecx, esi
call fcn.004030e0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.004030e0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x80070057
call fcn.00401ff0
int3