Function at 0x140066fcc
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
mov rdi, rcx
xor r15d, r15d
mov dword [rbp + 0x40], r15d
mov sil, 1
mov ecx, dword [rcx + 0x90]
mov eax, ecx
and eax, 0xc
cmp al, 0xc
jne 0x14006703a
mov rcx, qword [rdi + 8]
mov qword [rbp - 0x20], rcx
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
movsxd rcx, eax
mov qword [rbp - 0x18], rcx
mov dword [rbp - 0x10], 0xfffffffe
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
movsxd rbx, eax
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov r8, rbx
lea r9, [rbp - 0x20]
lea edx, [r15 + 0x4e]
jmp 0x140067065
shr ecx, 2
test sil, cl
je 0x140067073
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ebx, eax
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_GetParent]
movzx r8d, bx
mov r9, qword [rdi + 8]
mov edx, VarUI4FromDisp
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400672a5
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x1400672ba
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x1400672ba
mov rsi, qword [rdi + 0x50]
mov rbx, qword [0x1400ce018]
mov qword [rbp + 0x48], rbx
test rsi, rsi
je 0x1400670be
mov rax, rsi
shr rax, 0x10
test ax, ax
jne 0x1400670ee
movzx edx, si
lea rcx, [rbp + 0x48]
call fcn.1400228d0
mov rbx, qword [rbp + 0x48]
mov eax, dword [rbx - 8]
or r14d, 0xffffffff
test eax, eax
je 0x140067241
lea r12, str.http:__
js 0x1400670e9
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsstr
mov rsi, rax
test rax, rax
jne 0x140067125
mov esi, r14d
jmp 0x14006712b
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r14, eax
test eax, eax
je 0x1400670be
mov edx, r14d
lea rcx, [rbp + 0x48]
call fcn.140020b60
test eax, eax
je 0x1400670ba
mov r8, r14
add r8, r8
mov rdx, rsi
mov rbx, qword [rbp + 0x48]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400670be
sub rsi, rbx
sar rsi, 1
cmp dword [rbx - 8], r15d
jl 0x140067145
lea rdx, str.https:__
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsstr
test rax, rax
jne 0x14006714a
mov eax, r14d
jmp 0x140067150
sub rax, rbx
sar rax, 1
test esi, esi
jns 0x140067241
test eax, eax
jns 0x140067241
mov rax, qword [0x1400ce018]
mov qword [rbp + 0x50], rax
mov rax, r12
shr rax, 0x10
test ax, ax
jne 0x140067186
movzx edx, r12w
lea rcx, [rbp + 0x50]
call fcn.1400228d0
jmp 0x1400671b8
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rsi, eax
test eax, eax
je 0x1400671b8
mov edx, esi
lea rcx, [rbp + 0x50]
call fcn.140020b60
test eax, eax
je 0x1400671b8
mov r8, rsi
add r8, r8
mov rdx, r12
mov rcx, qword [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
nop
mov rax, qword [0x1400ce018]
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x40], 1
mov qword [rsp + 0x20], rbx
mov r9d, dword [rbx - 8]
mov rax, qword [rbp + 0x50]
mov r8, rax
mov edx, dword [rax - 8]
lea rcx, [rbp + 0x58]
call fcn.140021620
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x48]
call fcn.1400661c4
nop
mov rcx, qword [rbp + 0x58]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ce010]
je 0x140067219
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x140067219
call fcn.1400825bc
nop
mov rcx, qword [rbp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, qword [0x1400ce010]
je 0x14006723d
mov eax, r14d
lock xadd dword [rcx], eax
add eax, r14d
test eax, eax
jg 0x14006723d
call fcn.1400825bc
mov rbx, qword [rbp + 0x48]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rbx
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x20
seta sil
jbe 0x140067285
or byte [rdi + 0x94], 2
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
lea rcx, [rbx - 0xc]
cmp rcx, qword [0x1400ce010]
je 0x1400672a5
mov edx, r14d
lock xadd dword [rcx], edx
add edx, r14d
test edx, edx
jg 0x1400672a5
call fcn.1400825bc
xor edx, edx
lea r8d, [rdx + 1]
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov al, sil
jmp 0x1400672bc
xor al, al
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret