Function at 0x140005530
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x8a0]
sub rsp, 0x9a0
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rbp + 0x890], rax
mov rdi, qword [0x140038150]
mov r10, rdx
sub r8d, 0x10
je 0x14000583c
sub r8d, 0x100
je 0x14000563c
sub r8d, 1
je 0x1400055ad
cmp r8d, 2
jne 0x1400055a6
cmp r9, 0x3e9
jne 0x1400055a6
mov rcx, rdi
call fcn.140005180
test al, al
je 0x1400055a6
mov edx, dword [rdi + 0x1938]
mov rcx, rdi
call fcn.1400053c0
xor eax, eax
jmp 0x14000584f
movzx eax, r9w
sub rax, 2
je 0x140005627
sub rax, 0x3f0
je 0x140005627
cmp rax, 9
jne 0x1400055a6
mov rcx, qword [rdi + 0x1940]
lea r8, [rbp - 0x10]
mov r9d, 0x3e8
mov edx, 0x3fb
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov rcx, qword [rdi + 0x1940]
lea r8, [rbp - 0x10]
xor r9d, r9d
mov dword [rsp + 0x28], 1
lea rdx, str.open
mov qword [rsp + 0x20], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
ja 0x14000584a
mov ecx, 0x30
call qword [sym.imp.USER32.dll_MessageBeep]
jmp 0x14000584a
mov edx, 2
mov rcx, r10
call qword [sym.imp.USER32.dll_EndDialog]
xor eax, eax
jmp 0x14000584f
xor r8d, r8d
mov qword [rdi + 0x1940], r10
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ExtractIconW]
test rax, rax
jne 0x140005668
mov rcx, qword [rdi + 0x1948]
mov edx, 0x86
call qword [sym.imp.USER32.dll_LoadIconW]
mov rcx, qword [rdi + 0x1940]
mov r9, rax
mov edx, 0x3fc
mov qword [rsp + 0x20], 0
mov r8d, 0x170
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rcx, qword [rdi + 0x1940]
lea r8, [rdi + 0x1798]
mov edx, 0x3f9
mov r9d, 0xc8
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
mov rcx, qword [rdi + 0x1940]
lea r8, [rbp - 0x10]
mov r9d, 0x44c
mov edx, 0x3f8
call qword [sym.imp.USER32.dll_GetDlgItemTextW]
lea r8, [rdi + 0xfa0]
mov edx, 0x44c
lea rcx, [rbp - 0x10]
call fcn.140011e88
mov rcx, qword [rdi + 0x1940]
lea r8, [rbp - 0x10]
mov edx, 0x3f8
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rdi + 0x1940]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x31
call qword [sym.imp.USER32.dll_SendMessageW]
lea r8, [rsp + 0x30]
mov edx, 0x5c
mov rcx, rax
mov qword [rdi + 0x1780], rax
call qword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
jg 0x14000573b
mov rax, qword [rdi + 0x1780]
mov qword [rdi + 0x1788], rax
jmp 0x1400057f4
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rbp - 0x70]
movaps xmm1, xmmword [rsp + 0x40]
mov eax, dword [rbp - 0x78]
movaps xmmword [rbp - 0x60], xmm1
movaps xmm1, xmmword [rsp + 0x60]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movaps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rbp - 0x40], xmm1
movsd xmm1, qword [rbp - 0x80]
movaps xmmword [rbp - 0x30], xmm0
movsd qword [rbp - 0x20], xmm1
mov qword [rsp + 0x9b0], rbx
mov dword [rbp - 0x18], eax
mov byte [rbp - 0x5b], 1
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rcx, qword [rdi + 0x1940]
mov edx, 0x3fb
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r9d, 1
mov r8, rbx
mov rcx, rax
mov edx, 0x30
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x40], 0x2bc
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x40], ebx
mov qword [rdi + 0x1788], rax
mov byte [rsp + 0x46], 1
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rbx, qword [rsp + 0x9b0]
mov qword [rdi + 0x1790], rax
xor r9d, r9d
mov rcx, qword [rdi + 0x1940]
mov edx, 0x3e9
mov r8d, 0xc8
call qword [sym.imp.USER32.dll_SetTimer]
xor edx, edx
mov rcx, rdi
call fcn.1400053c0
mov rcx, rdi
call fcn.140005180
test al, al
je 0x14000584a
mov edx, dword [rdi + 0x1938]
mov rcx, rdi
call fcn.1400053c0
jmp 0x14000584a
mov edx, 2
mov rcx, r10
call qword [sym.imp.USER32.dll_EndDialog]
mov eax, 1
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.14000bfd0
mov rdi, qword [rsp + 0x9c0]
add rsp, 0x9a0
pop rbp
ret