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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005dd3d
mov eax, dword fs:[0]
push eax
sub esp, 0x94
push esi
push edi
mov eax, dword [0x10079a30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x100b1190
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x100398d4
mov ecx, 0x100b1190
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 0x10039647
sub ecx, edx
push ecx
push 0x100b1190
lea ecx, [ebp - 0x48]
call fcn.10003c60
push 8
push str.immune_
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.100095e0
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 0x100396d1
mov ecx, esi
call fcn.10004000
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 0x100396d4
mov ecx, dword [ebp - 0x64]
cmp ecx, 0x10
jb 0x10039701
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100396f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003972e
push ecx
push edx
call fcn.100599e4
add esp, 8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0x10
jb 0x1003973e
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10039734
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10039734
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100599e4
add esp, 8
mov esi, dword [edi + 8]
mov ecx, 0x100b1190
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 0x10039760
sub ecx, edx
push ecx
push 0x100b1190
lea ecx, [ebp - 0x60]
call fcn.10003c60
push 8
push str.immune_
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 1
call fcn.100095e0
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.10018ae0
mov edi, dword [edi + 4]
mov esi, eax
add esp, 0xc
cmp edi, esi
je 0x1003980d
mov ecx, edi
call fcn.10004000
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, 0x10
jb 0x10039844
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003983a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100398c1
push ecx
push edx
call fcn.100599e4
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, 0x10
jb 0x10039889
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003987f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100398c1
push ecx
push edx
call fcn.100599e4
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, 0x10
jb 0x100398d1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100398c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100398c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100599e4
add esp, 8
mov edi, dword [ebp - 0x10]
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
jb 0x100398de
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