Function at 0x100badf0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ea33
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x101d8724]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
mov eax, dword [0x101e3b98]
and eax, 1
jne 0x100bae7e
mov ecx, dword [0x101e3b98]
or ecx, 1
mov dword [0x101e3b98], ecx
mov dword [ebp - 4], 1
lea edx, [ebp - 0x59]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0xb4], 0x101e3b7c
mov byte [ebp - 4], 2
push 0
push 0
mov ecx, 0x101e3b7c
call fcn.10085cf0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
push 0x1019f640
call fcn.1014c847
add esp, 4
mov byte [ebp - 4], 0
movzx eax, byte [0x101e3b78]
test eax, eax
jne 0x100baf4a
mov ecx, 0x12
shl ecx, 2
mov edx, dword [0x101db5fc]
mov eax, dword [0x101db5fc]
mov esi, dword [0x101db5fc]
mov esi, dword [esi + 0x6c]
xor esi, dword [eax + 0x64]
xor esi, dword [edx + ecx]
and esi, 0x20000
je 0x100baf4a
push 1
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, 0x101e3b7c
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 [0x101e3b8c], 0
sete dl
movzx eax, dl
test eax, eax
jne 0x100baf43
call fcn.10149a80
mov ecx, dword [eax]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
push edx
push str.Licenses
mov ecx, 0x101e3b7c
call fcn.100c1d40
mov byte [0x101e3b78], 1
xor eax, eax
cmp dword [0x101e3b8c], 0
sete al
movzx ecx, al
test ecx, ecx
jne 0x100bb06e
push 0
push 0x101e3b7c
lea edx, [ebp - 0x68]
push edx
call fcn.1014abe0
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x100baf91
cmp dword [ebp - 0x6c], 1
je 0x100baf91
mov dword [ebp - 0xbc], 1
jmp 0x100baf9b
mov dword [ebp - 0xbc], 0
movzx ecx, byte [ebp - 0xbc]
test ecx, ecx
jne 0x100bb06e
lea edx, [ebp - 0x48]
push edx
mov ecx, 0x101e3b7c
call fcn.100c2030
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 0x14], 0x10
jb 0x100bafe4
mov edx, dword [ebp - 0x70]
mov eax, dword [edx]
mov dword [ebp - 0xc4], eax
jmp 0x100bafed
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xc4], ecx
push 0
mov edx, dword [ebp - 0xc4]
push edx
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 eax, byte [ebp - 0x49]
test eax, eax
je 0x100bb06e
xor ecx, ecx
mov word [ebp - 0x82], cx
mov dword [0x101e3b8c], 0
cmp dword [0x101e3b90], 8
jb 0x100bb04f
mov edx, dword [0x101e3b7c]
mov dword [ebp - 0xc8], edx
jmp 0x100bb059
mov dword [ebp - 0xc8], 0x101e3b7c
xor eax, eax
shl eax, 1
mov ecx, dword [ebp - 0xc8]
mov dx, word [ebp - 0x82]
mov word [ecx + eax], dx
lea eax, [ebp - 0x8d]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 4], 9
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.10085cf0
mov edx, dword [0x101a1a18]
push edx
push 0
push 0x101e3b7c
mov ecx, dword [ebp + 8]
call fcn.10085bd0
mov dword [ebp - 4], 0xa
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014c68a
mov esp, ebp
pop ebp
ret