Function at 0x100e434
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [sym.imp.USER32.dll_CharNextExA]
push esi
push edi
mov edi, dword [ebp + 8]
mov cl, byte [edi]
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x11c], edi
mov eax, edi
jmp 0x100e48f
cmp cl, 0x5c
je 0x100e493
cmp cl, 0x2f
je 0x100e493
cmp cl, 0x3a
jne 0x100e486
mov cl, byte [eax + 1]
cmp cl, 0x5c
je 0x100e486
cmp cl, 0x2f
jne 0x100e493
push 0
push eax
push 0
call ebx
mov cl, byte [eax]
test cl, cl
jne 0x100e46a
mov byte [ebp - 0x104], 0
cmp byte [eax], 0
jne 0x100e4a5
cmp dword [ebp + 0xc], 0
jne 0x100e4a7
mov eax, edi
cmp byte [eax], 0
je 0x100e535
mov cl, byte [eax]
test cl, cl
je 0x100e535
mov esi, eax
mov al, cl
cmp al, 0x5c
je 0x100e4e0
cmp al, 0x2f
je 0x100e4e0
cmp al, 0x3a
jne 0x100e4d1
mov al, byte [esi + 1]
cmp al, 0x5c
je 0x100e4d1
cmp al, 0x2f
jne 0x100e4e0
push 0
push esi
push 0
call ebx
mov esi, eax
mov al, byte [esi]
test al, al
jne 0x100e4ba
mov cl, byte [esi]
test cl, cl
jne 0x100e4ec
cmp dword [ebp + 0xc], 0
jne 0x100e529
mov eax, esi
sub eax, edi
test eax, eax
jle 0x100e500
cmp cl, 0x3a
je 0x100e4ff
cmp byte [esi - 1], 0x3a
jne 0x100e500
inc eax
push eax
push edi
push 0x100
lea eax, [ebp - 0x104]
push eax
call fcn.0100e3e7
test eax, eax
jl 0x100e6bb
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.msvcrt.dll__mkdir]
pop ecx
cmp byte [esi], 0
lea eax, [esi + 1]
jne 0x100e4b0
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100e53e
sub eax, edx
jne 0x100e570
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100e54e
sub eax, edx
je 0x100e570
mov al, byte [edi]
cmp al, 0x5c
je 0x100e563
cmp al, 0x2f
jne 0x100e570
mov byte [ebp - 0x104], al
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100e579
sub eax, edx
mov edx, eax
mov dword [ebp - 0x114], edx
test edx, edx
jle 0x100e5a9
cmp edx, 0xfe
ja 0x100e6bb
lea eax, [ebp + edx - 0x105]
push eax
call fcn.0100e392
add edx, eax
and dword [ebp - 0x110], 0
and dword [ebp - 0x10c], 0
mov esi, dword [sym.imp.msvcrt.dll__errno]
mov edi, dword [sym.imp.msvcrt.dll___doserrno]
mov dword [ebp - 0x118], 0x100
sub dword [ebp - 0x118], edx
lea ebx, [ebp + edx - 0x104]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add eax, dword [ebp - 0x10c]
push eax
push 0x100e880
push dword [ebp - 0x118]
push ebx
call fcn.0100130c
add esp, 0x10
test eax, eax
jl 0x100e771
push 0x180
lea eax, [ebp - 0x104]
push 0x502
push eax
call dword [sym.imp.msvcrt.dll__open]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x100e7a0
call esi
mov eax, dword [eax]
sub eax, 0xd
je 0x100e6d6
sub eax, 4
je 0x100e6e9
sub eax, 5
jne 0x100e745
call edi
cmp dword [eax], 0x12f
je 0x100e6e9
call edi
mov ebx, eax
call esi
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebx]
mov eax, dword [ebp - 0x11c]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
push 0x100e838
call dword [sym.imp.msvcrt.dll_printf]
mov eax, dword [ebp - 0x114]
mov byte [ebp + eax - 0x104], 0
call edi
mov edi, eax
call esi
push dword [edi]
push dword [eax]
lea eax, [ebp - 0x104]
push eax
push 0x100e830
push 0x100e81c
push dword [ebp - 0x108]
call fcn.01006f95
add esp, 0x2c
jmp 0x100e732
push edi
push 0x1004fb0
push 0x100a73c
push dword [ebp - 0x108]
call fcn.01006f95
add esp, 0x10
jmp 0x100e732
inc dword [ebp - 0x110]
cmp dword [ebp - 0x110], 5
jge 0x100e77c
inc dword [ebp - 0x10c]
cmp dword [ebp - 0x10c], 0x3e7
jl 0x100e5da
mov eax, dword [ebp - 0x114]
mov byte [ebp + eax - 0x104], 0
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x10c]
push 0x100a554
push 0x100e7e8
push dword [ebp - 0x108]
call fcn.01006f95
add esp, 0x14
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010026ce
leave
ret 0xc
dec eax
dec eax
jne 0x100e653
mov eax, dword [ebp - 0x114]
mov byte [ebp + eax - 0x104], 0
lea eax, [ebp - 0x104]
push eax
push 0x1004fb0
push 0x100a7b8
jmp 0x100e6c6
push dword [ebp - 0x11c]
jmp 0x100e6bc
mov eax, dword [ebp - 0x114]
mov byte [ebp + eax - 0x104], 0
lea eax, [ebp - 0x104]
push eax
push 0x1004fb0
push 0x100e7c0
jmp 0x100e6c6
push eax
call dword [sym.imp.msvcrt.dll__close]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.msvcrt.dll__unlink]
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x100e734