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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001dc40
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x1004b200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1004bb70]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x124], esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1004ba48]
cmp eax, dword [ecx + 4]
jg 0x1000eb3f
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x1000e8f6
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000eb22
cmp dword [0x1004b014], 7
mov eax, section..data
mov edi, esi
mov dword [ebp - 0x11c], esi
cmova eax, dword [section..data]
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x118], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x114], eax
jbe 0x1000e93e
mov edi, dword [esi]
mov dword [ebp - 0x11c], edi
cmp dword [0x1004b010], 0
je 0x1000ea6e
test eax, eax
je 0x1000ea6e
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x118]
add esp, 0xc
mov edx, dword [0x1004b010]
mov ecx, eax
mov dword [ebp - 0x120], 0x100
lea edx, [eax + edx*2]
cmp eax, edx
je 0x1000e9ae
nop dword [eax + eax]
movzx eax, word [ecx]
cmp ax, word [ebp - 0x120]
jae 0x1000e9e6
movzx eax, al
add ecx, 2
mov byte [ebp + eax - 0x110], 1
cmp ecx, edx
jne 0x1000e990
mov eax, dword [esi + 0x10]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x120]
dec eax
cmp eax, ecx
cmovb ecx, eax
lea ecx, [edi + ecx*2]
movzx eax, word [ecx]
cmp ax, dx
jae 0x1000e9d9
cmp byte [ebp + eax - 0x110], 0
jne 0x1000ea68
cmp ecx, edi
je 0x1000ea6e
sub ecx, 2
jmp 0x1000e9c3
mov eax, dword [ebp - 0x114]
or ecx, 0xffffffff
dec eax
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [ebp - 0x118]
movzx edx, word [eax]
lea ecx, [edi + ecx*2]
mov dword [ebp - 0x114], edx
nop word [eax + eax]
movzx edi, word [ecx]
mov esi, eax
mov edx, dword [0x1004b010]
cmp word [ebp - 0x114], di
je 0x1000ea58
cmp edx, 1
je 0x1000ea3a
movzx eax, word [esi + 2]
add esi, 2
dec edx
cmp ax, di
jne 0x1000ea24
test esi, esi
jne 0x1000ea58
cmp ecx, dword [ebp - 0x11c]
je 0x1000ea4d
mov eax, dword [ebp - 0x118]
sub ecx, 2
jmp 0x1000ea10
mov esi, dword [ebp - 0x124]
or ecx, 0xffffffff
jmp 0x1000ea71
sub ecx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x124]
sar ecx, 1
jmp 0x1000ea71
sub ecx, edi
sar ecx, 1
jmp 0x1000ea71
or ecx, 0xffffffff
cmp ecx, 0xffffffff
je 0x1000eb11
cmp dword [esi + 0x10], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x140], xmm0
cmovb ecx, dword [esi + 0x10]
mov eax, esi
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
jbe 0x1000eaa9
mov eax, dword [esi]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.1000cc80
mov ecx, dword [ebp - 0x128]
lea eax, [ebp - 0x140]
push eax
mov dword [ebp - 4], 0
call fcn.1000e890
mov ecx, dword [ebp - 0x12c]
cmp ecx, 7
jbe 0x1000eb11
mov edx, dword [ebp - 0x140]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1000eb07
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000eb07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1001b5fa
add esp, 8
cmp dword [esi + 0x14], 7
jbe 0x1000eb19
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001b6e8
mov esp, ebp
pop ebp
ret 4
push 0x1004ba48
call fcn.1001b684
add esp, 4
cmp dword [0x1004ba48], 0xffffffff
jne 0x1000e8ec
push 0x1001ef50
call fcn.1001bb0c
push 0x1004ba48
call fcn.1001b633
add esp, 8
jmp 0x1000e8ec