Function at 0x10030ae0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100522dd
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push esi
push edi
mov eax, dword [0x1006c8c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x100a3cd8
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x10030dd4
mov ecx, 0x100a3cd8
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030b47
sub ecx, edx
push ecx
push 0x100a3cd8
lea ecx, [ebp - 0x48]
call fcn.100029e0
push 0xa
push str.Hermione_
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.100191b0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xa0], xmm0
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x78]
mov esi, dword [edi]
cmp esi, eax
je 0x10030bd1
mov ecx, esi
call fcn.10002d60
movups xmm0, xmmword [ebp - 0xa0]
mov ecx, 0xf
mov byte [ebp - 0x78], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [esi + 0x10], xmm0
jmp 0x10030bd4
mov ecx, dword [ebp - 0x64]
cmp ecx, 0xf
jbe 0x10030c01
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030bf7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030c2e
push ecx
push edx
call fcn.1004e65b
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x10030c3e
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030c34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030c34
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1004e65b
add esp, 8
mov esi, dword [edi + 8]
mov ecx, 0x100a3cd8
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10030c60
sub ecx, edx
push ecx
push 0x100a3cd8
lea ecx, [ebp - 0x60]
call fcn.100029e0
push 0xa
push str.Hermione_
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 1
call fcn.100191b0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28]
push esi
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 2
push eax
call fcn.10016f80
mov edi, dword [edi + 4]
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x10030d0d
mov ecx, edi
call fcn.10002d60
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x10030d44
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030d3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030dc1
push ecx
push edx
call fcn.1004e65b
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp ecx, 0xf
jbe 0x10030d89
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030d7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10030dc1
push ecx
push edx
call fcn.1004e65b
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x10030dd1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030dc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10030dc7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1004e65b
add esp, 8
mov edi, dword [ebp - 0x10]
mov eax, dword [edi]
cmp dword [eax + 0x14], 0xf
jbe 0x10030dde
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret