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

Disassembly:
cmp dword [0x571c8c], 7
mov eax, 0x571c78
push ebx
cmova eax, dword [0x571c78]
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 0x4b1a37
mov ecx, 0x571c78
call fcn.004176d0
cmp dword [0x571c8c], 7
mov eax, 0x571c78
push 0
cmova eax, dword [0x571c78]
push eax
call ebx
test eax, eax
jne 0x4b1a37
call esi
cmp dword [0x571b9c], 7
mov eax, 0x571b88
cmova eax, dword [0x571b88]
push eax
call edi
test eax, eax
jne 0x4b1a79
mov ecx, 0x571b88
call fcn.004176d0
cmp dword [0x571b9c], 7
mov eax, 0x571b88
push 0
cmova eax, dword [0x571b88]
push eax
call ebx
test eax, eax
jne 0x4b1a79
call esi
cmp dword [0x571bfc], 7
mov eax, 0x571be8
cmova eax, dword [0x571be8]
push eax
call edi
test eax, eax
jne 0x4b1abb
mov ecx, 0x571be8
call fcn.004176d0
cmp dword [0x571bfc], 7
mov eax, 0x571be8
push 0
cmova eax, dword [0x571be8]
push eax
call ebx
test eax, eax
jne 0x4b1abb
call esi
cmp dword [0x571bb4], 7
mov eax, 0x571ba0
cmova eax, dword [0x571ba0]
push eax
call edi
test eax, eax
jne 0x4b1afd
mov ecx, 0x571ba0
call fcn.004176d0
cmp dword [0x571bb4], 7
mov eax, 0x571ba0
push 0
cmova eax, dword [0x571ba0]
push eax
call ebx
test eax, eax
jne 0x4b1afd
call esi
cmp dword [0x571c2c], 7
mov eax, 0x571c18
cmova eax, dword [0x571c18]
push eax
call edi
test eax, eax
jne 0x4b1b3f
mov ecx, 0x571c18
call fcn.004176d0
cmp dword [0x571c2c], 7
mov eax, 0x571c18
push 0
cmova eax, dword [0x571c18]
push eax
call ebx
test eax, eax
jne 0x4b1b3f
call esi
cmp dword [0x571b6c], 7
mov eax, 0x571b58
cmova eax, dword [0x571b58]
push eax
call edi
test eax, eax
jne 0x4b1b81
mov ecx, 0x571b58
call fcn.004176d0
cmp dword [0x571b6c], 7
mov eax, 0x571b58
push 0
cmova eax, dword [0x571b58]
push eax
call ebx
test eax, eax
jne 0x4b1b81
call esi
cmp dword [0x571c14], 7
mov eax, 0x571c00
cmova eax, dword [0x571c00]
push eax
call edi
test eax, eax
jne 0x4b1bc3
mov ecx, 0x571c00
call fcn.004176d0
cmp dword [0x571c14], 7
mov eax, 0x571c00
push 0
cmova eax, dword [0x571c00]
push eax
call ebx
test eax, eax
jne 0x4b1bc3
call esi
cmp dword [0x571c5c], 7
mov eax, 0x571c48
cmova eax, dword [0x571c48]
push eax
call edi
test eax, eax
jne 0x4b1c05
mov ecx, 0x571c48
call fcn.004176d0
cmp dword [0x571c5c], 7
mov eax, 0x571c48
push 0
cmova eax, dword [0x571c48]
push eax
call ebx
test eax, eax
jne 0x4b1c05
call esi
cmp dword [0x571b84], 7
mov eax, 0x571b70
cmova eax, dword [0x571b70]
push eax
call edi
test eax, eax
jne 0x4b1c47
mov ecx, 0x571b70
call fcn.004176d0
cmp dword [0x571b84], 7
mov eax, 0x571b70
push 0
cmova eax, dword [0x571b70]
push eax
call ebx
test eax, eax
jne 0x4b1c47
call esi
cmp byte [0x571886], 0
jne 0x4b1cac
cmp dword [0x571c44], 7
mov eax, 0x571c30
cmova eax, dword [0x571c30]
push eax
call edi
test eax, eax
jne 0x4b1cac
call dword [0x571524]
test al, al
je 0x4b1dba
call dword [0x571520]
cmp eax, 3
jg 0x4b1dba
cmp dword [0x571c44], 7
mov eax, 0x571c30
cmova eax, dword [0x571c30]
push eax
push 0x541500
push 3
push 0x242
jmp 0x4b1dac
cmp dword [0x571c74], 7
mov eax, 0x571c60
cmova eax, dword [0x571c60]
push eax
call edi
test eax, eax
jne 0x4b1d08
call dword [0x571524]
test al, al
je 0x4b1dba
call dword [0x571520]
cmp eax, 3
jg 0x4b1dba
cmp dword [0x571c74], 7
mov eax, 0x571c60
cmova eax, dword [0x571c60]
push eax
push 0x541500
push 3
push 0x247
jmp 0x4b1dac
cmp dword [0x571ca4], 7
mov eax, 0x571c90
cmova eax, dword [0x571c90]
push eax
call edi
test eax, eax
jne 0x4b1d5d
call dword [0x571524]
test al, al
je 0x4b1dba
call dword [0x571520]
cmp eax, 3
jg 0x4b1dba
cmp dword [0x571ca4], 7
mov eax, 0x571c90
cmova eax, dword [0x571c90]
push eax
push 0x541500
push 3
push 0x24c
jmp 0x4b1dac
cmp dword [0x571be4], 7
mov eax, 0x571bd0
cmova eax, dword [0x571bd0]
push eax
call edi
test eax, eax
jne 0x4b1dc0
call dword [0x571524]
test al, al
je 0x4b1dba
call dword [0x571520]
cmp eax, 3
jg 0x4b1dba
cmp dword [0x571be4], 7
mov eax, 0x571bd0
cmova eax, dword [0x571bd0]
push eax
push 0x541500
push 3
push 0x251
push str.TMPlatform.cpp
call dword [0x571528]
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret