Function at 0x180011770
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 [0x1804cc010]
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 0x180011d25
cmp qword [rdi + 0x20], r15
je 0x180011d25
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 0x18001181c
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x18]
test rdx, rdx
je 0x18001181c
movzx eax, word [rcx]
mov r9d, 0xffff
cmp ax, r9w
je 0x18001181c
mov r10d, 0x11be
cmp r10w, ax
je 0x180011956
add rcx, 4
add rdx, 0x10
movzx eax, word [rcx]
cmp ax, r9w
jne 0x180011801
mov eax, r15d
bt eax, 9
jae 0x180011832
mov edx, 0x12ee
mov rcx, r8
call fcn.180262510
lea r9, [0x1803bfd08]
lea r8, str.RCImageExplorerFrame
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r14, rax
test rax, rax
je 0x180011a3f
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x180011a3f
cmp qword [rbp], 0
je 0x180011a02
mov qword [rsp + 0x28], r15
mov ecx, 0x58
call fcn.180386914
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.180004ea0
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.180004ea0
nop
mov esi, 3
mov dword [rsp + 0x20], esi
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.1802002f0
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 0x180011963
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18001195e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18001195e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx eax, word [rdx]
jmp 0x18001181f
call fcn.180386950
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 0x1800119be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800119b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800119b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
mov rcx, rbx
call fcn.180200630
test al, al
je 0x1800119e8
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.180200d30
nop
test rbx, rbx
je 0x180011a02
mov rcx, rbx
call fcn.180200430
mov edx, 0x58
mov rcx, rbx
call fcn.180386950
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 0x180011a38
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 0x180011ccc
cmp dword [rdi + 0x18], 0x9d19
jne 0x180011a5e
mov r8d, 0x26
lea rdx, str.3B17FBE5_E5F0_4ecb_B4A7_2B70C8E37DC7
lea rcx, [rbp - 0x10]
call fcn.180004ea0
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.180004ea0
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.1801fdbc0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x180011adf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011ada
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011ada
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
lea rcx, [rbp + 0x10]
call fcn.1801559c0
test al, al
je 0x180011c76
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
mov r8b, 1
call fcn.1801fff00
test al, al
je 0x180011c76
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x30]
call fcn.18015acc0
mov rbx, rax
lea rax, [rbp - 0x10]
cmp rax, rbx
je 0x180011b60
lea rcx, [rbp - 0x10]
call fcn.180004e20
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 0x180011ba3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011b9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011b9e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
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 0x180011c76
cmp qword [rsp + 0x68], 0x20
jbe 0x180011c76
cmp byte [rdi + 0x28], 0
je 0x180011c72
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 0x180011c78
xor bl, bl
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x180011cbb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011cb6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011cb6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r15w
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x180011d0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011d0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011d0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
mov qword [rbp], r15
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r15w
movzx eax, bl
jmp 0x180011d27
xor al, al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1803868f0
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