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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d7875
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x10269114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4ac], ecx
mov eax, dword [ebp - 0x4ac]
mov byte [eax], 0
mov ecx, dword [ebp + 8]
call fcn.1000f5a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100303d4
xor al, al
jmp 0x10030614
mov ecx, dword [ebp + 0xc]
call fcn.1000f5a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100303fa
push 0
mov ecx, dword [ebp + 0xc]
call fcn.1000f5a0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
mov ecx, dword [ebp + 8]
call fcn.1000f5a0
push eax
call fcn.10040320
add esp, 8
mov dword [ebp - 0x4a4], eax
cmp dword [ebp - 0x4a4], 0
jne 0x10030423
xor al, al
jmp 0x10030614
lea ecx, [ebp - 0x270]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x4a4]
push edx
call fcn.100400e0
add esp, 0xc
test eax, eax
je 0x10030488
mov eax, dword [ebp - 0x4a4]
push eax
call fcn.10040170
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x1003046c
mov edx, dword [ebp - 0x4a4]
push edx
call fcn.1003ee50
add esp, 4
mov dword [ebp - 0x4b0], eax
jmp 0x10030481
mov eax, dword [ebp - 0x4a4]
push eax
call fcn.10038b10
add esp, 4
mov dword [ebp - 0x4b0], eax
xor al, al
jmp 0x10030614
mov dword [ebp - 0x4a8], 0
jmp 0x100304a3
mov ecx, dword [ebp - 0x4a8]
add ecx, 1
mov dword [ebp - 0x4a8], ecx
mov edx, dword [ebp - 0x4a8]
cmp edx, dword [ebp - 0x270]
jge 0x100305d0
mov eax, dword [ebp - 0x4ac]
movzx ecx, byte [eax]
test ecx, ecx
je 0x1003050b
mov edx, dword [ebp - 0x4a4]
push edx
call fcn.10040170
add esp, 4
movzx eax, al
test eax, eax
je 0x100304ef
mov ecx, dword [ebp - 0x4a4]
push ecx
call fcn.1003ee50
add esp, 4
mov dword [ebp - 0x4b4], eax
jmp 0x10030504
mov edx, dword [ebp - 0x4a4]
push edx
call fcn.10038b10
add esp, 4
mov dword [ebp - 0x4b4], eax
mov al, 1
jmp 0x10030614
lea eax, [ebp - 0x4a0]
push eax
mov ecx, dword [ebp - 0x4a8]
push ecx
mov edx, dword [ebp - 0x4a4]
push edx
call fcn.100400e0
add esp, 0xc
test eax, eax
je 0x10030531
jmp 0x10030494
lea eax, [ebp - 0x49c]
push eax
push 0x101dab78
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.100023b0
add esp, 0xc
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4bc]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.10002280
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1000a9f0
lea ecx, [ebp - 0x28]
call fcn.1000f5a0
push eax
mov eax, dword [ebp - 0x4a8]
push eax
mov ecx, dword [ebp - 0x4a4]
push ecx
call fcn.10040bb0
add esp, 0xc
test eax, eax
je 0x100305bc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
jmp 0x10030494
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1000a9f0
jmp 0x10030494
mov edx, dword [ebp - 0x4a4]
push edx
call fcn.10040170
add esp, 4
movzx eax, al
test eax, eax
je 0x100305fd
mov ecx, dword [ebp - 0x4a4]
push ecx
call fcn.1003ee50
add esp, 4
mov dword [ebp - 0x4c0], eax
jmp 0x10030612
mov edx, dword [ebp - 0x4a4]
push edx
call fcn.10038b10
add esp, 4
mov dword [ebp - 0x4c0], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100499a5
mov esp, ebp
pop ebp
ret 8