Function at 0x4890a0
Capabilities:
Check if file exists
Check os version
Delete file
Get file attributes
Get number of processors
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be082
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4de57c]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov eax, dword [0x4de57c]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
mov dword [esp + 0x14], edi
call fcn.00485140
lea ecx, [esp + 0x30]
call fcn.00469d90
push 0x80000000
push 3
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x48], esp
mov dword [esp + 0x1d4], edi
push str.config_newgamelist.txt
lea edi, [esi + 0xd538]
push edi
push eax
call fcn.00416030
add esp, 0xc
lea ecx, [esp + 0x54]
call fcn.0046a400
lea ecx, [esp + 0x30]
call fcn.00469fa0
lea ecx, [esp + 0x30]
mov ebx, eax
mov dword [esp + 0x1b0], 0xffffffff
call fcn.0046a260
lea ecx, [esp + 0x50]
call fcn.0047db60
lea ecx, [esp + 0x60]
mov dword [esp + 0x1b0], 1
call fcn.0047db60
push str.config_newgamelist.txt
lea ecx, [esp + 0x144]
push edi
push ecx
mov byte [esp + 0x1bc], 2
call fcn.00416030
add esp, 0xc
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x1b4], 3
call fcn.0047e500
cmp dword [esp + 0x158], 0x10
mov byte [esp + 0x1b0], 2
jb 0x4891b9
mov edx, dword [esp + 0x144]
push edx
call fcn.0048d433
add esp, 4
cmp dword [esi + 0xd58c], 0
jle 0x4892ae
lea ecx, [esp + 0x50]
call fcn.0047cce0
test eax, eax
ja 0x4891f5
mov ecx, esi
call fcn.00485830
mov eax, dword [esi + 0xd55c]
push 0
push 0
push 0x24d3
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x489e72
lea ecx, [esp + 0x40]
call fcn.0047db60
push 0x2c
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x1b8], 4
call fcn.0047cc90
push eax
lea ecx, [esp + 0x48]
call fcn.0047e370
lea ecx, [esp + 0x40]
call fcn.0047cce0
cmp eax, 2
jae 0x48925e
mov ecx, esi
call fcn.00485830
mov ecx, dword [esi + 0xd55c]
push 0
push 0
push 0x24d3
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b0], 2
call fcn.0047db70
jmp 0x489e72
push 1
lea ecx, [esp + 0x44]
call fcn.0047cc90
cmp dword [eax + 0x18], 0x10
jb 0x489274
mov eax, dword [eax + 4]
jmp 0x489277
add eax, 4
push eax
call fcn.0048e702
add esp, 4
cmp eax, ebx
je 0x48929d
mov ecx, esi
call fcn.00485830
mov edx, dword [esi + 0xd55c]
push 0
push 0
push 0x24d3
push edx
jmp 0x489242
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b0], 2
call fcn.0047db70
lea ecx, [esp + 0x38]
call fcn.00469d90
push 0x80000000
push 3
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x48], esp
push 0x4c3a38
push edi
push eax
mov byte [esp + 0x1e0], 5
call fcn.00416030
add esp, 0xc
lea ecx, [esp + 0x5c]
call fcn.0046a400
lea ecx, [esp + 0x38]
call fcn.00469fa0
test edx, edx
jg 0x489312
jl 0x4892fd
cmp eax, 0x1f4
jae 0x489312
push 0
mov ecx, dword [esi + 0xd55c]
push 0
push 0x24d2
push ecx
jmp 0x489e5b
lea ecx, [esp + 0x38]
call fcn.00469f20
push 0x4c3a38
lea edx, [esp + 0x144]
push edi
push edx
call fcn.00416030
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x48933c
mov eax, dword [eax + 4]
jmp 0x48933f
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
sete bl
cmp dword [esp + 0x158], 0x10
jb 0x489365
mov eax, dword [esp + 0x144]
push eax
call fcn.0048d433
add esp, 4
test bl, bl
push 0
jne 0x4892ff
sub esp, 0x1c
mov edx, esp
mov dword [esp + 0x44], esp
push 0x4c3a38
push edi
push edx
call fcn.00416030
add esp, 0xc
lea ecx, [esi + 0x6ab0]
call fcn.0047e930
mov eax, dword [esi + 0x6ac0]
cmp eax, 5
jl 0x489e4b
cmp eax, 0xc8
jg 0x489e4b
fld qword [0x4c3a30]
fcomp qword [esi + 0x6ad0]
fnstsw ax
test ah, 0x41
je 0x489e4b
mov ecx, esi
call fcn.004878f0
push str._verinfo.ini
lea ecx, [esp + 0x144]
push edi
push ecx
call fcn.00416030
mov ebx, 0x10
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x4893eb
mov eax, dword [eax + 4]
jmp 0x4893ee
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x140]
call fcn.00401cb0
push str._verinfo.ini
lea edx, [esp + 0x144]
push edi
push edx
call fcn.00416030
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x489421
mov eax, dword [eax + 4]
jmp 0x489424
add eax, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x140]
call fcn.00401cb0
push str._verinfo.ini
lea eax, [esp + 0x144]
push edi
push eax
call fcn.00416030
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x489459
mov eax, dword [eax + 4]
jmp 0x48945c
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 0x140]
mov ebx, eax
call fcn.00401cb0
test bl, 1
jne 0x4892fd
lea edx, [esp + 0x2c]
push edx
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 0x6ab0]
push eax
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.004851f0
test eax, eax
jne 0x489534
cmp dword [esi + 0x14], eax
jne 0x489534
push str.verinfo_.ini
lea eax, [esp + 0x144]
push edi
push eax
call fcn.00416030
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4894cb
mov eax, dword [eax + 4]
jmp 0x4894ce
add eax, 4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
lea ecx, [esp + 0x140]
call fcn.00401cb0
cmp dword [esi + 0xd58c], 2
je 0x48951f
push str.config_newgamelist.txt
lea ecx, [esp + 0x144]
push edi
push ecx
call fcn.00416030
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x48950d
mov eax, dword [eax + 4]
jmp 0x489510
add eax, 4
push eax
call ebx
lea ecx, [esp + 0x140]
call fcn.00401cb0
mov edx, dword [esi + 0xd55c]
push 0
push 1
push 0x24d2
push edx
jmp 0x489e5b
mov eax, dword [esi + 0xd55c]
push 0
push 1
push 0x24d3
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
fld qword [esi + 0x40]
fcomp qword [esi + 0x6ab8]
fnstsw ax
test ah, 5
jp 0x489592
add dword [esi + 0xd5f0], 0xf0000
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x44], esp
push str.xunyou.exe
mov dword [esi + 0xd558], 0
call fcn.00401c70
lea ecx, [esi + 0x18]
call fcn.0047e110
mov byte [esi + 0xd554], 1
lea ecx, [esp + 0x1a]
call fcn.00459ac0
xor ebx, ebx
cmp dword [esi + 0x6ac0], ebx
mov byte [esp + 0x1b0], 6
mov dword [esp + 0x2c], ebx
jle 0x4897c9
lea edi, [esi + 0x6adc]
cmp dword [edi + 0x14], 0x10
jb 0x4895c5
mov eax, dword [edi]
jmp 0x4895c7
mov eax, edi
push eax
lea ecx, [esi + 0x38]
call fcn.0041be30
test eax, eax
jge 0x4895f5
mov ecx, dword [edi + 0x6c]
add dword [esi + 0xd5f0], ecx
push ebx
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x44], esp
lea edx, [edi - 4]
push edx
lea ecx, [edi + 0x50]
push ecx
push eax
jmp 0x48979c
fld qword [edi - 0xc]
imul eax, eax, 0x88
fsub qword [eax + esi + 0x58]
fcomp qword [0x4c0980]
lea eax, [eax + esi + 0x58]
mov dword [esp + 0x24], eax
fnstsw ax
test ah, 0x41
je 0x4896f0
lea ebx, [edi + 0x50]
push ebx
lea eax, [esi + 0xd538]
push eax
lea edx, [esp + 0x78]
push edx
call fcn.00425df0
or dword [esp + 0x20], 1
lea ecx, [edi - 4]
push ecx
push eax
lea eax, [esp + 0x138]
push eax
mov byte [esp + 0x1c8], 7
call fcn.00425df0
add esp, 0x18
or dword [esp + 0x14], 2
cmp dword [eax + 0x18], 0x10
mov dword [esp + 0x1b0], 8
jb 0x48966d
mov eax, dword [eax + 4]
jmp 0x489670
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4896f0
push ebx
lea eax, [esi + 0xd538]
push eax
lea ecx, [esp + 0x148]
push ecx
call fcn.00425df0
or dword [esp + 0x20], 4
sub esp, 0x10
mov edx, esp
mov dword [esp + 0x44], esp
lea ecx, [edi - 4]
push ecx
push eax
push edx
mov dword [esp + 0x1d8], 9
call fcn.00425df0
add esp, 0xc
mov ecx, esi
call fcn.00484dc0
cmp eax, dword [edi + 0x6c]
je 0x489765
mov eax, dword [esp + 0x24]
fld qword [edi - 0xc]
fsub qword [eax]
fld qword [0x4c0980]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x489763
fcomp qword [0x4c38f8]
fnstsw ax
test ah, 0x41
jne 0x489765
mov byte [esp + 0x1b], 1
mov ebx, dword [esp + 0x14]
test bl, 4
je 0x489711
and ebx, 0xfffffffb
lea ecx, [esp + 0x140]
mov dword [esp + 0x14], ebx
call fcn.00401cb0
test bl, 2
je 0x489729
and ebx, 0xfffffffd
lea ecx, [esp + 0x124]
mov dword [esp + 0x14], ebx
call fcn.00401cb0
test bl, 1
mov dword [esp + 0x1b0], 6
je 0x489749
and ebx, 0xfffffffe
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], ebx
call fcn.00401cb0
cmp byte [esp + 0x1b], 0
je 0x4897ac
cmp dword [esi + 0xd58c], 0
jle 0x48977c
cmp dword [edi + 0x14], 0x10
jb 0x48976c
mov eax, dword [edi]
jmp 0x48976e
fstp st(0)
mov byte [esp + 0x1b], 0
jmp 0x4896f5
mov eax, edi
push eax
lea ecx, [esp + 0x1e]
call fcn.00459ae0
test al, al
jne 0x4897ac
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0x6c]
add dword [esi + 0xd5f0], ecx
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
lea eax, [edi - 4]
push eax
lea edx, [edi + 0x50]
push edx
push ecx
call fcn.00425df0
add esp, 0xc
lea ecx, [esi + 0x18]
call fcn.0047e110
mov ebx, dword [esp + 0x2c]
add ebx, 1
add edi, 0x88
cmp ebx, dword [esi + 0x6ac0]
mov dword [esp + 0x2c], ebx
jl 0x4895bb
mov eax, dword [esi + 0x10]
mov ebx, dword [eax]
lea edi, [esi + 0xc]
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], edi
call fcn.0047db60
mov byte [esp + 0x1b0], 0xa
mov dword [esp + 0x14], 0
test edi, edi
mov ecx, dword [esi + 0x10]
lea eax, [esi + 0xc]
mov dword [esp + 0x90], ecx
je 0x489807
cmp edi, eax
je 0x48980c
call fcn.0048ed51
cmp ebx, dword [esp + 0x90]
je 0x489c30
test edi, edi
jne 0x489822
call fcn.0048ed51
cmp ebx, dword [edi + 4]
jne 0x48982c
call fcn.0048ed51
lea edi, [ebx + 0xc]
push edi
lea edx, [esp + 0x98]
push edx
mov ecx, esi
call fcn.00484e20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push 1
mov dword [esp + 0x34], ecx
push 3
lea ecx, [esp + 0xa4]
mov dword [esp + 0x3c], edx
call fcn.00411260
lea eax, [esp + 0xa4]
push str.data_
push eax
mov byte [esp + 0x1b8], 0xb
call fcn.0042c6b0
mov ecx, dword [esp + 0x24]
add esp, 8
cmp ebx, dword [ecx + 4]
jne 0x489887
call fcn.0048ed51
mov edx, dword [edi]
push edx
lea ecx, [esp + 0xa8]
call fcn.0042b700
lea eax, [esp + 0xa4]
push str..txt
push eax
call fcn.0042c6b0
mov eax, dword [esp + 0x38]
mov edi, dword [esi + 4]
add esp, 8
test eax, eax
je 0x4898ba
cmp eax, esi
je 0x4898bf
call fcn.0048ed51
lea ecx, [esp + 0x1c]
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.004458e0
cmp dword [esp + 0x34], edi
jne 0x48996b
cmp eax, 1
jbe 0x489911
push 1
lea ecx, [esp + 0x20]
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.00445950
cmp dword [eax + 0x18], 0x10
jb 0x489901
mov eax, dword [eax + 4]
jmp 0x489904
add eax, 4
push eax
call fcn.0048e6dc
add esp, 4
add dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
call fcn.00484cb0
mov ecx, dword [eax]
add ecx, 0xf4240
push ecx
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0xa4]
call fcn.0040f880
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0x1b4], 0xc
jb 0x489947
mov eax, dword [eax + 4]
jmp 0x48994a
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00401c70
lea ecx, [esp + 0x60]
call fcn.0047e110
lea ecx, [esp + 0x70]
jmp 0x489be6
cmp eax, 1
ja 0x48999a
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1b0], 0xa
call fcn.0040ed70
lea ecx, [esp + 0x1c]
call fcn.004463c0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x4897f2
push 0x3f
lea eax, [esp + 0x161]
push 0
push eax
mov byte [esp + 0x168], 0
call fcn.0048ea70
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00484cb0
mov ecx, dword [eax]
push ecx
push 0x4bf934
lea edx, [esp + 0x164]
push 0x40
push edx
call fcn.00484a70
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x4bf904
call fcn.00401c70
sub esp, 0x1c
lea eax, [esp + 0x194]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov byte [esp + 0x1ec], 0xd
call fcn.00401c70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push str.main
mov byte [esp + 0x208], 0xe
call fcn.00401c70
lea ecx, [esp + 0x194]
push ecx
lea ecx, [esi + 0xd594]
mov byte [esp + 0x208], 0xb
call fcn.0046ce20
push 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 0xf
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.00445950
push eax
push 1
lea ecx, [esp + 0x38]
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.00445950
push eax
call fcn.00484e90
add esp, 8
test al, al
jne 0x489b3a
push 0
lea ecx, [esp + 0x20]
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.00445950
push eax
push 0
lea ecx, [esp + 0x38]
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.00445950
push eax
call fcn.00484e90
add esp, 8
test al, al
jne 0x489b3a
push 1
lea ecx, [esp + 0x34]
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.00445950
mov ebx, 0x10
cmp dword [eax + 0x18], ebx
jb 0x489ae0
mov eax, dword [eax + 4]
jmp 0x489ae3
add eax, 4
mov edi, dword [esp + 0x154]
push eax
call fcn.0048e702
add esp, 4
cmp eax, edi
je 0x489bdf
push 1
lea ecx, [esp + 0x34]
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.00445950
cmp dword [eax + 0x18], ebx
jb 0x489b1a
mov eax, dword [eax + 4]
jmp 0x489b1d
add eax, 4
mov edi, dword [esp + 0x154]
push eax
call fcn.0048e702
add edi, 2
add esp, 4
cmp eax, edi
je 0x489bdf
jmp 0x489b3f
mov ebx, 0x10
lea ecx, [esp + 0x1c]
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.004458e0
cmp eax, 1
jbe 0x489b86
push 1
lea ecx, [esp + 0x20]
call fcn.00484cb0
mov ecx, eax
add ecx, 4
call fcn.00445950
cmp dword [eax + 0x18], ebx
jb 0x489b76
mov eax, dword [eax + 4]
jmp 0x489b79
add eax, 4
push eax
call fcn.0048e6dc
add esp, 4
add dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
call fcn.00484cb0
mov edx, dword [eax]
add edx, 0xf4240
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0xa4]
call fcn.0040f880
cmp dword [eax + 0x18], ebx
mov byte [esp + 0x1b4], 0x10
jb 0x489bbb
mov eax, dword [eax + 4]
jmp 0x489bbe
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00401c70
lea ecx, [esp + 0x60]
call fcn.0047e110
lea ecx, [esp + 0x70]
call fcn.00401cb0
lea ecx, [esp + 0x140]
call fcn.00401cb0
lea ecx, [esp + 0xf0]
mov byte [esp + 0x1b0], 0xa
call fcn.0040ea50
lea ecx, [esp + 0xf0]
push ecx
mov dword [esp + 0xf4], vtable.std::ios_base.0
call fcn.0048cc6e
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.004463c0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
jmp 0x4897f2
mov eax, dword [esi + 0xd590]
test eax, eax
jle 0x489c41
cmp eax, 0x64
mov edi, eax
jl 0x489c46
mov edi, 0x14
lea ecx, [esp + 0x50]
call fcn.0047cce0
mov edx, eax
imul edx, edi
mov eax, 0x51eb851f
mul edx
mov edi, edx
lea ecx, [esp + 0x40]
shr edi, 5
call fcn.0047cce0
cmp eax, edi
jbe 0x489ccb
mov eax, dword [esi + 0xd5b0]
test eax, eax
jl 0x489ccb
add dword [esi + 0xd5f0], eax
push 0x381
push str.config_
lea ecx, [esp + 0x78]
call fcn.00401c70
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4c3a10
push eax
push ecx
mov byte [esp + 0x1dc], 0x11
call fcn.00416030
add esp, 0xc
lea ecx, [esi + 0x18]
call fcn.0047e110
lea ecx, [esp + 0x70]
mov byte [esp + 0x1b0], 0xa
call fcn.00401cb0
jmp 0x489d44
cmp dword [esi + 0xd58c], 1
jne 0x489d44
mov edx, dword [esp + 0x14]
add dword [esi + 0xd5f0], edx
lea ecx, [esp + 0x40]
xor edi, edi
call fcn.0047cce0
test eax, eax
jbe 0x489d44
lea ebx, [esi + 0x18]
push edi
lea ecx, [esp + 0x44]
call fcn.0047cc90
mov eax, dword [eax + 0x1c]
push eax
push edi
lea ecx, [esp + 0x48]
call fcn.0047cc90
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x48], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov byte [ecx + 4], 0
call fcn.00401cf0
mov ecx, ebx
call fcn.0047e110
lea ecx, [esp + 0x40]
add edi, 1
call fcn.0047cce0
cmp edi, eax
jb 0x489cf0
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.0047cce0
test eax, eax
jbe 0x489d7b
mov ecx, dword [esi + 0xd5f0]
mov edx, dword [esi + 0xd55c]
push 0
push ecx
push 0x24d5
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
mov ecx, esi
call fcn.00486860
jmp 0x489e27
lea ecx, [esi + 0x28]
call fcn.0047cce0
test eax, eax
jbe 0x489d93
mov ecx, esi
call fcn.00487e40
jmp 0x489e27
mov ecx, edi
call fcn.0047cce0
test eax, eax
jne 0x489e27
push str.verinfo_.ini
lea edi, [esi + 0xd538]
lea eax, [esp + 0x74]
push edi
push eax
call fcn.00416030
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x489dc6
mov eax, dword [eax + 4]
jmp 0x489dc9
add eax, 4
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
lea ecx, [esp + 0x70]
call fcn.00401cb0
cmp dword [esi + 0xd58c], 2
je 0x489e11
push str.config_newgamelist.txt
lea ecx, [esp + 0x74]
push edi
push ecx
call fcn.00416030
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x489e02
mov eax, dword [eax + 4]
jmp 0x489e05
add eax, 4
push eax
call ebx
lea ecx, [esp + 0x70]
call fcn.00401cb0
mov edx, dword [esi + 0xd55c]
push 0
push 1
push 0x24d2
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x40]
mov byte [esp + 0x1b0], 6
call fcn.0047db70
lea ecx, [esp + 0x1a]
mov byte [esp + 0x1b0], 5
call fcn.00459ad0
jmp 0x489e61
mov eax, dword [esi + 0xd55c]
push 0
push 0
push 0x24d2
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b0], 2
call fcn.0046a260
lea ecx, [esp + 0x60]
mov byte [esp + 0x1b0], 1
call fcn.0047db70
lea ecx, [esp + 0x50]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.0047db70
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.0048de34
mov esp, ebp
pop ebp
ret