Function at 0x40e5f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x49ed18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8a00]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push str.gameyxdown.dat
lea ebx, [esi + 0x2f0]
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.004145b0
add esp, 0xc
mov dword [esp + 0x28], 0
mov ebp, dword [eax]
mov eax, dword [esi + 0x398]
lea edi, [esi + 0x398]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x40e66b
push 0x100
mov ecx, edi
call fcn.004025f0
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x4ab640
push str.GameName
push str.main
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 0x40e6b1
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 0x40e6cc
push ecx
push eax
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x40ec12
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40ec12
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.004145b0
add esp, 0xc
mov dword [esp + 0x28], 1
mov ebp, dword [eax]
mov eax, dword [esi + 0x39c]
lea edi, [esi + 0x39c]
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 0x40e732
push 0x100
mov ecx, edi
call fcn.004025f0
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x4ab640
push str.FileName
push str.main
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 0x40e778
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 0x40e793
push ecx
push eax
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x40ec12
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40ec12
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.004145b0
add esp, 0xc
mov dword [esp + 0x28], 2
mov ebp, dword [eax]
mov eax, dword [esi + 0x3a0]
lea edi, [esi + 0x3a0]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x40e7f5
push 0x100
mov ecx, edi
call fcn.004025f0
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x4ab640
push str.GameId
push str.main
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 0x40e83b
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 0x40e856
push ecx
push eax
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x40ec12
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40ec12
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.004145b0
add esp, 0xc
mov dword [esp + 0x28], 3
mov ebp, dword [eax]
mov eax, dword [esi + 0x3a4]
lea edi, [esi + 0x3a4]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x40e8b8
push 0x100
mov ecx, edi
call fcn.004025f0
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x4ab640
push str.CanShu
push str.main
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 0x40e8fe
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 0x40e919
push ecx
push eax
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x40ec12
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40ec12
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.004145b0
add esp, 0xc
mov dword [esp + 0x28], 4
mov ebp, dword [eax]
mov eax, dword [esi + 0x300]
lea edi, [esi + 0x300]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x40e97b
push 0x100
mov ecx, edi
call fcn.004025f0
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x4ab640
push 0x4acc70
push str.main
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 0x40e9c1
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 0x40e9dc
push ecx
push eax
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x40ec12
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40ec12
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.004145b0
add esp, 0xc
mov dword [esp + 0x28], 5
mov ebp, dword [eax]
mov eax, dword [esi + 0x348]
lea edi, [esi + 0x348]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
sub eax, 0x100
or eax, ecx
jge 0x40ea3e
push 0x100
mov ecx, edi
call fcn.004025f0
mov eax, dword [edi]
push ebp
push 0x100
push eax
push 0x4ab640
push str.channel
push str.main
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 0x40ea82
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 0x40ea9d
push ecx
push eax
call fcn.0046c323
add esp, 8
test eax, eax
jl 0x40ec12
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40ec12
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 0x40eac8
push 0xc
push str.yx_gameguide
mov ecx, edi
call fcn.00402540
push str.gameyxdown.dat
lea ecx, [esp + 0x18]
push ebx
push ecx
call fcn.004145b0
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
add esp, 0xc
push eax
push 0
push str.times
push str.main
call edi
mov dword [esi + 0x3f4], 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 0x40eb17
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.004145b0
mov eax, dword [eax]
add esp, 0xc
push eax
push 0
push str.updatetipver
push str.main
call edi
mov dword [esi + 0x3ec], 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 0x40eb60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004539a3
mov eax, dword [eax + 4]
push ebp
push str.Install
push str.Main
mov ecx, eax
call fcn.00450d32
mov dword [esi + 0x310], eax
call fcn.004539a3
mov eax, dword [eax + 4]
push 0x4ab640
push str.DName
push str.Main
lea ecx, [esp + 0x24]
push ecx
mov ecx, eax
call fcn.00450ec1
lea ecx, [esi + 0x2fc]
push eax
mov dword [esp + 0x2c], 6
call fcn.00402260
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 0x40ebd8
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, 0x3a8
push ebx
mov ecx, esi
call fcn.004026b0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, esi
call fcn.004026b0
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.004010b0
int3