Function at 0x1008d0b
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x1014ab0]
push ebx
mov ebx, dword [ebp + 0x94]
mov cl, byte [ebx]
push esi
mov dword [ebp + 0x88], eax
push edi
mov eax, ebx
jmp 0x1008d5c
cmp cl, 0x5c
je 0x1008d60
cmp cl, 0x2f
je 0x1008d60
cmp cl, 0x3a
jne 0x1008d4f
mov cl, byte [eax + 1]
cmp cl, 0x5c
je 0x1008d4f
cmp cl, 0x2f
jne 0x1008d60
push 0
push eax
push 0
call dword [sym.imp.USER32.dll_CharNextExA]
mov cl, byte [eax]
test cl, cl
jne 0x1008d33
mov byte [ebp - 0x78], 0
cmp byte [eax], 0
jne 0x1008d72
cmp dword [ebp + 0x98], 0
jne 0x1008d74
mov eax, ebx
cmp byte [eax], 0
je 0x1008e0c
mov cl, byte [eax]
test cl, cl
je 0x1008e0c
mov edi, eax
mov al, cl
xor esi, esi
cmp al, 0x5c
je 0x1008db5
cmp al, 0x2f
je 0x1008db5
cmp al, 0x3a
jne 0x1008da4
mov al, byte [edi + 1]
cmp al, 0x5c
je 0x1008da4
cmp al, 0x2f
jne 0x1008db5
push esi
push edi
push esi
call dword [sym.imp.USER32.dll_CharNextExA]
mov edi, eax
mov al, byte [edi]
test al, al
jne 0x1008d8d
mov al, byte [edi]
test al, al
jne 0x1008dc3
cmp dword [ebp + 0x98], esi
jne 0x1008e00
mov esi, edi
sub esi, ebx
test esi, esi
jle 0x1008dd6
cmp al, 0x3a
je 0x1008dd5
cmp byte [edi - 1], 0x3a
jne 0x1008dd6
inc esi
cmp esi, 0x100
jae 0x1008f53
push esi
lea eax, [ebp - 0x78]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_strncpy]
lea eax, [ebp - 0x78]
push eax
mov byte [ebp + esi - 0x78], 0
call dword [sym.imp.msvcrt.dll__mkdir]
add esp, 0x10
cmp byte [edi], 0
lea eax, [edi + 1]
jne 0x1008d7d
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008e12
sub eax, edx
mov dword [ebp + 0x98], eax
jne 0x1008e4a
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008e28
sub eax, edx
mov dword [ebp + 0x98], eax
je 0x1008e4a
mov al, byte [ebx]
cmp al, 0x5c
je 0x1008e43
cmp al, 0x2f
jne 0x1008e4a
mov byte [ebp - 0x78], al
mov byte [ebp - 0x77], 0
lea eax, [ebp - 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008e50
sub eax, edx
mov edx, eax
test edx, edx
mov dword [ebp + 0x94], edx
jle 0x1008e71
lea eax, [ebp + edx - 0x79]
push eax
call fcn.01008c39
add edx, eax
and dword [ebp - 0x7c], 0
and dword [ebp + 0x98], 0
mov esi, dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [sym.imp.msvcrt.dll___doserrno]
mov dword [ebp - 0x80], 0x100
sub dword [ebp - 0x80], edx
lea ebx, [ebp + edx - 0x78]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add eax, dword [ebp + 0x98]
push eax
push 0x10030b0
push dword [ebp - 0x80]
push ebx
call fcn.01008ce4
push 0x180
lea eax, [ebp - 0x78]
push 0x502
push eax
call dword [sym.imp.msvcrt.dll__open]
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x1009019
call esi
mov eax, dword [eax]
sub eax, 0xd
je 0x1008f63
sub eax, 4
je 0x1008f70
sub eax, 5
jne 0x1008fcd
call edi
cmp dword [eax], 0x12f
je 0x1008f70
call edi
mov ebx, eax
call esi
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx]
mov eax, dword [ebp - 0x7c]
push dword [eax]
lea eax, [ebp - 0x78]
push eax
push 0x1003068
call dword [sym.imp.msvcrt.dll_printf]
mov eax, dword [ebp + 0x94]
mov byte [ebp + eax - 0x78], 0
call edi
mov edi, eax
call esi
push dword [edi]
push dword [eax]
lea eax, [ebp - 0x78]
push eax
push 0x100305c
push 0x1003048
push dword [ebp + 0x9c]
call fcn.010087a6
add esp, 0x2c
jmp 0x1008fb3
push ebx
push 0x1001850
push 0x1002680
jmp 0x1009009
inc dword [ebp - 0x7c]
cmp dword [ebp - 0x7c], 5
jge 0x1008ff0
inc dword [ebp + 0x98]
cmp dword [ebp + 0x98], 0x3e7
jl 0x1008e96
mov eax, dword [ebp + 0x94]
mov byte [ebp + eax - 0x78], 0
lea eax, [ebp - 0x78]
push eax
push dword [ebp + 0x98]
push 0x10018b0
push 0x1003014
push dword [ebp + 0x9c]
call fcn.010087a6
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
pop ebx
call fcn.0100c7cd
add ebp, 0x8c
leave
ret 0xc
dec eax
dec eax
jne 0x1008efa
mov eax, dword [ebp + 0x94]
mov byte [ebp + eax - 0x78], 0
lea eax, [ebp - 0x78]
push eax
push 0x1001850
push 0x1002ff8
jmp 0x1009009
mov eax, dword [ebp + 0x94]
mov byte [ebp + eax - 0x78], 0
lea eax, [ebp - 0x78]
push eax
push 0x1001850
push 0x1002fd0
push dword [ebp + 0x9c]
call fcn.010087a6
add esp, 0x10
jmp 0x1008fb3
push eax
call dword [sym.imp.msvcrt.dll__close]
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.msvcrt.dll__unlink]
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1008fb5