Function at 0x4b1bf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f34b4
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x60
mov eax, dword [0x56f734]
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_GCXML
lea ecx, [ebp - 0x3c]
call fcn.00440bd0
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0xffffffff
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.004bd640
push 0x58
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 0
je 0x4b1c7a
push str.GetCategoryXML
mov ecx, dword [ebp - 0x50]
call fcn.004c1010
mov dword [ebp - 0x54], eax
jmp 0x4b1c81
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004c3470
mov edx, dword [ebp - 0x40]
add edx, 0x2c
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
call dword [sym.imp.mfc120u.dll_Ordinal_280]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
call fcn.004c3490
push 0
mov ecx, dword [ebp - 0x48]
call fcn.004c3260
mov ecx, dword [ebp - 0x40]
cmp dword [ecx + 0x20], 0
jne 0x4b1d37
push 0x1c
call sub.mfc120u.dll_Ordinal_1506
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x58], 0
je 0x4b1d1b
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 0x53b224
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x58]
call fcn.004c1160
mov dword [ebp - 0x4c], eax
jmp 0x4b1d22
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x5c]
mov dword [edx + 0x20], eax
jmp 0x4b1d51
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0x20]
call fcn.004be060
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x20]
call fcn.004c3420
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b1d9a
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004b5910
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x40]
mov ecx, dword [edx + 0x20]
call fcn.004bdff0
jmp 0x4b1dd3
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0x20]
call fcn.004bd7e0
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x4b1dd3
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0x2c
call dword [sym.imp.mfc120u.dll_Ordinal_1658]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.004b5910
mov dword [ebp - 0x44], eax
jmp 0x4b1de2
mov dword [ebp - 4], 0
jmp 0x4b1df2
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00440c90
mov eax, dword [ebp - 0x60]
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.004df9ac
mov esp, ebp
pop ebp
ret 0x10