Function at 0x43a220
Capabilities:
Run powershell expression

Disassembly:
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], ecx
mov dword [rsp + 0x50], ebx
bt ebx, 0xc
nop
jb 0x43a24c
bt ecx, 0xc
jb 0x43a24c
cmp ebx, ecx
jne 0x43a295
movups xmmword [rsp + 0x28], xmm15
lea rax, [0x0043a5a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x34], ecx
lea rax, [rsp + 0x28]
mov qword [rsp], rax
call fcn.0045f4c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x54]
mov ebx, dword [rsp + 0x50]
xor edx, edx
xor esi, esi
jmp 0x43a2b0
mov rdx, qword [rsp + 0x20]
inc rdx
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x54]
mov ebx, dword [rsp + 0x50]
mov rdi, rax
mov eax, ebx
lock cmpxchg dword [rdi + 0x90], ecx
sete r8b
test r8b, r8b
jne 0x43a392
cmp ebx, 4
jne 0x43a2dc
cmp dword [rdi + 0x90], 1
je 0x43a586
mov qword [rsp + 0x20], rdx
test rdx, rdx
jne 0x43a30a
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rsi, qword [rsp]
add rsi, 0x1388
mov qword [rsp + 0x18], rsi
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
cmp qword [rsp], rax
jge 0x43a345
mov edx, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
xor ecx, ecx
nop
jmp 0x43a570
lea rax, [0x00502218]
mov qword [rsp], rax
call fcn.0045f4c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rsi, qword [rsp]
add rsi, 0x9c4
jmp 0x43a29b
cmp ebx, 2
jne 0x43a3bb
movzx edx, byte [rdi + 0xbd]
nop
test dl, 7
jne 0x43a3ac
mov byte [rdi + 0xbc], 1
movzx edx, byte [rdi + 0xbd]
inc edx
mov byte [rdi + 0xbd], dl
cmp byte [rdi + 0xbc], 0
je 0x43a518
cmp ebx, 1
jne 0x43a412
nop
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x48]
sub rax, qword [rcx + 0xc0]
add qword [rcx + 0xc8], rax
mov qword [rcx + 0xc0], 0
mov ecx, dword [rsp + 0x54]
mov rdi, qword [rsp + 0x48]
cmp ecx, 1
je 0x43a4ee
nop dword [rax + rax]
cmp ecx, 2
jne 0x43a518
mov byte [rdi + 0xbc], 0
mov rdx, qword [rdi + 0xc8]
test rdx, rdx
jge 0x43a452
mov eax, 1
lea rcx, [0x005ca1d8]
lock xadd qword [rcx], rax
jmp 0x43a4e1
cmp rdx, 0x10
jl 0x43a4b7
bsr rcx, rdx
mov rbx, 0xffffffffffffffff
cmove rcx, rbx
lea rbx, [rcx - 3]
mov rsi, rbx
shl rbx, 4
cmp rbx, 0x2d0
jb 0x43a488
mov esi, 0x2c
mov r8d, 0xf
jmp 0x43a4bc
add rcx, 0xfffffffffffffffc
cmp rcx, 0x40
sbb r8, r8
not r8
or rcx, r8
sar rdx, cl
mov r8, rdx
sar rdx, 0x3f
shr rdx, 0x3c
add rdx, r8
sar rdx, 4
shl rdx, 4
sub r8, rdx
jmp 0x43a4bc
xor esi, esi
mov r8, rdx
shl rsi, 4
lea rax, [rsi + r8]
cmp rax, 0x2d0
jae 0x43a522
lea rcx, [0x005c8b58]
lea rax, [rcx + rax*8]
mov ecx, 1
lock xadd qword [rax], rcx
mov qword [rdi + 0xc8], 0
jmp 0x43a518
nop
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x48]
mov qword [rcx + 0xc0], rax
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov ecx, 0x2d0
call fcn.00461d00
mov qword [rsp + 0x10], rcx
mov dword [rsp], 1
call fcn.004613e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x10]
inc rcx
mov eax, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x18]
mov edx, dword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
cmp rcx, 0xa
jge 0x43a57e
cmp dword [rsi + 0x90], edx
jne 0x43a52c
mov rsi, rax
jmp 0x43a29b
lea rax, [0x005007ad]
mov ebx, 0x31
call fcn.00435d80
nop
int3