Function at 0x434ca0
Capabilities:
Run powershell expression

Disassembly:
lea r12, [rsp - 0x4d8]
cmp r12, qword [r14 + 0x10]
jbe 0x435128
push rbp
mov rbp, rsp
sub rsp, 0x550
nop dword [rax]
cmp qword [r14 + 0x30], rax
je 0x435116
mov rcx, rax
xor eax, eax
mov edx, 1
lock cmpxchg dword [rcx + 0x338], edx
sete dl
nop
test dl, dl
je 0x4350a2
mov qword [rsp + 0x548], rcx
lea rax, [rcx + 0x310]
mov qword [rsp + 0x538], rax
nop
call fcn.0040b6c0
mov rcx, qword [rsp + 0x548]
cmp qword [rcx + 0x318], 0
jne 0x434d4d
nop
nop
mov rax, qword [rsp + 0x538]
call fcn.0040b8e0
xor ecx, ecx
mov rdx, qword [rsp + 0x548]
xchg dword [rdx + 0x338], ecx
nop
mov ecx, 1
lock xadd dword [rdx + 0x308], ecx
add rsp, 0x550
pop rbp
ret
mov qword [rsp + 0x48], 0
mov rax, qword [sym.imp.kernel32.dll_DuplicateHandle]
mov rdx, qword [rcx + 0x318]
lea rbx, [rsp + 0x48]
mov qword [rsp], rax
mov qword [rsp + 8], 0xffffffffffffffff
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0xffffffffffffffff
mov qword [rsp + 0x20], rbx
movups xmmword [rsp + 0x28], xmm15
mov qword [rsp + 0x38], 2
call fcn.00434a60
xorps xmm15, xmm15
mov r14, qword [0x009d9398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x40], 0
je 0x4350b9
nop
nop
mov rax, qword [rsp + 0x538]
call fcn.0040b8e0
movups xmmword [rsp + 0x59], xmm15
lea rdi, [rsp + 0x68]
mov ecx, 0x9a
xor eax, eax
rep stosq qword [rdi], rax
lea rcx, [rsp + 0x68]
and rcx, 0xfffffffffffffff0
mov qword [rsp + 0x540], rcx
mov dword [rcx + 0x30], 0x100001
nop
nop
lea rax, [0x009d9258]
call fcn.0040b6c0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [sym.imp.kernel32.dll_SuspendThread]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
call fcn.00434760
xorps xmm15, xmm15
mov r14, qword [0x009d9398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x10]
cmp ecx, 0xffffffff
je 0x435041
mov rax, qword [rsp + 0x48]
mov rcx, qword [sym.imp.kernel32.dll_GetThreadContext]
mov rdx, qword [rsp + 0x540]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rdx
call fcn.004347e0
xorps xmm15, xmm15
mov r14, qword [0x009d9398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
nop
nop
lea rax, [0x009d9258]
call fcn.0040b8e0
mov rax, qword [rsp + 0x548]
mov rcx, qword [rax]
mov rdx, qword [rsp + 0x540]
mov rbx, qword [rdx + 0x98]
test rcx, rcx
je 0x434eb0
cmp qword [rcx], rbx
jae 0x434eb0
cmp qword [rcx + 8], rbx
ja 0x434eed
mov rsi, qword [rax + 0x50]
test rsi, rsi
je 0x434ecb
cmp qword [rsi], rbx
jae 0x434ecb
nop
cmp qword [rsi + 8], rbx
jbe 0x434ecb
mov rcx, rsi
jmp 0x434eed
mov rsi, qword [rax + 0x90]
test rsi, rsi
je 0x434eeb
cmp qword [rsi], rbx
jae 0x434eeb
nop dword [rax]
cmp qword [rsi + 8], rbx
jbe 0x434eeb
mov rcx, rsi
jmp 0x434eed
xor ecx, ecx
test rcx, rcx
je 0x434f32
cmp byte [rcx + 0xb1], 0
jne 0x434f16
mov rsi, qword [rcx + 0x30]
mov rsi, qword [rsi + 0xa0]
test rsi, rsi
je 0x434f2e
test byte [rsi], al
cmp byte [rsi + 0x22c8], 0
je 0x434f2a
nop
mov esi, dword [rcx + 0x90]
btr esi, 0xc
cmp esi, 2
sete sil
jmp 0x434f34
xor esi, esi
jmp 0x434f34
xor esi, esi
jmp 0x434f34
xor esi, esi
test sil, sil
je 0x434fc6
mov rbx, qword [rdx + 0xf8]
mov rsi, qword [rdx + 0x98]
mov rax, rcx
mov rcx, rsi
xor edi, edi
call fcn.00438ae0
test al, al
je 0x434fbe
lea rax, [0x00468820]
mov rcx, qword [rsp + 0x540]
mov rdx, qword [rcx + 0x98]
add rdx, 0xfffffffffffffff8
mov rsi, rdx
nop
mov qword [rdx], rbx
nop
mov qword [rcx + 0x98], rsi
nop
mov qword [rcx + 0xf8], rax
mov rax, qword [rsp + 0x48]
mov rdx, qword [sym.imp.kernel32.dll_SetThreadContext]
mov qword [rsp], rdx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rcx
call fcn.004347e0
xorps xmm15, xmm15
mov r14, qword [0x009d9398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x548]
xor ecx, ecx
xchg dword [rax + 0x338], ecx
nop
mov ecx, 1
lock xadd dword [rax + 0x308], ecx
mov rax, qword [rsp + 0x48]
mov rcx, qword [sym.imp.kernel32.dll_ResumeThread]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.00434760
xorps xmm15, xmm15
mov r14, qword [0x009d9398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
mov rcx, qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
nop dword [rax]
call fcn.00434760
xorps xmm15, xmm15
mov r14, qword [0x009d9398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
add rsp, 0x550
pop rbp
nop
ret
nop
nop
lea rax, [0x009d9258]
call fcn.0040b8e0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [sym.imp.kernel32.dll_CloseHandle]
mov qword [rsp], rdx
mov qword [rsp + 8], rcx
call fcn.00434760
xorps xmm15, xmm15
mov r14, qword [0x009d9398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
xor ecx, ecx
mov rdx, qword [rsp + 0x548]
xchg dword [rdx + 0x338], ecx
nop
mov ecx, 1
lock xadd dword [rdx + 0x308], ecx
add rsp, 0x550
pop rbp
ret
nop
mov eax, 1
lock xadd dword [rcx + 0x308], eax
add rsp, 0x550
pop rbp
ret
call fcn.00468c00
xorps xmm15, xmm15
mov r14, qword [0x009d9398]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x50], rax
call fcn.00438fc0
lea rax, [0x0071aace]
mov ebx, 0x30
call fcn.00439840
mov rax, qword [rsp + 0x50]
call fcn.00439580
call fcn.00439200
nop dword [rax]
call fcn.00439020
lea rax, [0x00717f80]
mov ebx, 0x28
call fcn.00437620
lea rax, [0x007085c6]
mov ebx, 0xc
call fcn.00437620
nop
mov qword [rsp + 8], rax
call fcn.004654a0
mov rax, qword [rsp + 8]
jmp fcn.00434ca0