Function at 0x4c2810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6640a5
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x78
mov eax, dword [0x750990]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x40], ecx
push str.DWS_GCT
lea ecx, [ebp - 0x3c]
call fcn.0043f3a0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0xffffffff
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.004cdd20
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
call fcn.0046af70
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x40]
call fcn.004cdb10
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x4c28a1
cmp dword [ebp - 0x50], 0
jne 0x4c29a8
push 0x58
call fcn.00504e67
add esp, 4
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x60], 0
je 0x4c28ca
push str.GetCategoryXML
mov ecx, dword [ebp - 0x60]
call fcn.004d13d0
mov dword [ebp - 0x4c], eax
jmp 0x4c28d1
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004d3820
mov edx, dword [ebp - 0x40]
add edx, 0x2c
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push edx
call fcn.00406e10
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
call fcn.004d3840
push 0
mov ecx, dword [ebp - 0x48]
call fcn.004d3630
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x20], 0
jne 0x4c298c
push 0x1c
call fcn.00504e67
add esp, 4
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x54], 0
je 0x4c2970
mov ecx, dword [ebp - 0x40]
add ecx, 4
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 4]
mov edx, dword [eax + 0x34]
call edx
push eax
push 0x6c3374
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.004d1520
mov dword [ebp - 0x5c], eax
jmp 0x4c2977
mov dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x6c]
mov dword [edx + 0x20], eax
jmp 0x4c29a6
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x20]
call fcn.004ce720
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x20]
call fcn.004d37d0
jmp 0x4c29bc
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x20], 0
je 0x4c29bc
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x20]
call fcn.004ce720
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x4c2a16
push 0
push str.label_
mov ecx, dword [ebp - 0x40]
add ecx, 0x28
call fcn.00407e30
mov dword [ebp - 0x80], eax
push 8
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x28
call fcn.004084b0
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x30
call fcn.00407570
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.004071f0
cmp dword [ebp - 0x50], 0
je 0x4c2a58
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, byte [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
call fcn.0046af70
push eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.004c6600
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x58], 0
je 0x4c2a56
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x20]
call fcn.004ce6b0
jmp 0x4c2a95
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x20]
call fcn.004cdec0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x4c2a95
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
movzx eax, byte [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
call fcn.0046af70
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004c6600
mov dword [ebp - 0x44], eax
jmp 0x4c2aa4
mov dword [ebp - 4], 0
jmp 0x4c2ab4
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x70], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0043f460
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062dc28
mov esp, ebp
pop ebp
ret 0x14