Function at 0x10001540
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001ae70
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100223b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, 7
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
mov dword [ebp - 4], esi
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
mov word [ebp - 0x80], dx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
mov ecx, eax
mov byte [ebp - 4], 2
lea ebx, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, si
jne 0x100015a3
sub ecx, ebx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10004250
cmp dword [ebp - 0x1c], esi
jne 0x100015fa
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jb 0x100015d6
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1000935c
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x34], ebx
jb 0x100015f3
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.1000935c
add esp, 4
xor al, al
jmp 0x1000178a
lea edx, [ebp - 0x2c]
push edx
lea edi, [ebp - 0x84]
mov dword [ebp - 0x84], 0x5c
call fcn.10002570
cmp eax, 0xffffffff
jne 0x10001656
mov ebx, 8
cmp dword [ebp - 0x18], ebx
jb 0x1000162e
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1000935c
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], ebx
jb 0x100015f3
mov edx, dword [ebp - 0x48]
push edx
call fcn.1000935c
add esp, 4
xor al, al
jmp 0x1000178a
inc eax
push eax
xor ecx, ecx
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x2c]
call fcn.10001b60
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.10002440
mov ebx, 8
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], ebx
jb 0x10001690
mov eax, dword [ebp - 0x64]
push eax
call fcn.1000935c
add esp, 4
lea ecx, [ecx]
push 1
lea ecx, [ebp - 0x2c]
push ecx
call fcn.100024b0
cmp eax, 0xffffffff
je 0x1000170c
lea esi, [eax + 1]
push esi
xor ecx, ecx
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x2c]
call fcn.10001b60
push 0
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.10002840
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], ebx
jb 0x100016d8
mov edx, dword [ebp - 0x64]
push edx
call fcn.1000935c
add esp, 4
push 0xffffffffffffffff
mov ecx, esi
lea eax, [ebp - 0x64]
lea edx, [ebp - 0x2c]
call fcn.10001b60
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.10002440
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], ebx
jb 0x10001734
mov eax, dword [ebp - 0x64]
push eax
call fcn.1000935c
add esp, 4
jmp 0x10001734
push 0
lea ecx, [ebp - 0x2c]
push ecx
or eax, 0xffffffff
lea edi, [ebp - 0x48]
call fcn.10002840
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], ebx
jae 0x1000172f
lea eax, [ebp - 0x2c]
xor edx, edx
mov word [eax], dx
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], ebx
jae 0x1000173f
lea eax, [ebp - 0x48]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x1c], 0
jne 0x10001690
cmp dword [ebp - 0x18], ebx
jb 0x10001763
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1000935c
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x34], ebx
jb 0x10001788
mov edx, dword [ebp - 0x48]
push edx
call fcn.1000935c
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000934d
mov esp, ebp
pop ebp
ret