Function at 0x10013f50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058400
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x100754f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013fa0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.10006ee0
mov esi, dword [ebp - 0x18]
mov dword [ebp - 4], 0
lea ecx, [esi - 1]
cmp esi, ecx
jbe 0x100142ea
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmovae eax, edx
cmp word [eax + ecx*2], 0x5c
je 0x10013ff7
push 1
push 0x1005b4f8
lea ecx, [ebp - 0x28]
call fcn.10006c70
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x14], 8
lea edi, [ebp - 0x28]
mov byte [ebp - 4], 1
cmovae edi, edx
test esi, esi
je 0x1001408e
push 0x100
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.100365a0
add esp, 0xc
lea ecx, [ebp - 0x158]
push 0x1005b4fa
push 0x1005b4f8
call fcn.100167d0
test al, al
mov eax, edi
jne 0x100141f6
lea ecx, [edi + esi*2]
cmp edi, ecx
jae 0x1001408e
nop dword [eax + eax]
movzx esi, word [eax]
mov edx, 1
mov ecx, 0x1005b4f8
nop dword [eax]
cmp word [ecx], si
je 0x10014224
add ecx, 2
sub edx, 1
jne 0x10014070
mov edx, dword [ebp - 0x18]
add eax, 2
lea ecx, [edi + edx*2]
cmp eax, ecx
jb 0x10014060
or eax, 0xffffffff
cmp eax, 0xffffffff
je 0x100141b1
mov edx, dword [ebp - 0x18]
nop dword [eax]
xor ecx, ecx
mov dword [ebp - 0x48], 0
lea esi, [eax + 1]
mov word [ebp - 0x58], cx
cmp edx, esi
mov dword [ebp - 0x44], 7
mov ecx, esi
lea eax, [ebp - 0x28]
cmovb ecx, edx
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
call fcn.10006ee0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1001410d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014103
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100142ef
push edx
push ecx
call fcn.10033b8a
add esp, 8
movups xmm1, xmmword [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x40]
movq xmm0, qword [ebp - 0x48]
movd eax, xmm1
push 0
movups xmmword [ebp - 0x40], xmm1
cmovae ecx, eax
movq qword [ebp - 0x30], xmm0
push ecx
call fcn.1003ed40
add esp, 8
test eax, eax
je 0x10014158
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.1003ed16
add esp, 4
test eax, eax
jne 0x10014272
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
mov dword [ebp - 0x160], ecx
cmp edx, 1
jb 0x100141a5
lea eax, [edx - 1]
cmp esi, eax
ja 0x100141a5
lea edx, [ecx + edx*2]
mov dword [ebp - 0x15c], edx
lea eax, [ecx + esi*2]
mov ecx, edx
sub ecx, eax
sar ecx, 1
je 0x100141a2
nop dword [eax]
cmp word [eax], 0x5c
je 0x1001422d
add eax, 2
sub ecx, 1
jne 0x10014190
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x100140a0
mov esi, 1
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
cmp edx, 8
jb 0x10014286
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014279
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100142ef
jmp 0x10014279
lea edx, [edi + esi*2]
cmp edi, edx
jae 0x1001408e
mov esi, 0x100
movzx ecx, word [eax]
cmp cx, si
jae 0x10014218
cmp byte [ebp + ecx - 0x158], 0
jne 0x10014224
add eax, 2
cmp eax, edx
jb 0x10014206
jmp 0x1001408e
sub eax, edi
sar eax, 1
jmp 0x10014091
test eax, eax
je 0x100141a2
mov edx, 0x1005b4f8
mov edi, eax
mov esi, 1
sub edi, edx
mov cx, word [edi + edx]
cmp cx, word [edx]
jne 0x10014264
add edx, 2
sub esi, 1
jne 0x10014243
sub eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x18]
sar eax, 1
jmp 0x100141a8
mov edx, dword [ebp - 0x15c]
add eax, 2
jmp 0x10014184
xor esi, esi
jmp 0x100141b6
push edx
push ecx
call fcn.10033b8a
mov edi, dword [ebp - 0x28]
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 7
cmp eax, 8
jb 0x100142cd
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x100142c3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100142f4
push ecx
push edi
call fcn.10033b8a
add esp, 8
mov eax, esi
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.10033ba6
mov esp, ebp
pop ebp
ret
call fcn.10008c40
call fcn.100392dc
call fcn.100392dc
int3