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

Disassembly:
cmp dword [0x571be4], 7
mov eax, 0x571bd0
push ebx
cmova eax, dword [0x571bd0]
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 0x4b11a7
mov ecx, 0x571bd0
call fcn.00417490
cmp dword [0x571be4], 7
mov eax, 0x571bd0
push 0
cmova eax, dword [0x571bd0]
push eax
call ebx
test eax, eax
jne 0x4b11a7
call esi
cmp dword [0x571af4], 7
mov eax, 0x571ae0
cmova eax, dword [0x571ae0]
push eax
call edi
test eax, eax
jne 0x4b11e9
mov ecx, 0x571ae0
call fcn.00417490
cmp dword [0x571af4], 7
mov eax, 0x571ae0
push 0
cmova eax, dword [0x571ae0]
push eax
call ebx
test eax, eax
jne 0x4b11e9
call esi
cmp dword [0x571b54], 7
mov eax, 0x571b40
cmova eax, dword [0x571b40]
push eax
call edi
test eax, eax
jne 0x4b122b
mov ecx, 0x571b40
call fcn.00417490
cmp dword [0x571b54], 7
mov eax, 0x571b40
push 0
cmova eax, dword [0x571b40]
push eax
call ebx
test eax, eax
jne 0x4b122b
call esi
cmp dword [0x571b0c], 7
mov eax, 0x571af8
cmova eax, dword [0x571af8]
push eax
call edi
test eax, eax
jne 0x4b126d
mov ecx, 0x571af8
call fcn.00417490
cmp dword [0x571b0c], 7
mov eax, 0x571af8
push 0
cmova eax, dword [0x571af8]
push eax
call ebx
test eax, eax
jne 0x4b126d
call esi
cmp dword [0x571b84], 7
mov eax, 0x571b70
cmova eax, dword [0x571b70]
push eax
call edi
test eax, eax
jne 0x4b12af
mov ecx, 0x571b70
call fcn.00417490
cmp dword [0x571b84], 7
mov eax, 0x571b70
push 0
cmova eax, dword [0x571b70]
push eax
call ebx
test eax, eax
jne 0x4b12af
call esi
cmp dword [0x571ac4], 7
mov eax, 0x571ab0
cmova eax, dword [0x571ab0]
push eax
call edi
test eax, eax
jne 0x4b12f1
mov ecx, 0x571ab0
call fcn.00417490
cmp dword [0x571ac4], 7
mov eax, 0x571ab0
push 0
cmova eax, dword [0x571ab0]
push eax
call ebx
test eax, eax
jne 0x4b12f1
call esi
cmp dword [0x571b6c], 7
mov eax, 0x571b58
cmova eax, dword [0x571b58]
push eax
call edi
test eax, eax
jne 0x4b1333
mov ecx, 0x571b58
call fcn.00417490
cmp dword [0x571b6c], 7
mov eax, 0x571b58
push 0
cmova eax, dword [0x571b58]
push eax
call ebx
test eax, eax
jne 0x4b1333
call esi
cmp dword [0x571bb4], 7
mov eax, 0x571ba0
cmova eax, dword [0x571ba0]
push eax
call edi
test eax, eax
jne 0x4b1375
mov ecx, 0x571ba0
call fcn.00417490
cmp dword [0x571bb4], 7
mov eax, 0x571ba0
push 0
cmova eax, dword [0x571ba0]
push eax
call ebx
test eax, eax
jne 0x4b1375
call esi
cmp dword [0x571adc], 7
mov eax, 0x571ac8
cmova eax, dword [0x571ac8]
push eax
call edi
test eax, eax
jne 0x4b13b7
mov ecx, 0x571ac8
call fcn.00417490
cmp dword [0x571adc], 7
mov eax, 0x571ac8
push 0
cmova eax, dword [0x571ac8]
push eax
call ebx
test eax, eax
jne 0x4b13b7
call esi
cmp dword [0x571b9c], 7
mov eax, 0x571b88
cmova eax, dword [0x571b88]
push eax
call edi
test eax, eax
jne 0x4b1413
call dword [0x571534]
test al, al
je 0x4b1521
call dword [0x571530]
cmp eax, 3
jg 0x4b1521
cmp dword [0x571b9c], 7
mov eax, 0x571b88
cmova eax, dword [0x571b88]
push eax
push 0x535390
push 3
push 0x256
jmp 0x4b1513
cmp dword [0x571bcc], 7
mov eax, 0x571bb8
cmova eax, dword [0x571bb8]
push eax
call edi
test eax, eax
jne 0x4b146f
call dword [0x571534]
test al, al
je 0x4b1521
call dword [0x571530]
cmp eax, 3
jg 0x4b1521
cmp dword [0x571bcc], 7
mov eax, 0x571bb8
cmova eax, dword [0x571bb8]
push eax
push 0x535390
push 3
push 0x25b
jmp 0x4b1513
cmp dword [0x571bfc], 7
mov eax, 0x571be8
cmova eax, dword [0x571be8]
push eax
call edi
test eax, eax
jne 0x4b14c4
call dword [0x571534]
test al, al
je 0x4b1521
call dword [0x571530]
cmp eax, 3
jg 0x4b1521
cmp dword [0x571bfc], 7
mov eax, 0x571be8
cmova eax, dword [0x571be8]
push eax
push 0x535390
push 3
push 0x260
jmp 0x4b1513
cmp dword [0x571b3c], 7
mov eax, 0x571b28
cmova eax, dword [0x571b28]
push eax
call edi
test eax, eax
jne 0x4b1527
call dword [0x571534]
test al, al
je 0x4b1521
call dword [0x571530]
cmp eax, 3
jg 0x4b1521
cmp dword [0x571b3c], 7
mov eax, 0x571b28
cmova eax, dword [0x571b28]
push eax
push 0x535390
push 3
push 0x265
push str.TMPlatform.cpp
call dword [0x571538]
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret