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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x587345
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x5deba8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6a0], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x596914]
mov dword [ebp - 0x684], eax
push 0x204
push 0
lea ecx, [ebp - 0x680]
push ecx
call fcn.005533a0
add esp, 0xc
mov edx, dword [0x596918]
mov dword [ebp - 0x47c], edx
push 0x204
push 0
lea eax, [ebp - 0x478]
push eax
call fcn.005533a0
add esp, 0xc
lea ecx, [ebp - 0x47c]
push ecx
call fcn.004011a0
add esp, 4
lea edx, [ebp - 0x47c]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041d9b0
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x26c], ax
push 0x256
push 0
lea ecx, [ebp - 0x26a]
push ecx
call fcn.005533a0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x47c]
push eax
push 0x59691c
lea ecx, [ebp - 0x26c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp + 8]
push edx
push 0x59695c
lea eax, [ebp - 0x688]
push eax
call fcn.0041e090
add esp, 0xc
mov dword [ebp - 0x6a4], eax
mov ecx, dword [ebp - 0x6a4]
mov dword [ebp - 0x6a8], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x6a8]
push edx
lea ecx, [ebp - 0x10]
call fcn.0041db10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x688]
call fcn.0041dab0
lea eax, [ebp - 0x26c]
push eax
push 0x104
lea ecx, [ebp - 0x684]
push ecx
push 0x596974
push str.CenterBkPngPath
push str.CenterBk
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x684]
push edx
push 0x5969ac
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x68c]
push ecx
call fcn.0041dfe0
add esp, 0xc
mov dword [ebp - 0x6ac], eax
mov edx, dword [ebp - 0x6ac]
mov dword [ebp - 0x6b0], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6b0]
push eax
lea ecx, [ebp - 0x270]
push ecx
call fcn.0041dfe0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68c]
call fcn.0041dab0
lea ecx, [ebp - 0x270]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49a059
mov edx, dword [ebp - 0x6a0]
mov eax, dword [edx + 0x490]
add eax, 0x590
push eax
lea ecx, [ebp + 8]
call fcn.0041dbd0
test eax, eax
jne 0x49a059
mov ecx, dword [ebp - 0x6a0]
cmp dword [ecx + 0x48c], 0
je 0x49a032
mov edx, dword [ebp - 0x6a0]
mov eax, dword [edx + 0x48c]
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
mov dword [ebp - 0x690], ecx
cmp dword [ebp - 0x690], 0
je 0x49a018
push 1
mov edx, dword [ebp - 0x690]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x690]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x6b4], eax
jmp 0x49a022
mov dword [ebp - 0x6b4], 0
mov eax, dword [ebp - 0x6a0]
mov dword [eax + 0x48c], 0
push 0
lea ecx, [ebp - 0x270]
call fcn.0041e1e0
push eax
call fcn.00434810
add esp, 8
mov ecx, dword [ebp - 0x6a0]
mov dword [ecx + 0x48c], eax
jmp 0x49a0e5
mov edx, dword [ebp - 0x6a0]
cmp dword [edx + 0x48c], 0
je 0x49a0c5
mov eax, dword [ebp - 0x6a0]
mov ecx, dword [eax + 0x48c]
mov dword [ebp - 0x69c], ecx
mov edx, dword [ebp - 0x69c]
mov dword [ebp - 0x698], edx
cmp dword [ebp - 0x698], 0
je 0x49a0ab
push 1
mov eax, dword [ebp - 0x698]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x698]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x6b8], eax
jmp 0x49a0b5
mov dword [ebp - 0x6b8], 0
mov ecx, dword [ebp - 0x6a0]
mov dword [ecx + 0x48c], 0
push 0x5969b0
push 0
push 0xca
call fcn.0045af00
add esp, 0xc
mov edx, dword [ebp - 0x6a0]
mov dword [edx + 0x48c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x270]
call fcn.0041dab0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041dab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0041dab0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055338c
mov esp, ebp
pop ebp
ret 4