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

Disassembly:
cmp dword [0x572bf4], 7
mov eax, 0x572be0
push ebx
cmova eax, dword [0x572be0]
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 0x4b17e7
mov ecx, 0x572be0
call fcn.00417600
cmp dword [0x572bf4], 7
mov eax, 0x572be0
push 0
cmova eax, dword [0x572be0]
push eax
call ebx
test eax, eax
jne 0x4b17e7
call esi
cmp dword [0x572b04], 7
mov eax, 0x572af0
cmova eax, dword [0x572af0]
push eax
call edi
test eax, eax
jne 0x4b1829
mov ecx, 0x572af0
call fcn.00417600
cmp dword [0x572b04], 7
mov eax, 0x572af0
push 0
cmova eax, dword [0x572af0]
push eax
call ebx
test eax, eax
jne 0x4b1829
call esi
cmp dword [0x572b64], 7
mov eax, 0x572b50
cmova eax, dword [0x572b50]
push eax
call edi
test eax, eax
jne 0x4b186b
mov ecx, 0x572b50
call fcn.00417600
cmp dword [0x572b64], 7
mov eax, 0x572b50
push 0
cmova eax, dword [0x572b50]
push eax
call ebx
test eax, eax
jne 0x4b186b
call esi
cmp dword [0x572b1c], 7
mov eax, 0x572b08
cmova eax, dword [0x572b08]
push eax
call edi
test eax, eax
jne 0x4b18ad
mov ecx, 0x572b08
call fcn.00417600
cmp dword [0x572b1c], 7
mov eax, 0x572b08
push 0
cmova eax, dword [0x572b08]
push eax
call ebx
test eax, eax
jne 0x4b18ad
call esi
cmp dword [0x572b94], 7
mov eax, 0x572b80
cmova eax, dword [0x572b80]
push eax
call edi
test eax, eax
jne 0x4b18ef
mov ecx, 0x572b80
call fcn.00417600
cmp dword [0x572b94], 7
mov eax, 0x572b80
push 0
cmova eax, dword [0x572b80]
push eax
call ebx
test eax, eax
jne 0x4b18ef
call esi
cmp dword [0x572ad4], 7
mov eax, 0x572ac0
cmova eax, dword [0x572ac0]
push eax
call edi
test eax, eax
jne 0x4b1931
mov ecx, 0x572ac0
call fcn.00417600
cmp dword [0x572ad4], 7
mov eax, 0x572ac0
push 0
cmova eax, dword [0x572ac0]
push eax
call ebx
test eax, eax
jne 0x4b1931
call esi
cmp dword [0x572b7c], 7
mov eax, 0x572b68
cmova eax, dword [0x572b68]
push eax
call edi
test eax, eax
jne 0x4b1973
mov ecx, 0x572b68
call fcn.00417600
cmp dword [0x572b7c], 7
mov eax, 0x572b68
push 0
cmova eax, dword [0x572b68]
push eax
call ebx
test eax, eax
jne 0x4b1973
call esi
cmp dword [0x572bc4], 7
mov eax, 0x572bb0
cmova eax, dword [0x572bb0]
push eax
call edi
test eax, eax
jne 0x4b19b5
mov ecx, 0x572bb0
call fcn.00417600
cmp dword [0x572bc4], 7
mov eax, 0x572bb0
push 0
cmova eax, dword [0x572bb0]
push eax
call ebx
test eax, eax
jne 0x4b19b5
call esi
cmp dword [0x572aec], 7
mov eax, 0x572ad8
cmova eax, dword [0x572ad8]
push eax
call edi
test eax, eax
jne 0x4b19f7
mov ecx, 0x572ad8
call fcn.00417600
cmp dword [0x572aec], 7
mov eax, 0x572ad8
push 0
cmova eax, dword [0x572ad8]
push eax
call ebx
test eax, eax
jne 0x4b19f7
call esi
cmp dword [0x572bac], 7
mov eax, 0x572b98
cmova eax, dword [0x572b98]
push eax
call edi
test eax, eax
jne 0x4b1a53
call dword [0x572544]
test al, al
je 0x4b1b61
call dword [0x572540]
cmp eax, 3
jg 0x4b1b61
cmp dword [0x572bac], 7
mov eax, 0x572b98
cmova eax, dword [0x572b98]
push eax
push 0x53a950
push 3
push 0x26d
jmp 0x4b1b53
cmp dword [0x572bdc], 7
mov eax, 0x572bc8
cmova eax, dword [0x572bc8]
push eax
call edi
test eax, eax
jne 0x4b1aaf
call dword [0x572544]
test al, al
je 0x4b1b61
call dword [0x572540]
cmp eax, 3
jg 0x4b1b61
cmp dword [0x572bdc], 7
mov eax, 0x572bc8
cmova eax, dword [0x572bc8]
push eax
push 0x53a950
push 3
push 0x272
jmp 0x4b1b53
cmp dword [0x572c0c], 7
mov eax, 0x572bf8
cmova eax, dword [0x572bf8]
push eax
call edi
test eax, eax
jne 0x4b1b04
call dword [0x572544]
test al, al
je 0x4b1b61
call dword [0x572540]
cmp eax, 3
jg 0x4b1b61
cmp dword [0x572c0c], 7
mov eax, 0x572bf8
cmova eax, dword [0x572bf8]
push eax
push 0x53a950
push 3
push 0x277
jmp 0x4b1b53
cmp dword [0x572b4c], 7
mov eax, 0x572b38
cmova eax, dword [0x572b38]
push eax
call edi
test eax, eax
jne 0x4b1b67
call dword [0x572544]
test al, al
je 0x4b1b61
call dword [0x572540]
cmp eax, 3
jg 0x4b1b61
cmp dword [0x572b4c], 7
mov eax, 0x572b38
cmova eax, dword [0x572b38]
push eax
push 0x53a950
push 3
push 0x27c
push str.TMPlatform.cpp
call dword [0x572548]
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret