Function at 0x4b20a0
Capabilities:
Check if file exists
Create directory

Disassembly:
cmp dword [0x572cbc], 7
mov eax, 0x572ca8
push ebx
cmova eax, dword [0x572ca8]
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4b20f7
mov ecx, 0x572ca8
call fcn.004174c0
cmp dword [0x572cbc], 7
mov eax, 0x572ca8
push 0
cmova eax, dword [0x572ca8]
push eax
call ebx
test eax, eax
jne 0x4b20f7
call esi
cmp dword [0x572bcc], 7
mov eax, 0x572bb8
cmova eax, dword [0x572bb8]
push eax
call edi
test eax, eax
jne 0x4b2139
mov ecx, 0x572bb8
call fcn.004174c0
cmp dword [0x572bcc], 7
mov eax, 0x572bb8
push 0
cmova eax, dword [0x572bb8]
push eax
call ebx
test eax, eax
jne 0x4b2139
call esi
cmp dword [0x572c2c], 7
mov eax, 0x572c18
cmova eax, dword [0x572c18]
push eax
call edi
test eax, eax
jne 0x4b217b
mov ecx, 0x572c18
call fcn.004174c0
cmp dword [0x572c2c], 7
mov eax, 0x572c18
push 0
cmova eax, dword [0x572c18]
push eax
call ebx
test eax, eax
jne 0x4b217b
call esi
cmp dword [0x572be4], 7
mov eax, 0x572bd0
cmova eax, dword [0x572bd0]
push eax
call edi
test eax, eax
jne 0x4b21bd
mov ecx, 0x572bd0
call fcn.004174c0
cmp dword [0x572be4], 7
mov eax, 0x572bd0
push 0
cmova eax, dword [0x572bd0]
push eax
call ebx
test eax, eax
jne 0x4b21bd
call esi
cmp dword [0x572c5c], 7
mov eax, 0x572c48
cmova eax, dword [0x572c48]
push eax
call edi
test eax, eax
jne 0x4b21ff
mov ecx, 0x572c48
call fcn.004174c0
cmp dword [0x572c5c], 7
mov eax, 0x572c48
push 0
cmova eax, dword [0x572c48]
push eax
call ebx
test eax, eax
jne 0x4b21ff
call esi
cmp dword [0x572b9c], 7
mov eax, 0x572b88
cmova eax, dword [0x572b88]
push eax
call edi
test eax, eax
jne 0x4b2241
mov ecx, 0x572b88
call fcn.004174c0
cmp dword [0x572b9c], 7
mov eax, 0x572b88
push 0
cmova eax, dword [0x572b88]
push eax
call ebx
test eax, eax
jne 0x4b2241
call esi
cmp dword [0x572c44], 7
mov eax, 0x572c30
cmova eax, dword [0x572c30]
push eax
call edi
test eax, eax
jne 0x4b2283
mov ecx, 0x572c30
call fcn.004174c0
cmp dword [0x572c44], 7
mov eax, 0x572c30
push 0
cmova eax, dword [0x572c30]
push eax
call ebx
test eax, eax
jne 0x4b2283
call esi
cmp dword [0x572c8c], 7
mov eax, 0x572c78
cmova eax, dword [0x572c78]
push eax
call edi
test eax, eax
jne 0x4b22c5
mov ecx, 0x572c78
call fcn.004174c0
cmp dword [0x572c8c], 7
mov eax, 0x572c78
push 0
cmova eax, dword [0x572c78]
push eax
call ebx
test eax, eax
jne 0x4b22c5
call esi
cmp dword [0x572bb4], 7
mov eax, 0x572ba0
cmova eax, dword [0x572ba0]
push eax
call edi
test eax, eax
jne 0x4b2307
mov ecx, 0x572ba0
call fcn.004174c0
cmp dword [0x572bb4], 7
mov eax, 0x572ba0
push 0
cmova eax, dword [0x572ba0]
push eax
call ebx
test eax, eax
jne 0x4b2307
call esi
cmp dword [0x572c74], 7
mov eax, 0x572c60
cmova eax, dword [0x572c60]
push eax
call edi
test eax, eax
jne 0x4b2363
call dword [0x572550]
test al, al
je 0x4b2471
call dword [0x57254c]
cmp eax, 3
jg 0x4b2471
cmp dword [0x572c74], 7
mov eax, 0x572c60
cmova eax, dword [0x572c60]
push eax
push 0x535290
push 3
push 0x256
jmp 0x4b2463
cmp dword [0x572ca4], 7
mov eax, 0x572c90
cmova eax, dword [0x572c90]
push eax
call edi
test eax, eax
jne 0x4b23bf
call dword [0x572550]
test al, al
je 0x4b2471
call dword [0x57254c]
cmp eax, 3
jg 0x4b2471
cmp dword [0x572ca4], 7
mov eax, 0x572c90
cmova eax, dword [0x572c90]
push eax
push 0x535290
push 3
push 0x25b
jmp 0x4b2463
cmp dword [0x572cd4], 7
mov eax, 0x572cc0
cmova eax, dword [0x572cc0]
push eax
call edi
test eax, eax
jne 0x4b2414
call dword [0x572550]
test al, al
je 0x4b2471
call dword [0x57254c]
cmp eax, 3
jg 0x4b2471
cmp dword [0x572cd4], 7
mov eax, 0x572cc0
cmova eax, dword [0x572cc0]
push eax
push 0x535290
push 3
push 0x260
jmp 0x4b2463
cmp dword [0x572c14], 7
mov eax, 0x572c00
cmova eax, dword [0x572c00]
push eax
call edi
test eax, eax
jne 0x4b2477
call dword [0x572550]
test al, al
je 0x4b2471
call dword [0x57254c]
cmp eax, 3
jg 0x4b2471
cmp dword [0x572c14], 7
mov eax, 0x572c00
cmova eax, dword [0x572c00]
push eax
push 0x535290
push 3
push 0x265
push str.TMPlatform.cpp
call dword [0x572554]
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret