Function at 0x100dd090
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101910e1
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
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 - 0x228], 0
mov eax, dword [0x101e5624]
and eax, 1
jne 0x100dd126
mov ecx, dword [0x101e5624]
or ecx, 1
mov dword [0x101e5624], ecx
mov dword [ebp - 4], 1
lea edx, [ebp - 0x231]
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x304], 0x101e5608
mov byte [ebp - 4], 2
push 0
push 0
mov ecx, 0x101e5608
call fcn.10085cf0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
push 0x1019f710
call fcn.1014c847
add esp, 4
mov byte [ebp - 4], 0
movzx eax, byte [0x101e5604]
test eax, eax
jne 0x100dd333
mov cx, word [0x101a0fe4]
mov word [ebp - 0x21c], cx
push 0x206
push 0
lea edx, [ebp - 0x21a]
push edx
call fcn.1014e270
add esp, 0xc
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x220], eax
push str.SHGetSpecialFolderPathW
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
je 0x100dd1d6
push 1
push 0x23
lea ecx, [ebp - 0x21c]
push ecx
push 0
call dword [ebp - 0x224]
test eax, eax
je 0x100dd1d6
lea edx, [ebp - 0x21c]
push edx
mov ecx, 0x101e5608
call fcn.100dde40
call fcn.10149a80
mov eax, dword [eax]
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x27c]
push ecx
push str.Logs
mov ecx, 0x101e5608
call fcn.100c1d40
xor edx, edx
cmp dword [0x101e5618], 0
sete dl
movzx eax, dl
test eax, eax
je 0x100dd1f8
push str.c:_Logs
mov ecx, 0x101e5608
call fcn.100ddf30
xor ecx, ecx
cmp dword [0x101e5618], 0
sete cl
movzx edx, cl
test edx, edx
jne 0x100dd32c
push 0
push 0x101e5608
lea eax, [ebp - 0x2b4]
push eax
call fcn.1014abe0
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x2b8], ecx
cmp dword [ebp - 0x2b8], 0
je 0x100dd24b
cmp dword [ebp - 0x2b8], 1
je 0x100dd24b
mov dword [ebp - 0x308], 1
jmp 0x100dd255
mov dword [ebp - 0x308], 0
movzx edx, byte [ebp - 0x308]
test edx, edx
jne 0x100dd32c
cmp dword [0x101e561c], 8
jb 0x100dd27a
mov eax, dword [0x101e5608]
mov dword [ebp - 0x30c], eax
jmp 0x100dd284
mov dword [ebp - 0x30c], 0x101e5608
push 0
mov ecx, dword [ebp - 0x30c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push 0x101e5608
lea edx, [ebp - 0x2bc]
push edx
call fcn.1014abe0
add esp, 0xc
mov eax, dword [eax]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
je 0x100dd2cf
cmp dword [ebp - 0x2c0], 1
je 0x100dd2cf
mov dword [ebp - 0x310], 1
jmp 0x100dd2d9
mov dword [ebp - 0x310], 0
movzx ecx, byte [ebp - 0x310]
test ecx, ecx
jne 0x100dd32c
xor edx, edx
mov word [ebp - 0x2c2], dx
mov dword [0x101e5618], 0
cmp dword [0x101e561c], 8
jb 0x100dd30d
mov eax, dword [0x101e5608]
mov dword [ebp - 0x314], eax
jmp 0x100dd317
mov dword [ebp - 0x314], 0x101e5608
xor ecx, ecx
shl ecx, 1
mov edx, dword [ebp - 0x314]
mov ax, word [ebp - 0x2c2]
mov word [edx + ecx], ax
mov byte [0x101e5604], 1
lea ecx, [ebp - 0x2cd]
mov dword [ebp - 0x2cc], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x318], edx
mov dword [ebp - 4], 4
push 0
push 0
mov ecx, dword [ebp + 8]
call fcn.10085cf0
mov eax, dword [0x101a1a18]
push eax
push 0
push 0x101e5608
mov ecx, dword [ebp + 8]
call fcn.10085bd0
mov dword [ebp - 4], 5
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
or ecx, 1
mov dword [ebp - 0x228], 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