Function at 0x1003ae60
Capabilities:
Create directory
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e3bb
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [0x10079a30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x100b1298
push 0
push 0
push 0x1a
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x1003afa8
mov ecx, 0x100b1298
mov dword [ebp - 0x1a8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1a4], 0
movups xmmword [ebp - 0x1b8], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003aef0
sub ecx, edx
push ecx
push 0x100b1298
lea ecx, [ebp - 0x1b8]
call fcn.10003c60
push 8
push str.immune_
lea ecx, [ebp - 0x1b8]
mov byte [ebp - 4], 1
call fcn.100095e0
lea ecx, [ebp - 0x28]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x198], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x188], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.10004000
movups xmm0, xmmword [ebp - 0x198]
mov ecx, dword [ebp - 0x1a4]
mov byte [ebp - 4], 0
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x188]
movq qword [ebp - 0x18], xmm0
cmp ecx, 0x10
jb 0x1003afa8
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003af9e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003af9e
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
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003afd0
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0xc]
call fcn.100045c0
mov eax, dword [esi + 0x24]
add esi, 0x24
mov ecx, dword [esi + 4]
cmp eax, ecx
je 0x1003b000
push esi
push ecx
push eax
call fcn.10016360
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x18]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 7
jb 0x1003b1e3
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 7
cmovae eax, dword [ebp - 0x28]
push str._.json
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x184]
lea ecx, [ebp - 0x40]
call fcn.10019d80
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x180]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1003b150
test byte [ebp - 0x180], 0x10
jne 0x1003b133
xorps xmm0, xmm0
mov dword [ebp - 0x190], 0
lea eax, [ebp - 0x154]
mov dword [ebp - 0x18c], 0
movups xmmword [ebp - 0x1a0], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003b095
sub eax, edx
lea ecx, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x154]
push eax
call fcn.10003c60
mov eax, dword [esi + 4]
mov byte [ebp - 4], 3
cmp eax, dword [esi + 8]
je 0x1003b0e6
movups xmm0, xmmword [ebp - 0x1a0]
mov ecx, 0xf
mov byte [ebp - 0x1a0], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x190]
movq qword [eax + 0x10], xmm0
add dword [esi + 4], 0x18
jmp 0x1003b0fb
lea ecx, [ebp - 0x1a0]
push ecx
push eax
mov ecx, esi
call fcn.10031ce0
mov ecx, dword [ebp - 0x18c]
mov byte [ebp - 4], 2
cmp ecx, 0x10
jb 0x1003b133
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b129
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b1b8
push ecx
push edx
call fcn.100599e4
add esp, 8
lea eax, [ebp - 0x180]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1003b061
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x1003b180
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b176
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b1b8
push ecx
push edx
call fcn.100599e4
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x1003b1c8
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b1be
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003b1be
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 ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10059f15
mov esp, ebp
pop ebp
ret
call fcn.100042d0
int3