Function at 0x10014d80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f050
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100b5070]
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 esi, ecx
call fcn.10007250
test al, al
je 0x10014dbd
xor al, al
jmp 0x10015093
mov ecx, esi
call fcn.10014a90
test al, al
je 0x10014dcf
mov al, 1
jmp 0x10015093
push 0
mov ecx, esi
call fcn.10007260
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call ebx
test eax, eax
jne 0x10014e6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.10021ab0
test al, al
je 0x10014e1b
push 0
lea ecx, [ebp - 0x28]
call fcn.10007260
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10014e5c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014e52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100150af
push edx
push ecx
call fcn.100419a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x18], eax
mov ecx, esi
call fcn.10014a90
test al, al
jne 0x10014dc8
mov ecx, esi
call fcn.100076a0
xor edi, edi
mov dword [ebp - 0x44], eax
test eax, eax
je 0x10014fe6
nop
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x10014e9c
mov eax, dword [esi]
mov edx, 0x2f
cmp dx, word [eax + edi*2]
mov edx, 0x5c
je 0x10014ebf
mov eax, esi
cmp ecx, 8
jb 0x10014eb5
mov eax, dword [esi]
cmp dx, word [eax + edi*2]
jne 0x10014fdc
push edi
push 0
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10013140
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.10007250
test al, al
jne 0x10014f8b
lea ecx, [ebp - 0x28]
call fcn.10014820
test al, al
jne 0x10014f8b
push 0
lea ecx, [ebp - 0x28]
call fcn.10007260
push eax
call ebx
test eax, eax
jne 0x10014f8b
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.10021ab0
test al, al
je 0x10014f3d
push 0
lea ecx, [ebp - 0x40]
call fcn.10007260
push eax
call ebx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x10014f7b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014f71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100150af
push edx
push ecx
call fcn.100419a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10014fcc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10014fc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100150af
push edx
push ecx
call fcn.100419a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
inc edi
cmp edi, dword [ebp - 0x44]
jb 0x10014e90
mov ecx, esi
call fcn.10014820
test al, al
jne 0x1001508c
push 0
mov ecx, esi
call fcn.10007260
push eax
call ebx
test eax, eax
jne 0x1001508c
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 3
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.10021ab0
test al, al
je 0x1001503f
push 0
lea ecx, [ebp - 0x40]
call fcn.10007260
push eax
call ebx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1001507c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10015072
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100150b4
push edx
push ecx
call fcn.100419a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x30], eax
mov ecx, esi
call fcn.10014a90
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.10041566
mov esp, ebp
pop ebp
ret
call fcn.1004e0a8
call fcn.1004e0a8
int3