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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58797b
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 [0x5979b0]
mov dword [ebp - 0x684], eax
push 0x204
push 0
lea ecx, [ebp - 0x680]
push ecx
call fcn.005533a0
add esp, 0xc
mov edx, dword [0x5979b4]
mov dword [ebp - 0x474], edx
push 0x204
push 0
lea eax, [ebp - 0x470]
push eax
call fcn.005533a0
add esp, 0xc
lea ecx, [ebp - 0x474]
push ecx
call fcn.004011a0
add esp, 4
lea edx, [ebp - 0x474]
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 - 0x474]
push eax
push str._sData_Skins__s_CircleDock.ini
lea ecx, [ebp - 0x26c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp + 8]
push edx
push str.data_skins_
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 0x597a10
push str.BkpngPath
push str.CirqueBk
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x684]
push edx
push 0x597a3c
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 - 0x478]
push ecx
call fcn.0041dfe0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x68c]
call fcn.0041dab0
lea ecx, [ebp - 0x478]
call fcn.0041e1e0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a24cd
mov edx, dword [ebp - 0x6a0]
mov eax, dword [edx + 0x1818]
add eax, 0x338
push eax
lea ecx, [ebp + 8]
call fcn.0041dbd0
test eax, eax
jne 0x4a24cd
mov ecx, dword [ebp - 0x6a0]
cmp dword [ecx + 0x64], 0
je 0x4a24a9
mov edx, dword [ebp - 0x6a0]
mov eax, dword [edx + 0x64]
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x694]
mov dword [ebp - 0x690], ecx
cmp dword [ebp - 0x690], 0
je 0x4a2492
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 0x4a249c
mov dword [ebp - 0x6b4], 0
mov eax, dword [ebp - 0x6a0]
mov dword [eax + 0x64], 0
push 0
lea ecx, [ebp - 0x478]
call fcn.0041e1e0
push eax
call fcn.00434810
add esp, 8
mov ecx, dword [ebp - 0x6a0]
mov dword [ecx + 0x64], eax
jmp 0x4a254d
mov edx, dword [ebp - 0x6a0]
cmp dword [edx + 0x64], 0
je 0x4a2530
mov eax, dword [ebp - 0x6a0]
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x69c], ecx
mov edx, dword [ebp - 0x69c]
mov dword [ebp - 0x698], edx
cmp dword [ebp - 0x698], 0
je 0x4a2519
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 0x4a2523
mov dword [ebp - 0x6b8], 0
mov ecx, dword [ebp - 0x6a0]
mov dword [ecx + 0x64], 0
push 0x597a40
push 0
push pe_nt_image_headers32
call fcn.0045af00
add esp, 0xc
mov edx, dword [ebp - 0x6a0]
mov dword [edx + 0x64], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x478]
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