Function at 0x483448
Capabilities:
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527e41
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x5770a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x2c0], 0
and dword [ebp - 4], 0
mov eax, dword [0x587368]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x586730]
cmp ecx, dword [eax + 4]
jle 0x4834d8
push 0x586730
call fcn.004ae9bd
pop ecx
cmp dword [0x586730], 0xffffffff
jne 0x4834d8
mov byte [ebp - 4], 1
push 0x586718
call fcn.00482219
pop ecx
push 0x52d6c9
call fcn.004ae771
pop ecx
mov byte [ebp - 4], 0
push 0x586730
call fcn.004ae973
pop ecx
push 0x53fa64
push 0x586718
lea eax, [ebp - 0x268]
push eax
call fcn.004640ab
add esp, 0xc
mov byte [ebp - 4], 2
push str._tinydl.ini
push dword [ebp + 8]
lea eax, [ebp - 0x280]
push eax
call fcn.004640ab
add esp, 0xc
mov byte [ebp - 4], 3
push 0x100
push 0
lea eax, [ebp - 0x250]
push eax
call fcn.004b0090
add esp, 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0x53fd30
push 0x80
lea eax, [ebp - 0x250]
push eax
call fcn.004077b0
add esp, 0x14
push 0x40
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.004b0090
add esp, 0xc
push 0x40
push 0
lea eax, [ebp - 0x90]
push eax
call fcn.004b0090
add esp, 0xc
push 0x40
push 0
lea eax, [ebp - 0xd0]
push eax
call fcn.004b0090
add esp, 0xc
push 0x40
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.004b0090
add esp, 0xc
lea ecx, [ebp - 0x268]
call fcn.0040a5f1
mov dword [ebp - 0x28c], eax
push dword [ebp - 0x28c]
push 0x20
lea eax, [ebp - 0x50]
push eax
push 0x53fd3c
push 0x53fd40
push 0x53fd50
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x268]
call fcn.0040a5f1
mov dword [ebp - 0x290], eax
push dword [ebp - 0x290]
push 0x20
lea eax, [ebp - 0x90]
push eax
push 0x53fd5c
push str.all_game
push 0x53fd74
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0x268]
call fcn.0040a5f1
mov dword [ebp - 0x294], eax
push dword [ebp - 0x294]
push 0x20
lea eax, [ebp - 0xd0]
push eax
push 0x53fd80
lea eax, [ebp - 0x250]
push eax
push str.allow_game_list
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x2a4], eax
lea ecx, [ebp - 0x268]
call fcn.0040a5f1
mov dword [ebp - 0x298], eax
push dword [ebp - 0x298]
push 0x20
lea eax, [ebp - 0x110]
push eax
push 0x53fda4
lea eax, [ebp - 0x250]
push eax
push str.except_game_list
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x2a8], eax
and dword [ebp - 0x284], 0
cmp dword [ebp - 0x29c], 0
je 0x483724
push 2
pop eax
imul eax, eax, 0
movzx eax, word [ebp + eax - 0x50]
cmp eax, 0x31
jne 0x483724
cmp dword [ebp - 0x2a0], 0
je 0x4836c9
push 2
pop eax
imul eax, eax, 0
movzx eax, word [ebp + eax - 0x90]
cmp eax, 0x31
jne 0x4836c9
mov dword [ebp - 0x284], 1
cmp dword [ebp - 0x284], 0
jne 0x4836f8
cmp dword [ebp - 0x2a4], 0
je 0x4836f8
push 2
pop eax
imul eax, eax, 0
movzx eax, word [ebp + eax - 0xd0]
cmp eax, 0x31
jne 0x4836f8
mov dword [ebp - 0x284], 1
cmp dword [ebp - 0x284], 0
je 0x483724
cmp dword [ebp - 0x2a8], 0
je 0x483724
push 2
pop eax
imul eax, eax, 0
movzx eax, word [ebp + eax - 0x110]
cmp eax, 0x31
jne 0x483724
and dword [ebp - 0x284], 0
cmp dword [ebp - 0x284], 0
je 0x483754
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b4], 0xd903
jne 0x483754
cmp dword [ebp - 0x2b0], 0
je 0x48377b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2b8], eax
cmp dword [ebp - 0x2bc], 0xd904
jne 0x483785
cmp dword [ebp - 0x2b8], 0
jne 0x483785
mov dword [ebp - 0x284], 2
push 0x40
push 0
lea eax, [ebp - 0x150]
push eax
call fcn.004b0090
add esp, 0xc
push dword [ebp - 0x284]
push 0x53fdcc
push 0x20
lea eax, [ebp - 0x150]
push eax
call fcn.004077b0
add esp, 0x10
lea ecx, [ebp - 0x280]
call fcn.0040a5f1
mov dword [ebp - 0x2ac], eax
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x150]
push eax
push str.switch
push 0x53fde4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
jne 0x48386d
lea ecx, [ebp - 0x280]
call fcn.0040a5f1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0x285], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x280]
call fcn.0040a62b
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
lea eax, [ebp - 0x280]
mov dword [ebp - 0x2c4], eax
mov byte [ebp - 4], 6
mov byte [ebp - 4], 7
mov byte [ebp - 4], 2
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x268]
call fcn.0040a62b
mov byte [ebp - 4], 9
mov byte [ebp - 4], 0
lea eax, [ebp - 0x268]
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x285]
jmp 0x4838dc
mov byte [ebp - 0x286], 1
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x280]
call fcn.0040a62b
mov byte [ebp - 4], 0xd
mov byte [ebp - 4], 2
lea eax, [ebp - 0x280]
mov dword [ebp - 0x2cc], eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 2
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x268]
call fcn.0040a62b
mov byte [ebp - 4], 0x11
mov byte [ebp - 4], 0
lea eax, [ebp - 0x268]
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 4], 0x12
mov byte [ebp - 4], 0x13
mov byte [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x286]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ad99f
leave
ret