Function at 0x1008e3d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101e9693
mov eax, dword fs:[0]
push eax
sub esp, 0x6ac
mov eax, dword [0x102683e0]
xor eax, esp
mov dword [esp + 0x6a4], eax
push ebx
push esi
mov eax, dword [0x102683e0]
xor eax, esp
push eax
lea eax, [esp + 0x6b8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x1008e41f
xor al, al
jmp 0x1008e7e5
xor eax, eax
mov dword [esp + 0x88], 7
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x80]
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
call fcn.100040d0
mov dword [esp + 0x6c0], 0
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x1008e465
mov esi, dword [esi]
cmp word [esi + eax*2 - 2], 0x5c
je 0x1008e4b8
push 0x102285e4
lea ecx, [esp + 0x90]
call fcn.100031d0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x6cc], 1
call fcn.10004000
mov byte [esp + 0x6c0], 0
cmp dword [esp + 0xa0], 8
jb 0x1008e4b8
push dword [esp + 0x8c]
call fcn.101a02f0
add esp, 4
cmp dword [esp + 0x88], 8
lea ecx, [esp + 0x2ac]
push 0x100
push ecx
push 0x100
lea ecx, [esp + 0x4b8]
push ecx
push 0x100
lea ecx, [esp + 0xc0]
push ecx
push 3
lea ecx, [esp + 0xc0]
lea eax, [esp + 0x90]
cmovae eax, dword [esp + 0x90]
push ecx
push eax
call fcn.101ad771
add esp, 0x24
lea ecx, [esp + 0x28]
push 0x102285e4
call fcn.100031d0
mov esi, eax
lea eax, [esp + 0xa4]
mov byte [esp + 0x6c0], 2
push eax
lea ecx, [esp + 0x14]
call fcn.100031d0
push esi
mov edx, eax
mov byte [esp + 0x6c4], 3
lea ecx, [esp + 0x60]
call fcn.10096820
add esp, 4
cmp dword [esp + 0x24], 8
jb 0x1008e55c
push dword [esp + 0x10]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
mov byte [esp + 0x6c0], 6
cmp dword [esp + 0x3c], 8
jb 0x1008e58e
push dword [esp + 0x28]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
mov word [esp + 0x28], ax
lea ecx, [esp + 0x44]
lea eax, [esp + 0xac]
mov dword [esp + 0x38], 0
push eax
call fcn.100031d0
lea eax, [esp + 0x5c]
mov byte [esp + 0x6c0], 7
push eax
call fcn.1008e2a0
add esp, 4
test al, al
je 0x1008e777
cmp dword [esp + 0x54], 0
je 0x1008e777
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x44]
mov edx, dword [esp + 0x44]
cmp ecx, 8
cmovae eax, edx
cmp word [eax], 0x5c
jne 0x1008e60f
cmp ecx, 8
lea eax, [esp + 0x44]
lea ecx, [esp + 0x44]
cmovae eax, edx
push eax
lea eax, [esp + 0x44]
push eax
call fcn.1005d300
push 1
push 0
push 0x102285e4
lea ecx, [esp + 0x50]
call fcn.10067db0
mov esi, eax
cmp esi, 0xffffffff
je 0x1008e767
lea esp, [esp]
push esi
push 0
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x50]
call fcn.10007c70
lea eax, [esi + 1]
mov byte [esp + 0x6c0], 8
push eax
push 0
lea ecx, [esp + 0x4c]
call fcn.100043f0
push 1
xor eax, eax
mov dword [esp + 0x28], 7
push 0x102285e4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.10003c10
lea eax, [esp + 0x10]
mov byte [esp + 0x6c0], 9
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x2c]
call fcn.1001ee20
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x6cc], 0xa
call fcn.10004000
cmp dword [esp + 0x3c], 8
jb 0x1008e6cb
push dword [esp + 0x28]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov byte [esp + 0x6c0], 8
cmp dword [esp + 0x24], 8
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
jb 0x1008e6fd
push dword [esp + 0x10]
call fcn.101a02f0
add esp, 4
lea eax, [esp + 0x5c]
push eax
call fcn.1008e2a0
add esp, 4
test al, al
jne 0x1008e729
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
cmovae eax, dword [esp + 0x5c]
push eax
call fcn.101ad96b
add esp, 4
test eax, eax
jne 0x1008e76b
push 1
push 0
push 0x102285e4
lea ecx, [esp + 0x50]
call fcn.10067db0
mov byte [esp + 0x6c0], 7
mov esi, eax
cmp dword [esp + 0xa0], 8
jb 0x1008e75e
push dword [esp + 0x8c]
call fcn.101a02f0
add esp, 4
cmp esi, 0xffffffff
jne 0x1008e630
mov bl, 1
jmp 0x1008e779
lea ecx, [esp + 0x8c]
call fcn.100032a0
xor bl, bl
cmp dword [esp + 0x58], 8
jb 0x1008e78c
push dword [esp + 0x44]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
cmp dword [esp + 0x70], 8
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
jb 0x1008e7b6
push dword [esp + 0x5c]
call fcn.101a02f0
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
cmp dword [esp + 0x88], 8
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], ax
jb 0x1008e7e3
push dword [esp + 0x74]
call fcn.101a02f0
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x6b8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x6a4]
xor ecx, esp
call fcn.101a0193
mov esp, ebp
pop ebp
ret