Function at 0x10058280
Capabilities:
Create directory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100fc6f0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x1013306c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebx + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov ecx, edx
mov byte [ebp - 4], 1
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100582f5
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10004c40
mov ecx, 2
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x1c], ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x48], 0xf
cmovb ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
push eax
mov byte [ebp - 0x5c], 0
call fcn.10004c40
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x44]
call fcn.10007d20
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1005837b
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10058371
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100586b2
push edx
push ecx
call fcn.100713c7
add esp, 8
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 3
jb 0x100586b7
lea eax, [ecx - 3]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
add eax, 3
lea ecx, [ebp - 0x5c]
push eax
call fcn.10004c40
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10007d20
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x10058400
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100583ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100586bc
push edx
push ecx
call fcn.100713c7
add esp, 8
nop dword [eax]
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae esi, dword [ebp - 0x2c]
test eax, eax
je 0x10058428
push eax
push 0x5c
push esi
call fcn.100cde30
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10058428
sub edi, esi
jmp 0x1005842b
or edi, 0xffffffff
cmp dword [ebp - 0x1c], edi
lea eax, [ebp - 0x2c]
mov ecx, edi
mov dword [ebp - 0x64], 0
cmovb ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x74]
push eax
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.10004c40
push 0x5c
push 1
push 0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.10007ca0
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movups xmmword [ebp - 0x5c], xmm1
mov byte [eax], 0
movq qword [ebp - 0x4c], xmm0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
mov esi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x4c]
movd eax, xmm1
push ecx
cmovae edx, eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x30]
sub eax, esi
push edx
cmp ecx, eax
ja 0x100584dd
cmp dword [ebp - 0x30], 0x10
lea eax, [ecx + esi]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
add esi, eax
push esi
call fcn.100cd740
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [ebp - 0x78]
mov byte [eax + esi], 0
jmp 0x100584f0
mov byte [ebp - 0x7c], 0
push dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.10007100
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x10058527
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x1005851d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100586b2
push edx
push ecx
call fcn.100713c7
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x1005855f
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10058555
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100586b2
push edx
push ecx
call fcn.100713c7
add esp, 8
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
push 0
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.100ddbf4
mov esi, eax
add esp, 8
cmp esi, 0xffffffff
jne 0x10058590
cmp dword [ebp - 0x30], 0x10
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
push ecx
call fcn.100df10b
add esp, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [edi + 1]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, edx
jb 0x100586b7
mov eax, ecx
sub eax, edx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
add eax, edx
lea ecx, [ebp - 0x74]
push eax
call fcn.10004c40
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10058604
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100585fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100586b2
push edx
push ecx
call fcn.100713c7
add esp, 8
movups xmm0, xmmword [ebp - 0x74]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x1c], xmm0
test edi, edi
jns 0x10058400
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x1005864e
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10058644
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100586c1
push edx
push ecx
call fcn.100713c7
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x10058690
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10058686
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100586c6
push edx
push ecx
call fcn.100713c7
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 - 0x14]
xor ecx, ebp
call fcn.10070d87
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100d4798
call fcn.10008070
call fcn.100d4798
call fcn.100d4798
call fcn.100d4798
int3