Function at 0x1000e460
Capabilities:
Create directory
Create process on windows
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020cd6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x658
mov eax, dword [0x10030014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x664], eax
sub esp, 0x2c8
mov esi, eax
mov ecx, 0xb2
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x660]
call fcn.1000a280
mov edi, dword [ebp - 0x660]
add esp, 0x2c8
test edi, edi
je 0x1000e819
mov eax, dword [ebp - 0x664]
mov edx, edi
add eax, 0x11b
xor ecx, ecx
push eax
push dword [ebp - 0x65c]
call fcn.10003590
add esp, 8
test eax, eax
je 0x1000e819
push ecx
mov edx, 0x4e21
mov ecx, edi
call fcn.10003170
add esp, 4
test eax, eax
je 0x1000e819
cmp dword [eax + 0xc], 4
jne 0x1000e819
push ecx
mov edx, 0x4e22
mov ecx, edi
xor esi, esi
call fcn.10003170
mov edi, eax
add esp, 4
test edi, edi
je 0x1000e59f
mov eax, dword [edi + 0xc]
test eax, eax
je 0x1000e59f
add eax, 2
je 0x1000e59f
add eax, 4
push eax
push 8
push dword [0x10031d24]
call dword [0x10031a10]
mov esi, eax
test esi, esi
je 0x1000e59f
test byte [edi + 4], 1
lea eax, [edi + 0x10]
je 0x1000e592
mov edx, dword [edi + 8]
lea ecx, [ebp - 0x664]
push ecx
push esi
mov ecx, eax
call fcn.100042f0
add esp, 8
test al, al
jne 0x1000e59f
push esi
push 0
push dword [0x10031d24]
call dword [0x10031a20]
xor esi, esi
jmp 0x1000e59f
push dword [edi + 0xc]
push eax
push esi
call fcn.100135b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x248]
push 0
push eax
call fcn.100140b0
add esp, 0xc
lea eax, [ebp - 0x248]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
mov word [ebp - 0x18], 0
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x16], 0
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.10004f00
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x248]
push eax
call edi
xor eax, eax
cmp byte [ebp - 0x248], al
je 0x1000e60c
inc eax
cmp byte [ebp + eax - 0x248], 0
jne 0x1000e601
push 0x104
lea ecx, [ebp - 0x450]
push ecx
push eax
lea eax, [ebp - 0x248]
push eax
push 0
push 0
call dword [0x10031a3c]
xor ecx, ecx
cmp eax, 0x104
push 0x80
cmovge eax, ecx
mov word [ebp + eax*2 - 0x450], cx
lea eax, [ebp - 0x450]
push eax
call dword [0x100319e4]
lea eax, [ebp - 0x450]
push eax
call dword [0x100319ec]
push 0x104
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.100140b0
add esp, 0xc
mov word [ebp - 0x18], 0
xorps xmm0, xmm0
mov byte [ebp - 0x16], 0
lea ecx, [ebp - 0x38]
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
call fcn.10004f00
lea eax, [ebp - 0x140]
push eax
push 0
push 0
push 0x1a
push 0
call dword [0x100319b0]
push 0x1002c4c0
lea eax, [ebp - 0x140]
push eax
call edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x140]
push eax
call edi
push 0
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x1002c4c0
lea eax, [ebp - 0x140]
push eax
call edi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x140]
push eax
call edi
push str..exe
lea eax, [ebp - 0x140]
push eax
call edi
xor eax, eax
cmp byte [ebp - 0x140], al
je 0x1000e70b
inc eax
cmp byte [ebp + eax - 0x140], 0
jne 0x1000e700
push 0x104
lea ecx, [ebp - 0x658]
push ecx
push eax
lea eax, [ebp - 0x140]
push eax
push 0
push 0
call dword [0x10031a3c]
push dword [0x10031aa4]
xor ecx, ecx
cmp eax, 0x104
cmovge eax, ecx
mov word [ebp + eax*2 - 0x658], cx
call dword [0x1003199c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x664], esp
push 0
push 0x1002bcb9
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10001e60
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x668], esp
push 3
push 0x1002d120
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10001e60
sub esp, 0x18
mov byte [ebp - 4], 1
mov edx, esp
mov ecx, esi
mov dword [edx + 0x10], 0
lea edi, [ecx + 1]
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e7c0
sub ecx, edi
push ecx
push esi
mov ecx, edx
call fcn.10001e60
lea ecx, [ebp - 0x658]
mov dword [ebp - 4], 0xffffffff
call fcn.10009c00
add esp, 0x48
test eax, eax
je 0x1000e819
push dword [0x10031aa0]
call dword [0x1003199c]
push 1
push 0
push 0
lea eax, [ebp - 0x140]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x3e8
call dword [0x10031a8c]
push 0
call dword [0x10031a94]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10011dc1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret