Function at 0x100cbc80
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d0f0d
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x10205ac8]
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 edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x10], 0
jne 0x100cbcd7
test esi, esi
je 0x100cbf63
call fcn.100c7f60
mov dword [esi + 4], eax
xor al, al
mov dword [esi], 0x16
jmp 0x100cbf47
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100ca080
cmp dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
jne 0x100cbd01
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax], 0x2e
jne 0x100cbd01
mov bl, 1
jmp 0x100cbd03
xor bl, bl
mov dword [ebp - 4], 1
cmp ecx, 8
jb 0x100cbd1c
lea eax, [ecx + 1]
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.100744d0
mov dword [ebp - 4], 0xffffffff
test bl, bl
jne 0x100cbf0b
mov eax, dword [edi + 0x10]
cmp eax, 2
jb 0x100cbd8a
mov ecx, dword [edi + 0x14]
mov edx, edi
cmp ecx, 8
jb 0x100cbd3f
mov edx, dword [edi]
cmp word [edx + eax*2 - 2], 0x2e
jne 0x100cbd8a
mov edx, edi
cmp ecx, 8
jb 0x100cbd50
mov edx, dword [edi]
cmp word [edx + eax*2 - 4], 0x2e
jne 0x100cbd8a
cmp eax, 2
je 0x100cbf0b
mov edx, edi
cmp ecx, 8
jb 0x100cbd6a
mov edx, dword [edi]
movzx eax, word [edx + eax*2 - 6]
cmp eax, 0x2f
je 0x100cbf0b
cmp eax, 0x5c
je 0x100cbf0b
cmp eax, 0x3a
je 0x100cbf0b
mov dword [ebp - 0xc8], 0
call fcn.100c84a0
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0xd0]
push edi
push eax
call fcn.100cd660
add esp, 0xc
cmp dword [ebp - 0xd0], 3
jne 0x100cbdd8
test esi, esi
je 0x100cbdd1
mov dword [esi], 0
call fcn.100c84a0
mov dword [esi + 4], eax
xor al, al
jmp 0x100cbf47
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.100cacd0
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], 4
je 0x100cbe5a
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.100cd660
add esp, 0xc
cmp dword [ebp - 0xd0], 1
jne 0x100cbe5a
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100cbc80
mov ecx, dword [ebp - 0xc8]
add esp, 8
mov byte [ebp - 4], 4
test ecx, ecx
je 0x100cbe5a
test esi, esi
je 0x100cbfae
mov eax, dword [ebp - 0xc4]
mov dword [esi], ecx
lea ecx, [ebp - 0x40]
mov dword [esi + 4], eax
call fcn.10076f20
xor al, al
jmp 0x100cbf47
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100cbe64
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100cbe92
test esi, esi
je 0x100cbe83
mov dword [esi], 0
call fcn.100c84a0
mov dword [esi + 4], eax
lea ecx, [ebp - 0x40]
mov bl, 1
call fcn.10076f20
jmp 0x100cbf45
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0xd0], 0
call fcn.100c84a0
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0xd8]
push edi
push eax
call fcn.100cd660
add esp, 0xc
cmp dword [ebp - 0xd8], 3
jne 0x100cbeed
test esi, esi
je 0x100cbeff
mov dword [esi], 0
call fcn.100c84a0
lea ecx, [ebp - 0x40]
mov dword [esi + 4], eax
xor bl, bl
call fcn.10076f20
jmp 0x100cbf45
test esi, esi
je 0x100cbfef
call fcn.100c84a0
mov dword [esi], ebx
mov dword [esi + 4], eax
lea ecx, [ebp - 0x40]
xor bl, bl
call fcn.10076f20
jmp 0x100cbf45
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.100cacd0
push esi
push eax
mov dword [ebp - 4], 2
call fcn.100cbc80
add esp, 8
mov bl, al
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 3
cmp ecx, 8
jb 0x100cbf45
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.100744d0
mov al, bl
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.101b4a00
mov esp, ebp
pop ebp
ret
push 0x100461e4
lea ecx, [ebp - 0x28]
call fcn.1006aa60
lea eax, [ebp - 0xd8]
mov dword [ebp - 4], 0
push 0x16
push eax
call fcn.100ccf10
add esp, 8
lea ecx, [ebp - 0x8c]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.100cb6a0
push 0x101e90d8
lea eax, [ebp - 0x8c]
push eax
call fcn.101b5d27
push 0x100461e4
lea ecx, [ebp - 0x28]
call fcn.1006aa60
push dword [ebp - 0xc4]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100cb6a0
push 0x101e90d8
lea eax, [ebp - 0x8c]
push eax
call fcn.101b5d27
push 0x1004620c
lea ecx, [ebp - 0x58]
call fcn.1006aa60
mov byte [ebp - 4], 7
call fcn.100c84a0
push eax
push ebx
lea ecx, [ebp - 0xe0]
call fcn.1007b440
lea ecx, [ebp - 0xc0]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.100cb6a0
push 0x101e90d8
lea eax, [ebp - 0xc0]
push eax
call fcn.101b5d27
int3