Function at 0x100bab20
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018e993
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
mov eax, dword [0x101e3b74]
and eax, 1
jne 0x100babad
mov ecx, dword [0x101e3b74]
or ecx, 1
mov dword [0x101e3b74], ecx
mov dword [ebp - 4], 1
lea edx, [ebp - 0x59]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0xb4], 0x101e3b58
mov byte [ebp - 4], 2
push 0
push 0
mov ecx, 0x101e3b58
call fcn.10085cf0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
push 0x1019f5e0
call fcn.1014c847
add esp, 4
mov byte [ebp - 4], 0
movzx eax, byte [0x101e3b54]
test eax, eax
jne 0x100bac4b
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.100ba310
add esp, 8
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
mov dword [ebp - 0x60], edx
mov dword [ebp - 4], 4
mov eax, dword [0x101a1a18]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
mov ecx, 0x101e3b58
call fcn.10085bd0
mov dword [ebp - 4], 5
mov dword [ebp - 4], 6
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10085cf0
mov byte [ebp - 4], 0
xor edx, edx
cmp dword [0x101e3b68], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x100bac44
call fcn.10149a80
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
push edx
push str.TEMP
mov ecx, 0x101e3b58
call fcn.100c1d40
mov byte [0x101e3b54], 1
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100bad7a
xor ecx, ecx
cmp dword [0x101e3b68], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x100bad7a
push 0
push 0x101e3b58
lea eax, [ebp - 0x68]
push eax
call fcn.1014abe0
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x6c], 0
je 0x100bac9e
cmp dword [ebp - 0x6c], 1
je 0x100bac9e
mov dword [ebp - 0xbc], 1
jmp 0x100baca8
mov dword [ebp - 0xbc], 0
movzx edx, byte [ebp - 0xbc]
test edx, edx
jne 0x100bad7a
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x101e3b58
call fcn.100c2030
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 4], 7
mov edx, dword [ebp - 0x70]
cmp dword [edx + 0x14], 0x10
jb 0x100bacf1
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
jmp 0x100bacfa
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0xc4], edx
push 0
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x49], al
mov dword [ebp - 4], 8
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.10042350
mov byte [ebp - 4], 0
movzx ecx, byte [ebp - 0x49]
test ecx, ecx
je 0x100bad7a
xor edx, edx
mov word [ebp - 0x82], dx
mov dword [0x101e3b68], 0
cmp dword [0x101e3b6c], 8
jb 0x100bad5b
mov eax, dword [0x101e3b58]
mov dword [ebp - 0xc8], eax
jmp 0x100bad65
mov dword [ebp - 0xc8], 0x101e3b58
xor ecx, ecx
shl ecx, 1
mov edx, dword [ebp - 0xc8]
mov ax, word [ebp - 0x82]
mov word [edx + ecx], ax
lea ecx, [ebp - 0x8d]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0xcc], edx
mov dword [ebp - 4], 9
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.10085cf0
mov eax, dword [0x101a1a18]
push eax
push 0
push 0x101e3b58
mov ecx, dword [ebp + 8]
call fcn.10085bd0
mov dword [ebp - 4], 0xa
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
or ecx, 1
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret