Function at 0xfb05d0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x10316ec]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.00fa8bb0
or dword [ebp - 0x114], 1
mov ecx, eax
call fcn.00e16660
movzx ecx, al
test ecx, ecx
jne 0xfb0641
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00fa9160
or dword [ebp - 0x114], 2
mov ecx, eax
call fcn.00e16660
movzx eax, al
test eax, eax
je 0xfb0641
mov dword [ebp - 0x11c], 0
jmp 0xfb064b
mov dword [ebp - 0x11c], 1
mov cl, byte [ebp - 0x11c]
mov byte [ebp - 0x109], cl
mov edx, dword [ebp - 0x114]
and edx, 2
je 0xfb0671
and dword [ebp - 0x114], 0xfffffffd
lea ecx, [ebp - 0x3c]
call fcn.00ed0ca0
mov eax, dword [ebp - 0x114]
and eax, 1
je 0xfb068b
and dword [ebp - 0x114], 0xfffffffe
lea ecx, [ebp - 0x20]
call fcn.00ed0ca0
movzx ecx, byte [ebp - 0x109]
test ecx, ecx
je 0xfb069d
xor al, al
jmp 0xfb0876
lea ecx, [ebp - 0xb0]
call fcn.00e150e0
lea edx, [ebp - 0xb0]
push edx
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 8]
call fcn.00fa8bb0
push eax
call fcn.00f8a7c0
add esp, 8
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x10a], cl
lea ecx, [ebp - 0x58]
call fcn.00ed0ca0
movzx edx, byte [ebp - 0x10a]
test edx, edx
je 0xfb0704
mov byte [ebp - 0x10b], 0
lea ecx, [ebp - 0xb0]
call fcn.00e14e90
mov al, byte [ebp - 0x10b]
jmp 0xfb0876
lea ecx, [ebp - 0xb0]
call fcn.00e14c40
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0xffffffff
je 0xfb0752
mov eax, dword [ebp - 0x94]
and eax, 0x10
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x10c], al
lea ecx, [ebp - 0xb0]
call fcn.00e14e90
mov al, byte [ebp - 0x10c]
jmp 0xfb0876
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0xfb0785
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0xfb0785
mov byte [ebp - 0x10d], 0
lea ecx, [ebp - 0xb0]
call fcn.00e14e90
mov al, byte [ebp - 0x10d]
jmp 0xfb0876
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00fa8f00
mov ecx, eax
call fcn.00e16660
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x10e], dl
lea ecx, [ebp - 0x74]
call fcn.00ed0ca0
movzx eax, byte [ebp - 0x10e]
test eax, eax
je 0xfb0845
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x108]
call fcn.00fb2400
lea edx, [ebp - 0x90]
push edx
mov ecx, dword [ebp + 8]
call fcn.00fa8f00
push eax
lea ecx, [ebp - 0x108]
call fcn.00fa8f80
lea ecx, [ebp - 0x90]
call fcn.00ed0ca0
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x118]
mov eax, dword [edx + 0x20]
call eax
movzx ecx, al
test ecx, ecx
jne 0xfb083a
mov byte [ebp - 0x10f], 0
lea ecx, [ebp - 0x108]
call fcn.00f9f370
lea ecx, [ebp - 0xb0]
call fcn.00e14e90
mov al, byte [ebp - 0x10f]
jmp 0xfb0876
lea ecx, [ebp - 0x108]
call fcn.00f9f370
push 0
lea ecx, [ebp - 0xb0]
call fcn.00e14c40
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x110], al
lea ecx, [ebp - 0xb0]
call fcn.00e14e90
mov al, byte [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00f58a41
mov esp, ebp
pop ebp
ret 4