Function at 0x1000c920
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10110188
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1015e404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1000c963
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10002000
mov ecx, eax
test ecx, ecx
je 0x1000cb36
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
test esi, 0xffff0000
jne 0x1000c99a
movzx eax, si
lea ecx, [ebp + 8]
push eax
call fcn.1000c7e0
jmp 0x1000c9b3
mov ecx, esi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c9a0
sub ecx, edx
push ecx
push esi
lea ecx, [ebp + 8]
call fcn.1000d4a0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi - 0xc]
lea eax, [ecx - 1]
test eax, eax
js 0x1000cb4f
cmp eax, ecx
jg 0x1000cb4f
mov al, byte [eax + esi]
cmp al, 0x5c
je 0x1000cadf
push 0x5c
push esi
call fcn.100ed00b
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1000cafa
sub ebx, esi
js 0x1000cafa
cmp ebx, dword [esi - 0xc]
jl 0x1000ca14
lea ebx, [esi - 0x10]
push ebx
call fcn.1000c780
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
jmp 0x1000ca70
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x1000ca26
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x1000ca3c
call fcn.10002000
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x1000cb40
mov eax, dword [ecx]
push 1
push ebx
call dword [eax]
test eax, eax
je 0x1000cb4a
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
cmp ebx, dword [edi - 8]
jg 0x1000cb4f
push ebx
push esi
push ebx
mov dword [edi - 0xc], ebx
push edi
mov byte [edi + ebx], 0
call fcn.10008600
add esp, 0x10
lea ebx, [esi - 0x10]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], edx
cmp edx, ebx
je 0x1000cac6
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x1000cab4
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x1000cab4
push edx
call fcn.1000c780
add esp, 4
mov edi, eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x1000caac
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
lea esi, [edi + 0x10]
mov dword [ebp + 8], esi
jmp 0x1000cac3
push dword [edi - 0xc]
lea ecx, [ebp + 8]
push edi
call fcn.1000d4a0
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000cadf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExA]
test eax, eax
je 0x1000cafe
cmp eax, 0xb7
je 0x1000cafe
cmp eax, 0x50
je 0x1000cafe
xor edi, edi
jmp 0x1000cb03
mov edi, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000cb22
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100017c0
push 0x80004005
call fcn.100017c0
call fcn.10001b40
push 0x80070057
call fcn.100017c0
int3