Function at 0x1400d4970
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
mov ecx, Ordinal_60
call fcn.14011bbbc
mov qword [rsp + 0x70], rax
xor ebp, ebp
test rax, rax
je 0x1400d49a5
mov rcx, rax
call fcn.1400d1f70
jmp 0x1400d49a8
mov rax, rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x30], rbp
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400d3040
nop
lea rcx, [rsi + 0x10e0]
lea rdx, [rsp + 0x28]
call fcn.1400a43c0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400d4a00
lock dec dword [rcx + 8]
jne 0x1400d4a00
mov rbx, qword [rsp + 0x30]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x1400d4a00
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [rsi + 0xfd4], ebp
mov edx, 1
mov rcx, rsi
call fcn.1400a3420
mov edx, ebp
cmp dword [rsi + 0xfd4], edx
sete dl
mov rcx, rsi
call fcn.1400a3430
mov edi, ebp
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x2a0]
test eax, eax
je 0x1400d4ad9
lea ecx, [rdi + 0x7990]
mov rdx, qword [0x1403e3dc8]
mov rax, qword [rdx + 8]
mov rbx, rdx
cmp byte [rax + 0x21], 0
jne 0x1400d4a77
nop dword [rax]
cmp dword [rax + 0x18], ecx
jae 0x1400d4a6b
mov rax, qword [rax + 0x10]
jmp 0x1400d4a71
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x21], 0
je 0x1400d4a60
cmp rbx, rdx
je 0x1400d4a81
cmp ecx, dword [rbx + 0x18]
jae 0x1400d4abc
mov dword [rsp + 0x70], ecx
mov dword [rsp + 0x74], ebp
lea rdx, [rsp + 0x70]
lea rcx, [0x1403e3dc0]
call fcn.1400a7550
mov r9, rax
mov r8, rbx
lea rdx, [rsp + 0x80]
lea rcx, [0x1403e3dc0]
call fcn.1400a7330
mov rbx, qword [rsp + 0x80]
mov dword [rbx + 0x1c], 1
inc edi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x2a0]
cmp edi, eax
jb 0x1400d4a42
mov edi, ebp
nop dword [rax + rax]
lea ecx, [rdi + 0x7ef4]
mov rdx, qword [0x1403e3dc8]
mov rax, qword [rdx + 8]
mov rbx, rdx
cmp byte [rax + 0x21], 0
jne 0x1400d4b17
nop word [rax + rax]
cmp dword [rax + 0x18], ecx
jae 0x1400d4b0b
mov rax, qword [rax + 0x10]
jmp 0x1400d4b11
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x21], 0
je 0x1400d4b00
cmp rbx, rdx
je 0x1400d4b21
cmp ecx, dword [rbx + 0x18]
jae 0x1400d4b5c
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x7c], ebp
lea rdx, [rsp + 0x78]
lea rcx, [0x1403e3dc0]
call fcn.1400a7550
mov r9, rax
mov r8, rbx
lea rdx, [rsp + 0x88]
lea rcx, [0x1403e3dc0]
call fcn.1400a7330
mov rbx, qword [rsp + 0x88]
mov dword [rbx + 0x1c], 1
inc edi
cmp edi, 0x64
jb 0x1400d4ae0
mov edx, ebp
cmp dword [rsi + 0xfd4], edx
sete dl
mov rcx, rsi
call fcn.1400a33f0
cmp dword [rsi + 0xfd4], 0
sete bpl
mov edx, ebp
mov rcx, rsi
call fcn.1400a3420
mov rcx, rsi
call fcn.1400a5270
test eax, eax
jne 0x1400d4beb
lea rcx, [rsi + 0x168]
mov rax, qword [rcx]
mov edx, 0x3e8
call qword [rax + Ordinal_26]
test eax, eax
jne 0x1400d4beb
mov ecx, dword [rsi + 0xfd4]
call fcn.140098090
mov rbx, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
xor r9d, r9d
xor r8d, r8d
mov edx, dword [0x1403e4144]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
xor eax, eax
jmp 0x1400d4c7a
cmp dword [rsi + 0xfd4], 1
sete dl
lea rcx, [rsi + 0xfd8]
call fcn.1400d2780
test eax, eax
jne 0x1400d4c22
cmp dword [rsi + 0xfd4], eax
jne 0x1400d4c1e
xor r8d, r8d
xor edx, edx
lea rcx, str.Failed_to_properly_setup_hooking_dll._TaskSpace_will_now_terminate.
call fcn.14012f4f0
xor eax, eax
jmp 0x1400d4c7a
cmp dword [rsi + 0xfd4], 0
jne 0x1400d4c67
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
call fcn.1400a4eb0
test eax, eax
jne 0x1400d4c67
mov rcx, rsi
call fcn.1400a3780
test eax, eax
jne 0x1400d4c67
mov rcx, qword [rsi + 0x290]
lea r9d, [rax + 1]
xor r8d, r8d
mov edx, dword [0x1403e4148]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call fcn.1400d4620
mov dword [rsi + 0xfd0], eax
mov eax, 1
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret