Function at 0x101c7f50
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10242eed
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x102e91c0]
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
xor esi, esi
mov dword [ebp - 0x60], esi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
call fcn.101c84e0
add esp, 4
test al, al
je 0x101c8190
lea eax, [ebp - 0x58]
push eax
call fcn.101c85c0
add esp, 4
test al, al
je 0x101c8190
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
lea ebx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
add edx, dword [ebp - 0x30]
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x5c], edx
cmovae ebx, dword [ebp - 0x40]
xor eax, eax
mov dword [ebp - 0x28], eax
cmp ebx, edx
jne 0x101c800e
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x101c80a2
mov ecx, dword [ebp - 0x5c]
xor edx, edx
sub ecx, ebx
mov dword [ebp - 0x18], edx
mov esi, 7
mov dword [ebp - 0x14], esi
cmp ecx, 0x7ffffffe
ja 0x101c8250
cmp ecx, 8
jb 0x101c8064
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x101c8045
mov esi, SysReAllocString
jmp 0x101c804f
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.1000b000
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x5c]
cmp esi, 8
lea ecx, [ebp - 0x28]
cmovae ecx, eax
movsx ax, byte [ebx]
inc ebx
movzx eax, ax
mov word [ecx + edx*2], ax
mov edx, dword [ebp - 0x18]
inc edx
mov dword [ebp - 0x18], edx
cmp ebx, edi
je 0x101c808f
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x28]
jmp 0x101c8067
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
xor edi, edi
mov word [eax + edx*2], cx
push 1
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
mov ecx, esp
push eax
call fcn.10030060
call fcn.101c7db0
mov esi, eax
add esp, 0x1c
mov dword [ebp - 0x60], esi
test esi, esi
je 0x101c813a
lea eax, [ebp - 0x40]
push eax
call fcn.101c9030
add esp, 4
test al, al
je 0x101c80f1
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x101c8184
push 0
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.10030060
call fcn.101c7db0
mov edi, eax
add esp, 0x1c
mov dword [ebp - 0x64], edi
test edi, edi
je 0x101c813a
lea eax, [ebp - 0x58]
push eax
call fcn.101c9030
add esp, 4
test al, al
je 0x101c813a
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.101ef28f
add esp, 4
test eax, eax
jne 0x101c8184
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 6
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.101ef000
add esp, 8
test eax, eax
jne 0x101c8184
lea eax, [ebp - 0x40]
push eax
call fcn.101c9030
add esp, 4
test al, al
jne 0x101c8184
lea ecx, [ebp - 0x28]
mov bl, 1
call fcn.1000ae30
jmp 0x101c8192
lea ecx, [ebp - 0x28]
xor bl, bl
call fcn.1000ae30
jmp 0x101c8192
xor bl, bl
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x101c81c6
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101c81bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101c8255
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x101c8208
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101c81fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101c8255
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
test edi, edi
je 0x101c822b
push edi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x101c8232
push esi
call eax
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.101cff65
mov esp, ebp
pop ebp
ret
call fcn.1000a360
call fcn.101dc0ba
int3