Function at 0x10005160
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005725b
mov eax, dword fs:[0]
push eax
sub esp, 0x52c
mov eax, dword [0x100b9184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x70]
call fcn.10008cc0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.10008cc0
push 0x50
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.100311d0
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
push 0
cmovae eax, dword [ebp - 0x70]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.1000d660
add esp, 0x18
test eax, eax
je 0x10005497
lea eax, [ebp - 0xc0]
push eax
call fcn.1000d640
mov edi, eax
add esp, 4
test edi, edi
je 0x10005497
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.1000d5f0
add esp, 0xc
test eax, eax
jne 0x10005232
lea eax, [ebp - 0xc0]
push eax
call fcn.1000cab0
add esp, 4
jmp 0x10005497
xor esi, esi
test edi, edi
jle 0x1000547d
nop dword [eax]
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.1000d5f0
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.1000d8d0
mov ecx, dword [ebp - 0x18]
add esp, 0x14
test eax, eax
mov eax, 0x7fffffff
je 0x1000535b
sub eax, ecx
cmp eax, 1
jb 0x100055fe
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x1006cf6c
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x520]
lea ecx, [ebp - 0x538]
call fcn.1000b7b0
lea eax, [ebp - 0x4c8]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x538]
call fcn.10008b40
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x524]
cmp ecx, 0x10
jb 0x10005333
mov edx, dword [ebp - 0x538]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005329
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005603
push ecx
push edx
call fcn.1002f2e4
add esp, 8
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1003d53a
mov ecx, dword [ebp - 0x44]
add esp, 4
cmp ecx, 0x10
jb 0x10005474
mov edx, dword [ebp - 0x58]
jmp 0x1000544b
sub eax, ecx
cmp eax, 1
jb 0x100055fe
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push 0x1006cf6c
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x520]
lea ecx, [ebp - 0x538]
call fcn.1000b7b0
lea eax, [ebp - 0x4c8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x538]
call fcn.10008b40
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x524]
cmp ecx, 0x10
jb 0x1000541a
mov edx, dword [ebp - 0x538]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005410
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005603
push ecx
push edx
call fcn.1002f2e4
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.1000d4a0
add esp, 0x10
test eax, eax
je 0x10005586
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x10005474
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000546a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005603
push ecx
push edx
call fcn.1002f2e4
add esp, 8
inc esi
cmp esi, edi
jl 0x10005240
lea eax, [ebp - 0xc0]
push eax
call fcn.1000cab0
add esp, 4
mov byte [ebp - 0x519], 1
test eax, eax
jne 0x1000549e
mov byte [ebp - 0x519], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x100054d2
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100054c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055f9
push ecx
push edx
call fcn.1002f2e4
add esp, 8
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x10005506
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100054fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055f9
push ecx
push edx
call fcn.1002f2e4
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp ecx, 0x10
jb 0x1000554c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10005542
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055f9
push ecx
push edx
call fcn.1002f2e4
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0x10
jb 0x100055d8
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100055ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100055f9
jmp 0x100055ce
lea eax, [ebp - 0xc0]
push eax
call fcn.1000cab0
mov ecx, dword [ebp - 0x2c]
add esp, 4
cmp ecx, 0x10
jb 0x10005497
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100055bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005603
push ecx
push edx
call fcn.1002f2e4
add esp, 8
jmp 0x10005497
push ecx
push edx
call fcn.1002f2e4
add esp, 8
mov al, byte [ebp - 0x519]
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.1002f2d6
mov esp, ebp
pop ebp
ret
call fcn.1003cef3
call fcn.10001570
call fcn.1003cef3
int3