Function at 0x10013fb0
Capabilities:
Create process on windows
Get common file path
Manipulate boot configuration
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101132b0
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x10137018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [ebp - 0x114]
call fcn.10015040
push eax
call fcn.10015310
add esp, 4
lea eax, [ebp - 0x15c]
push 0
push eax
push 0
push 2
push 0
push 0
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsLayers
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1001424a
push 9
mov dword [ebp - 0x188], eax
lea ecx, [ebp - 0x188]
push str.main.exe
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], 0xf
mov byte [ebp - 0x188], al
call fcn.1000fe10
lea esi, [ebp - 0x114]
mov dword [ebp - 4], 0
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10014070
mov edx, dword [ebp - 0x174]
sub esi, ecx
mov ecx, dword [ebp - 0x178]
mov eax, edx
sub eax, ecx
cmp esi, eax
ja 0x10014139
lea eax, [ecx + esi]
cmp edx, 0x10
mov dword [ebp - 0x178], eax
lea edi, [ebp - 0x188]
cmovae edi, dword [ebp - 0x188]
lea eax, [ebp - 0x114]
add eax, esi
cmp eax, edi
jbe 0x100140e7
lea eax, [edi + ecx]
lea edx, [ebp - 0x114]
cmp edx, eax
ja 0x100140e7
mov eax, edx
cmp edi, eax
ja 0x100140d5
mov dword [ebp - 0x170], 0
jmp 0x100140ed
mov eax, edi
lea edx, [ebp - 0x114]
sub eax, edx
mov dword [ebp - 0x170], eax
jmp 0x100140ed
mov dword [ebp - 0x170], esi
lea eax, [ecx + 1]
push eax
lea eax, [edi + esi]
push edi
push eax
call fcn.100d2550
push dword [ebp - 0x170]
lea eax, [ebp - 0x114]
push eax
push edi
call fcn.100d2550
mov ecx, dword [ebp - 0x170]
lea edx, [ebp - 0x114]
mov eax, esi
sub eax, ecx
push eax
lea eax, [ecx + esi]
add eax, edx
push eax
lea eax, [edi + ecx]
push eax
call fcn.100d2550
add esp, 0x24
lea eax, [ebp - 0x188]
jmp 0x1001415b
push esi
lea eax, [ebp - 0x114]
mov byte [ebp - 0x170], 0
push eax
push ecx
push dword [ebp - 0x170]
lea ecx, [ebp - 0x188]
push esi
call fcn.10015a80
movups xmm0, xmmword [eax]
push 0x10
push str.DisableNXShowUI
movups xmmword [ebp - 0x1a0], xmm0
push 1
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x190], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x1a0]
cmp dword [ebp - 0x18c], 0x10
push 0
cmovae eax, dword [ebp - 0x1a0]
push eax
push dword [ebp - 0x15c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x18c]
cmp edx, 0x10
jb 0x100141e9
mov ecx, dword [ebp - 0x1a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100141df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014300
push edx
push ecx
call fcn.10084d69
add esp, 8
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
cmp edx, 0x10
jb 0x1001423e
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014234
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10014300
push edx
push ecx
call fcn.10084d69
add esp, 8
push dword [ebp - 0x15c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x158], 0x44
push eax
lea eax, [ebp - 0x158]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
push str._C_bcdedit.exe__set_current_nx_OptOut
push str.cmd.exe
movlpd qword [ebp - 0x154], xmm0
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
movlpd qword [ebp - 0x13c], xmm0
movlpd qword [ebp - 0x134], xmm0
movlpd qword [ebp - 0x12c], xmm0
movlpd qword [ebp - 0x124], xmm0
movlpd qword [ebp - 0x11c], xmm0
movups xmmword [ebp - 0x16c], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x100142e5
push dword [ebp - 0x168]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x16c]
call esi
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.100849bc
mov esp, ebp
pop ebp
ret
call fcn.100e7cd3
int3