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

Disassembly:
cmp dword [0x570c94], 7
mov eax, 0x570c80
push ebx
cmova eax, dword [0x570c80]
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 0x4b0ec7
mov ecx, 0x570c80
call fcn.004176a0
cmp dword [0x570c94], 7
mov eax, 0x570c80
push 0
cmova eax, dword [0x570c80]
push eax
call ebx
test eax, eax
jne 0x4b0ec7
call esi
cmp dword [0x570ba4], 7
mov eax, 0x570b90
cmova eax, dword [0x570b90]
push eax
call edi
test eax, eax
jne 0x4b0f09
mov ecx, 0x570b90
call fcn.004176a0
cmp dword [0x570ba4], 7
mov eax, 0x570b90
push 0
cmova eax, dword [0x570b90]
push eax
call ebx
test eax, eax
jne 0x4b0f09
call esi
cmp dword [0x570c04], 7
mov eax, 0x570bf0
cmova eax, dword [0x570bf0]
push eax
call edi
test eax, eax
jne 0x4b0f4b
mov ecx, 0x570bf0
call fcn.004176a0
cmp dword [0x570c04], 7
mov eax, 0x570bf0
push 0
cmova eax, dword [0x570bf0]
push eax
call ebx
test eax, eax
jne 0x4b0f4b
call esi
cmp dword [0x570bbc], 7
mov eax, 0x570ba8
cmova eax, dword [0x570ba8]
push eax
call edi
test eax, eax
jne 0x4b0f8d
mov ecx, 0x570ba8
call fcn.004176a0
cmp dword [0x570bbc], 7
mov eax, 0x570ba8
push 0
cmova eax, dword [0x570ba8]
push eax
call ebx
test eax, eax
jne 0x4b0f8d
call esi
cmp dword [0x570c34], 7
mov eax, 0x570c20
cmova eax, dword [0x570c20]
push eax
call edi
test eax, eax
jne 0x4b0fcf
mov ecx, 0x570c20
call fcn.004176a0
cmp dword [0x570c34], 7
mov eax, 0x570c20
push 0
cmova eax, dword [0x570c20]
push eax
call ebx
test eax, eax
jne 0x4b0fcf
call esi
cmp dword [0x570b74], 7
mov eax, 0x570b60
cmova eax, dword [0x570b60]
push eax
call edi
test eax, eax
jne 0x4b1011
mov ecx, 0x570b60
call fcn.004176a0
cmp dword [0x570b74], 7
mov eax, 0x570b60
push 0
cmova eax, dword [0x570b60]
push eax
call ebx
test eax, eax
jne 0x4b1011
call esi
cmp dword [0x570c1c], 7
mov eax, 0x570c08
cmova eax, dword [0x570c08]
push eax
call edi
test eax, eax
jne 0x4b1053
mov ecx, 0x570c08
call fcn.004176a0
cmp dword [0x570c1c], 7
mov eax, 0x570c08
push 0
cmova eax, dword [0x570c08]
push eax
call ebx
test eax, eax
jne 0x4b1053
call esi
cmp dword [0x570c64], 7
mov eax, 0x570c50
cmova eax, dword [0x570c50]
push eax
call edi
test eax, eax
jne 0x4b1095
mov ecx, 0x570c50
call fcn.004176a0
cmp dword [0x570c64], 7
mov eax, 0x570c50
push 0
cmova eax, dword [0x570c50]
push eax
call ebx
test eax, eax
jne 0x4b1095
call esi
cmp dword [0x570b8c], 7
mov eax, 0x570b78
cmova eax, dword [0x570b78]
push eax
call edi
test eax, eax
jne 0x4b10d7
mov ecx, 0x570b78
call fcn.004176a0
cmp dword [0x570b8c], 7
mov eax, 0x570b78
push 0
cmova eax, dword [0x570b78]
push eax
call ebx
test eax, eax
jne 0x4b10d7
call esi
cmp dword [0x570c4c], 7
mov eax, 0x570c38
cmova eax, dword [0x570c38]
push eax
call edi
test eax, eax
jne 0x4b1133
call dword [0x57052c]
test al, al
je 0x4b1241
call dword [0x570528]
cmp eax, 3
jg 0x4b1241
cmp dword [0x570c4c], 7
mov eax, 0x570c38
cmova eax, dword [0x570c38]
push eax
push 0x541100
push 3
push 0x223
jmp 0x4b1233
cmp dword [0x570c7c], 7
mov eax, 0x570c68
cmova eax, dword [0x570c68]
push eax
call edi
test eax, eax
jne 0x4b118f
call dword [0x57052c]
test al, al
je 0x4b1241
call dword [0x570528]
cmp eax, 3
jg 0x4b1241
cmp dword [0x570c7c], 7
mov eax, 0x570c68
cmova eax, dword [0x570c68]
push eax
push 0x541100
push 3
push 0x228
jmp 0x4b1233
cmp dword [0x570cac], 7
mov eax, 0x570c98
cmova eax, dword [0x570c98]
push eax
call edi
test eax, eax
jne 0x4b11e4
call dword [0x57052c]
test al, al
je 0x4b1241
call dword [0x570528]
cmp eax, 3
jg 0x4b1241
cmp dword [0x570cac], 7
mov eax, 0x570c98
cmova eax, dword [0x570c98]
push eax
push 0x541100
push 3
push 0x22d
jmp 0x4b1233
cmp dword [0x570bec], 7
mov eax, 0x570bd8
cmova eax, dword [0x570bd8]
push eax
call edi
test eax, eax
jne 0x4b1247
call dword [0x57052c]
test al, al
je 0x4b1241
call dword [0x570528]
cmp eax, 3
jg 0x4b1241
cmp dword [0x570bec], 7
mov eax, 0x570bd8
cmova eax, dword [0x570bd8]
push eax
push 0x541100
push 3
push 0x232
push str.TMPlatform.cpp
call dword [0x570530]
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret