Function at 0x180012e90
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180013445
cmp qword [rdi + 0x20], r15
je 0x180013445
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
call qword [rax + 0x68]
nop
mov r8, qword [rdi + 0x20]
mov rdx, qword [r8 + 8]
test rdx, rdx
je 0x180012f3c
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
test rdx, rdx
je 0x180012f3c
movzx eax, word [rcx]
mov r9d, 0xffff
cmp ax, r9w
je 0x180012f3c
mov r10d, 0x11be
cmp r10w, ax
je 0x180013076
add rcx, 4
add rdx, 0x10
movzx eax, word [rcx]
cmp ax, r9w
jne 0x180012f21
mov eax, r15d
bt eax, 9
jae 0x180012f52
mov edx, 0x12ee
mov rcx, r8
call fcn.180266870
lea r9, [0x1803cdd88]
lea r8, str.RCImageExplorerFrame
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r14, rax
test rax, rax
je 0x18001315f
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18001315f
cmp qword [rbp], 0
je 0x180013122
mov qword [rsp + 0x28], r15
mov ecx, 0x58
call fcn.180393f74
mov rbx, rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
mov r8d, 0x12
lea rdx, str.RCImageViewerFrame
lea rcx, [rbp - 0x50]
call fcn.180005cd0
nop
mov dword [rsp + 0x20], 1
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov r8d, 0x37
lea rdx, str.RCIMAGE_INSTANCE_E70F5389_0A70_437B_9AED_296045F90EE9
lea rcx, [rbp - 0x30]
call fcn.180005cd0
nop
mov esi, 3
mov dword [rsp + 0x20], esi
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.180201ea0
mov rbx, rax
mov qword [rsp + 0x28], rax
and esi, 0xfffffffd
mov dword [rsp + 0x20], esi
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x180013083
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001307e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001307e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx eax, word [rdx]
jmp 0x180012f3f
call fcn.180393fb0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
and esi, 0xfffffffe
mov dword [rsp + 0x20], esi
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1800130de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800130d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800130d9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
mov rcx, rbx
call fcn.1802021e0
test al, al
je 0x180013108
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1802029d0
nop
test rbx, rbx
je 0x180013122
mov rcx, rbx
call fcn.180201fe0
mov edx, 0x58
mov rcx, rbx
call fcn.180393fb0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40b
mov rcx, r14
call qword [sym.imp.USER32.dll_PostMessageW]
cmp byte [rdi + 0x28], 0
je 0x180013158
mov rax, qword [rdi + 0x20]
xor r9d, r9d
mov edx, VarUI4FromDisp
mov r8d, 0xfb2
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_PostMessageW]
mov bl, 1
jmp 0x1800133ec
cmp dword [rdi + 0x18], 0x9d19
jne 0x18001317e
mov r8d, 0x26
lea rdx, str.3B17FBE5_E5F0_4ecb_B4A7_2B70C8E37DC7
lea rcx, [rbp - 0x10]
call fcn.180005cd0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
mov r8d, 0xb
lea rdx, str.2345Pic.exe
lea rcx, [rbp - 0x50]
call fcn.180005cd0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.18036f580
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1800131ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800131fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800131fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
lea rcx, [rbp + 0x10]
call fcn.18015b0b0
test al, al
je 0x180013396
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
mov r8b, 1
call fcn.180371fa0
test al, al
je 0x180013396
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.180160990
mov rbx, rax
lea rax, [rbp - 0x10]
cmp rax, rbx
je 0x180013280
lea rcx, [rbp - 0x10]
call fcn.180005c50
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1800132c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800132be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800132be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov eax, 0x100000
mov ecx, 0x100
cmp byte [rdi + 0x28], 0
cmovne eax, ecx
xor ecx, ecx
mov qword [rsp + 0x64], rcx
mov qword [rsp + 0x6c], rcx
mov qword [rsp + 0x74], rcx
mov qword [rsp + 0x7c], rcx
mov qword [rbp - 0x7c], rcx
mov qword [rbp - 0x74], rcx
mov dword [rbp - 0x6c], ecx
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], eax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], r15
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], 1
mov qword [rbp - 0x68], r15
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x180013396
cmp qword [rsp + 0x68], 0x20
jbe 0x180013396
cmp byte [rdi + 0x28], 0
je 0x180013392
mov rax, qword [rdi + 0x20]
xor r9d, r9d
mov edx, VarUI4FromDisp
mov r8d, 0xfb2
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_PostMessageW]
mov bl, 1
jmp 0x180013398
xor bl, bl
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1800133db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800133d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800133d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r15w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x18001342f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001342a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001342a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp], r15
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r15w
movzx eax, bl
jmp 0x180013447
xor al, al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret