Function at 0x47a940
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x190c
call fcn.004c65d0
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x190c], ecx
lea ecx, [ebp - 0xa48]
call fcn.004139c0
cmp dword [ebp + 0x10], 0
je 0x47a9d2
lea eax, [ebp - 0x18dc]
push eax
call fcn.0043bb30
add esp, 4
push eax
lea ecx, [ebp - 0xa48]
call fcn.004121a0
lea ecx, [ebp - 0x18dc]
call fcn.00413a40
push 0
push 0x500224
lea ecx, [ebp + 8]
call fcn.004121c0
cmp eax, 0xffffffff
jne 0x47a9d0
mov dword [ebp - 0x18e0], 0
lea ecx, [ebp - 0xa48]
call fcn.00413a40
lea ecx, [ebp + 8]
call fcn.00413a40
mov eax, dword [ebp - 0x18e0]
jmp 0x47b3fa
jmp 0x47aa34
lea ecx, [ebp - 0x18e4]
push ecx
call fcn.0044be00
add esp, 4
push eax
lea ecx, [ebp - 0xa48]
call fcn.004121a0
lea ecx, [ebp - 0x18e4]
call fcn.00413a40
push 0
push str._Hand
lea ecx, [ebp + 8]
call fcn.004121c0
cmp eax, 0xffffffff
je 0x47aa34
mov dword [ebp - 0x18e8], 0
lea ecx, [ebp - 0xa48]
call fcn.00413a40
lea ecx, [ebp + 8]
call fcn.00413a40
mov eax, dword [ebp - 0x18e8]
jmp 0x47b3fa
lea edx, [ebp - 0xa2c]
push edx
call fcn.0043bef0
add esp, 4
lea eax, [ebp - 0xa2c]
push eax
lea ecx, [ebp - 0xa24]
call fcn.004139e0
push 0x50023c
lea ecx, [ebp - 0xa24]
call fcn.0041fe40
push 0x500240
lea ecx, [ebp - 0xa24]
call fcn.0041fe40
xor ecx, ecx
mov word [ebp - 0x808], cx
push 0x7fe
push 0
lea edx, [ebp - 0x806]
push edx
call fcn.004c62e0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x16c0], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x16be]
push ecx
call fcn.004c62e0
add esp, 0xc
xor edx, edx
mov word [ebp - 0xcb0], dx
push 0x40
push 0
lea eax, [ebp - 0xcae]
push eax
call fcn.004c62e0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xc58], cx
push 0x206
push 0
lea edx, [ebp - 0xc56]
push edx
call fcn.004c62e0
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0xa10]
push eax
call fcn.004c62e0
add esp, 0xc
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa28], 0
mov dword [ebp - 0xc5c], 0
mov dword [ebp - 0xa50], 0
mov dword [ebp - 0x16c4], 0
mov dword [ebp - 0xc64], 0
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xebc], 0
mov dword [ebp - 0xa44], 0xffffffff
mov dword [ebp - 0xa1c], 0
mov dword [ebp - 0xa14], 0
mov dword [ebp - 0x18d4], 0
mov dword [ebp - 0xc60], 0
mov dword [ebp - 0xa34], 0xffffffff
push 0x208
push 0
lea ecx, [ebp - 0xeb8]
push ecx
call fcn.004c62e0
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x18d0]
push edx
call fcn.004c62e0
add esp, 0xc
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0x400
lea eax, [ebp - 0x808]
push eax
push 0
push 0x500250
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x50025c
lea ecx, [ebp - 0xa30]
call fcn.00413a00
push 0
push 0x500260
lea ecx, [ebp + 8]
call fcn.004121c0
mov dword [ebp - 0xa40], eax
lea ecx, [ebp + 8]
call fcn.00413b50
sub eax, dword [ebp - 0xa40]
sub eax, 1
push eax
lea ecx, [ebp - 0x18ec]
push ecx
lea ecx, [ebp + 8]
call fcn.00430520
push eax
lea ecx, [ebp - 0xa30]
call fcn.004121a0
lea ecx, [ebp - 0x18ec]
call fcn.00413a40
cmp dword [ebp + 0x10], 0
je 0x47ac95
push 0
push 0x500264
lea ecx, [ebp - 0xa30]
call fcn.004121c0
mov dword [ebp - 0xa40], eax
mov edx, dword [ebp - 0xa40]
push edx
lea eax, [ebp - 0x18f0]
push eax
lea ecx, [ebp - 0xa30]
call fcn.00430590
push eax
lea ecx, [ebp - 0xa30]
call fcn.004121a0
lea ecx, [ebp - 0x18f0]
call fcn.00413a40
push 0
push 0x500268
lea ecx, [ebp - 0xa30]
call fcn.004121c0
cmp eax, 0xffffffff
je 0x47acc3
push 0
push 0x500274
lea ecx, [ebp - 0xa30]
call fcn.004121c0
cmp eax, 0xffffffff
jne 0x47acd3
push 0x500280
lea ecx, [ebp - 0xa30]
call fcn.0041fe40
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47adf4
push ecx
mov ecx, esp
lea edx, [ebp - 0x808]
push edx
call fcn.00413a00
call fcn.0048e030
add esp, 4
test eax, eax
je 0x47adab
push ecx
mov ecx, esp
lea eax, [ebp - 0x808]
push eax
call fcn.00413a00
push ecx
mov ecx, esp
lea edx, [ebp - 0xa30]
push edx
call fcn.004139e0
lea eax, [ebp - 0x18d8]
push eax
call fcn.0048ddc0
add esp, 0xc
lea ecx, [ebp - 0x18d8]
call fcn.00413b20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47ad9e
mov dword [ebp - 0x1900], 0
lea ecx, [ebp - 0x18d8]
call fcn.00413a40
lea ecx, [ebp - 0xa30]
call fcn.00413a40
lea ecx, [ebp - 0xa24]
call fcn.00413a40
lea ecx, [ebp - 0xa2c]
call fcn.00413a40
lea ecx, [ebp - 0xa48]
call fcn.00413a40
lea ecx, [ebp + 8]
call fcn.00413a40
mov eax, dword [ebp - 0x1900]
jmp 0x47b3fa
lea ecx, [ebp - 0x18d8]
call fcn.00413a40
jmp 0x47adf4
mov dword [ebp - 0x1904], 0
lea ecx, [ebp - 0xa30]
call fcn.00413a40
lea ecx, [ebp - 0xa24]
call fcn.00413a40
lea ecx, [ebp - 0xa2c]
call fcn.00413a40
lea ecx, [ebp - 0xa48]
call fcn.00413a40
lea ecx, [ebp + 8]
call fcn.00413a40
mov eax, dword [ebp - 0x1904]
jmp 0x47b3fa
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0x400
lea ecx, [ebp - 0x16c0]
push ecx
push 0
push str.winclass
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0x21
lea edx, [ebp - 0xcb0]
push edx
push 0
push 0x5002a0
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0x104
lea eax, [ebp - 0xc58]
push eax
push 0
push str.LastPopTime
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0x104
lea ecx, [ebp - 0xa10]
push ecx
push 0
push 0x5002c0
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0
push 0x5002d0
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc5c], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0
push str.blockNum
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa50], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0
push str.winWidth
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa38], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0
push str.winHeight
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa28], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0
push 0x50031c
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x16c4], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0xffffffffffffffff
push str.white
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa44], eax
lea ecx, [ebp - 0xa48]
call fcn.00413b20
push eax
push 0
push str.auto
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa18], eax
lea ecx, [ebp - 0xa48]
call fcn.00413b20
push eax
push 0
push str.userwhite
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc64], eax
lea ecx, [ebp - 0xa48]
call fcn.00413b20
push eax
push 0
push str.cloudwhite
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa4c], eax
lea ecx, [ebp - 0xa48]
call fcn.00413b20
push eax
push 0
push str.userblack
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xebc], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0
push str.MPopNum
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa1c], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0
push str.MBlockNum
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa14], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0
push 0x5003a0
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x18d4], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0xffffffffffffffff
push str.mwhite
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa34], eax
lea ecx, [ebp - 0xa48]
call fcn.00413b20
push eax
push 0
push str.muserwhite
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xc60], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0x104
lea edx, [ebp - 0xeb8]
push edx
push 0
push 0x5003d4
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xa48]
call fcn.00413b20
push eax
push 0
push str.mauto
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa3c], eax
lea ecx, [ebp - 0xa24]
call fcn.00413b20
push eax
push 0x104
lea eax, [ebp - 0x18d0]
push eax
push 0
push str.MLastPopTime
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0xa30]
call fcn.00413b20
push eax
mov ecx, dword [ebp - 0x190c]
call fcn.0047d150
test eax, eax
jne 0x47b1d1
lea ecx, [ebp - 0xa30]
call fcn.00413b20
push eax
mov ecx, dword [ebp - 0x190c]
call fcn.0047d210
test eax, eax
jne 0x47b1d1
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp - 0x190c]
call fcn.0047d2c0
test eax, eax
je 0x47b1dd
mov dword [ebp - 0xa20], 0
jmp 0x47b205
lea ecx, [ebp - 0xa48]
call fcn.00413b20
push eax
push 0
push 0x500410
lea ecx, [ebp + 8]
call fcn.00413b20
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0xa20], eax
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 4
call fcn.004121a0
lea eax, [ebp - 0x808]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 8
call fcn.00413a60
lea ecx, [ebp - 0x808]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0xc
call fcn.00413a60
lea edx, [ebp - 0xa10]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x14
call fcn.00413a60
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc5c]
mov dword [eax + 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xa50]
mov dword [edx + 0x30], eax
lea ecx, [ebp - 0xa30]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
call fcn.004121a0
lea edx, [ebp - 0x16c0]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x18
call fcn.00413a60
lea eax, [ebp - 0xcb0]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x1c
call fcn.00413a60
lea ecx, [ebp - 0xc58]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x20
call fcn.00413a60
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xa28]
mov dword [edx + 0x28], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xa38]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xa18]
mov dword [eax + 0x44], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xa20]
mov dword [edx + 0x4c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x16c4]
mov dword [ecx + 0x34], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc64]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xa4c]
mov dword [edx + 0x3c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xa44]
mov dword [ecx + 0x40], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xa1c]
mov dword [eax + 0x50], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xa14]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x18d4]
mov dword [ecx + 0x5c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc60]
mov dword [eax + 0x58], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xa34]
mov dword [edx + 0x60], eax
lea ecx, [ebp - 0xeb8]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x64
call fcn.00413a60
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xa3c]
mov dword [edx + 0x6c], eax
lea ecx, [ebp - 0x18d0]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x68
call fcn.00413a60
mov ecx, dword [ebp + 0xc]
add ecx, 0x14
call fcn.00413b50
test eax, eax
jne 0x47b396
push 1
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x190c]
call fcn.0047a810
mov ecx, dword [ebp + 0xc]
add ecx, 0x64
call fcn.00413b50
test eax, eax
jne 0x47b3b6
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x190c]
call fcn.0047a810
mov dword [ebp - 0x1908], 1
lea ecx, [ebp - 0xa30]
call fcn.00413a40
lea ecx, [ebp - 0xa24]
call fcn.00413a40
lea ecx, [ebp - 0xa2c]
call fcn.00413a40
lea ecx, [ebp - 0xa48]
call fcn.00413a40
lea ecx, [ebp + 8]
call fcn.00413a40
mov eax, dword [ebp - 0x1908]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret 0xc