Function at 0x4b23a0
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 0x4b23f7
mov ecx, 0x572ca8
call fcn.004176d0
cmp dword [0x572cbc], 7
mov eax, 0x572ca8
push 0
cmova eax, dword [0x572ca8]
push eax
call ebx
test eax, eax
jne 0x4b23f7
call esi
cmp dword [0x572bcc], 7
mov eax, 0x572bb8
cmova eax, dword [0x572bb8]
push eax
call edi
test eax, eax
jne 0x4b2439
mov ecx, 0x572bb8
call fcn.004176d0
cmp dword [0x572bcc], 7
mov eax, 0x572bb8
push 0
cmova eax, dword [0x572bb8]
push eax
call ebx
test eax, eax
jne 0x4b2439
call esi
cmp dword [0x572c2c], 7
mov eax, 0x572c18
cmova eax, dword [0x572c18]
push eax
call edi
test eax, eax
jne 0x4b247b
mov ecx, 0x572c18
call fcn.004176d0
cmp dword [0x572c2c], 7
mov eax, 0x572c18
push 0
cmova eax, dword [0x572c18]
push eax
call ebx
test eax, eax
jne 0x4b247b
call esi
cmp dword [0x572be4], 7
mov eax, 0x572bd0
cmova eax, dword [0x572bd0]
push eax
call edi
test eax, eax
jne 0x4b24bd
mov ecx, 0x572bd0
call fcn.004176d0
cmp dword [0x572be4], 7
mov eax, 0x572bd0
push 0
cmova eax, dword [0x572bd0]
push eax
call ebx
test eax, eax
jne 0x4b24bd
call esi
cmp dword [0x572c5c], 7
mov eax, 0x572c48
cmova eax, dword [0x572c48]
push eax
call edi
test eax, eax
jne 0x4b24ff
mov ecx, 0x572c48
call fcn.004176d0
cmp dword [0x572c5c], 7
mov eax, 0x572c48
push 0
cmova eax, dword [0x572c48]
push eax
call ebx
test eax, eax
jne 0x4b24ff
call esi
cmp dword [0x572b9c], 7
mov eax, 0x572b88
cmova eax, dword [0x572b88]
push eax
call edi
test eax, eax
jne 0x4b2541
mov ecx, 0x572b88
call fcn.004176d0
cmp dword [0x572b9c], 7
mov eax, 0x572b88
push 0
cmova eax, dword [0x572b88]
push eax
call ebx
test eax, eax
jne 0x4b2541
call esi
cmp dword [0x572c44], 7
mov eax, 0x572c30
cmova eax, dword [0x572c30]
push eax
call edi
test eax, eax
jne 0x4b2583
mov ecx, 0x572c30
call fcn.004176d0
cmp dword [0x572c44], 7
mov eax, 0x572c30
push 0
cmova eax, dword [0x572c30]
push eax
call ebx
test eax, eax
jne 0x4b2583
call esi
cmp dword [0x572c8c], 7
mov eax, 0x572c78
cmova eax, dword [0x572c78]
push eax
call edi
test eax, eax
jne 0x4b25c5
mov ecx, 0x572c78
call fcn.004176d0
cmp dword [0x572c8c], 7
mov eax, 0x572c78
push 0
cmova eax, dword [0x572c78]
push eax
call ebx
test eax, eax
jne 0x4b25c5
call esi
cmp dword [0x572bb4], 7
mov eax, 0x572ba0
cmova eax, dword [0x572ba0]
push eax
call edi
test eax, eax
jne 0x4b2607
mov ecx, 0x572ba0
call fcn.004176d0
cmp dword [0x572bb4], 7
mov eax, 0x572ba0
push 0
cmova eax, dword [0x572ba0]
push eax
call ebx
test eax, eax
jne 0x4b2607
call esi
cmp dword [0x572c74], 7
mov eax, 0x572c60
cmova eax, dword [0x572c60]
push eax
call edi
test eax, eax
jne 0x4b2663
call dword [0x572550]
test al, al
je 0x4b2771
call dword [0x57254c]
cmp eax, 3
jg 0x4b2771
cmp dword [0x572c74], 7
mov eax, 0x572c60
cmova eax, dword [0x572c60]
push eax
push 0x542ad8
push 3
push 0x24f
jmp 0x4b2763
cmp dword [0x572ca4], 7
mov eax, 0x572c90
cmova eax, dword [0x572c90]
push eax
call edi
test eax, eax
jne 0x4b26bf
call dword [0x572550]
test al, al
je 0x4b2771
call dword [0x57254c]
cmp eax, 3
jg 0x4b2771
cmp dword [0x572ca4], 7
mov eax, 0x572c90
cmova eax, dword [0x572c90]
push eax
push 0x542ad8
push 3
push 0x254
jmp 0x4b2763
cmp dword [0x572cd4], 7
mov eax, 0x572cc0
cmova eax, dword [0x572cc0]
push eax
call edi
test eax, eax
jne 0x4b2714
call dword [0x572550]
test al, al
je 0x4b2771
call dword [0x57254c]
cmp eax, 3
jg 0x4b2771
cmp dword [0x572cd4], 7
mov eax, 0x572cc0
cmova eax, dword [0x572cc0]
push eax
push 0x542ad8
push 3
push 0x259
jmp 0x4b2763
cmp dword [0x572c14], 7
mov eax, 0x572c00
cmova eax, dword [0x572c00]
push eax
call edi
test eax, eax
jne 0x4b2777
call dword [0x572550]
test al, al
je 0x4b2771
call dword [0x57254c]
cmp eax, 3
jg 0x4b2771
cmp dword [0x572c14], 7
mov eax, 0x572c00
cmova eax, dword [0x572c00]
push eax
push 0x542ad8
push 3
push 0x25e
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