Function at 0x10003ccf
Capabilities:
Check if file exists
Create directory
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x353c
call fcn.10042c60
mov eax, dword [0x10086e84]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
xor ebx, ebx
cmp word [eax], bx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x353c], ecx
je 0x10004025
mov edx, dword [edi]
cmp word [edx], bx
je 0x10004025
mov ecx, dword [ecx]
cmp word [ecx], bx
je 0x10004025
push eax
mov dword [ebp - 0x3534], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
je 0x10003d38
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x10003d52
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10003d4c
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x3534], eax
push 0xa28
lea eax, [ebp - 0x145a]
push ebx
push eax
mov word [ebp - 0x145c], bx
call fcn.10042010
push 0xa28
lea eax, [ebp - 0x32de]
push ebx
push eax
mov word [ebp - 0x32e0], bx
call fcn.10042010
add esp, 0x18
cmp dword [ebp - 0x3534], ebx
jl 0x10003dd0
push dword [esi]
lea eax, [ebp - 0x145c]
push eax
call fcn.10042c3b
push dword [edi]
lea eax, [ebp - 0x32e0]
push eax
call fcn.10042c3b
add esp, 0x10
cmp word [ebp - 0x145c], bx
je 0x10003dc6
cmp word [ebp - 0x32e0], bx
mov dword [ebp - 0x3534], ebx
jne 0x10003dd0
mov dword [ebp - 0x3534], 0x80070057
push 0xa28
lea eax, [ebp - 0x28b2]
push ebx
push eax
mov word [ebp - 0x28b4], bx
call fcn.10042010
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
add esp, 0xc
cmp dword [ebp - 0x3534], ebx
jl 0x10003e3b
lea eax, [ebp - 0x145c]
push eax
lea eax, [ebp - 0x28b4]
push eax
call fcn.10042c3b
pop ecx
pop ecx
push 0x10071268
lea eax, [ebp - 0x28b4]
push eax
call edi
test eax, eax
jne 0x10003e3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10003e35
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x3534], eax
push 0x24c
lea eax, [ebp - 0x352c]
push ebx
push eax
mov dword [ebp - 0x3530], ebx
call fcn.10042010
add esp, 0xc
cmp dword [ebp - 0x3534], ebx
jl 0x10004010
lea eax, [ebp - 0x3530]
push eax
lea eax, [ebp - 0x28b4]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x3538], esi
je 0x10003e87
cmp esi, 0xffffffff
jne 0x10003ea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10003e9b
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x3534], eax
cmp dword [ebp - 0x3534], ebx
jl 0x10004005
test byte [ebp - 0x3530], 0x10
je 0x10003fe5
lea eax, [ebp - 0x3504]
push 0x10070e08
push eax
call fcn.10042bdf
test eax, eax
pop ecx
pop ecx
je 0x10003fe5
lea eax, [ebp - 0x3504]
push 0x10070e00
push eax
call fcn.10042bdf
test eax, eax
pop ecx
pop ecx
je 0x10003fe5
mov esi, 0xa28
push esi
lea eax, [ebp - 0x1e86]
push ebx
push eax
mov word [ebp - 0x1e88], bx
call fcn.10042010
push esi
lea eax, [ebp - 0xa2e]
push ebx
push eax
mov word [ebp - 0xa30], bx
call fcn.10042010
lea eax, [ebp - 0x145c]
push eax
lea eax, [ebp - 0x1e88]
push eax
call fcn.10042c3b
lea eax, [ebp - 0x32e0]
push eax
lea eax, [ebp - 0xa30]
push eax
call fcn.10042c3b
add esp, 0x28
lea eax, [ebp - 0x3504]
push eax
lea eax, [ebp - 0x1e88]
push eax
call edi
cmp eax, ebx
je 0x10003fcb
lea eax, [ebp - 0x3504]
push eax
lea eax, [ebp - 0xa30]
push eax
call edi
cmp eax, ebx
je 0x10003fcb
mov eax, dword [ebp - 0x353c]
push dword [eax]
lea eax, [ebp - 0xa30]
push eax
call edi
cmp eax, ebx
je 0x10003fcb
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
cmp esi, ebx
jne 0x10003fac
push ebx
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
cmp esi, ebx
je 0x10003fcb
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0x1e88]
push eax
call fcn.100021cb
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x3534], eax
jne 0x10003fe5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x10003fdf
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x3534], eax
mov esi, dword [ebp - 0x3538]
cmp esi, ebx
je 0x10004010
lea eax, [ebp - 0x3530]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10003ead
cmp esi, ebx
je 0x10004010
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3534]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10041ffa
leave
ret
mov dword [ebp - 0x3534], 0x80070057
jmp 0x10003d52