Function at 0x1000ecb0
Capabilities:
Create directory

Disassembly:
sub esp, 0x38
mov eax, dword [0x101ed004]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
push ebx
push ebp
mov dword [eax], 0
mov ebp, edx
mov dword [esp + 0xc], ebp
push esi
push edi
test ecx, ecx
je 0x1000f0c6
cmp word [ecx], 0
je 0x1000f0c6
push ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x34], 0x101d1eb4
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.1002e780
mov ebx, dword [esp + 0x34]
add esp, 4
test al, al
je 0x1000f09a
mov edi, dword [esp + 0x38]
test edi, edi
jns 0x1000ed4d
xor ecx, ecx
mov eax, ebx
cmp ebx, 0x101d1eb4
push 2
cmove eax, ecx
push eax
call fcn.1014d427
add esp, 8
test eax, eax
jne 0x1000ed41
xor edx, edx
jmp 0x1000ed4f
mov ebx, eax
xor edi, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], edi
mov edx, ebx
mov esi, dword [esp + 0x34]
lea eax, [edx + esi*2]
cmp eax, edx
je 0x1000ed7b
nop word [eax + eax]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x1000ed76
cmp ecx, 0x5c
je 0x1000ed76
sub eax, 2
cmp eax, edx
jne 0x1000ed60
jmp 0x1000ed7b
xor ecx, ecx
mov word [eax], cx
test ebx, ebx
je 0x1000ed95
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ed84
sub ecx, edx
sar ecx, 1
jmp 0x1000ed97
xor ecx, ecx
cmp ecx, edi
cmovle esi, ecx
mov dword [esp + 0x34], esi
test ebp, ebp
je 0x1000edfd
sub esp, 0xc
lea eax, [esp + 0x3c]
mov ecx, esp
push eax
mov dword [ecx], 0x101d1eb4
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.10010220
lea ecx, [esp + 0x2c]
call fcn.1000e2d0
add esp, 0xc
lea ecx, [esp + 0x30]
push eax
call fcn.10010220
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1000edf5
cmp eax, 0x101d1eb4
je 0x1000edf5
push eax
call fcn.10146720
add esp, 4
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
push ebx
call fcn.10147912
mov ecx, dword [0x101d2090]
mov ebp, eax
mov eax, 0x104
mov dword [esp + 0x40], ecx
mov cx, word [0x101d2094]
cmp esi, eax
mov dword [esp + 0x14], ebp
cmovg eax, esi
mov word [esp + 0x44], cx
inc eax
mov dword [esp + 0x30], 0
push eax
push 2
call fcn.1014bd06
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1000f09a
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.1014d8d5
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000f041
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1000ef4d
movzx eax, word [ebx]
cmp eax, 0x5c
jne 0x1000ef3a
cmp word [ebx + 2], ax
jne 0x1000ef2c
cmp word [ebx + 4], 0x3f
push 0x101d2058
push esi
jne 0x1000ef1d
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push esi
call ebp
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
push 0
call fcn.1014d8d5
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000f03b
push 0x101d208c
push esi
call ebp
push edi
push esi
call ebp
push 3
push 0x101d2098
push edi
call fcn.1014bccc
add esp, 0xc
test eax, eax
jne 0x1000f01d
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
push 0
call fcn.1014d8d5
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000f01d
push 0x101d208c
push esi
call ebp
push edi
push esi
call ebp
jmp 0x1000f01d
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push esi
call ebp
jmp 0x1000f01d
push 0x101d208c
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1000ef55
cmp eax, 0x2f
jne 0x1000ef55
push 0x101d2088
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1000ef55
push 0x101d208c
push esi
call ebp
push edi
push esi
call ebp
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000f01d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000f01d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x1000ef8e
cmp eax, 0xce
jne 0x1000f03b
cmp dword [esp + 0x14], 0
je 0x1000f03b
sub esp, 0xc
mov dword [esp + 0x44], 0
mov ecx, esp
xorps xmm0, xmm0
movq qword [esp + 0x3c], xmm0
push esi
mov dword [ecx], 0x101d1eb4
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.100100c0
lea ecx, [esp + 0x3c]
call fcn.1000e3f0
mov edi, dword [esp + 0x3c]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000eff0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1000f062
test edi, edi
je 0x1000f005
cmp edi, 0x101d1eb4
je 0x1000f005
push edi
call fcn.10146720
add esp, 4
mov dword [esp + 0x30], 0x101d1eb4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
push 0
call fcn.1014d8d5
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000ee70
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x1000f081
call ebp
xor ebp, ebp
mov ecx, 0xa0000034
test eax, eax
cmove eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x1000f086
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
test edi, edi
je 0x1000f041
cmp edi, 0x101d1eb4
je 0x1000f041
push edi
call fcn.10146720
add esp, 4
jmp 0x1000f041
mov ebp, 1
push dword [esp + 0x10]
call fcn.10146720
push esi
call fcn.10146720
add esp, 8
jmp 0x1000f09c
xor ebp, ebp
test ebx, ebx
je 0x1000f0b1
cmp ebx, 0x101d1eb4
je 0x1000f0b1
push ebx
call fcn.10146720
add esp, 4
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10142783
add esp, 0x38
ret
mov ecx, dword [esp + 0x44]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10142783
add esp, 0x38
ret