Function at 0x4191c0
Capabilities:
Run powershell expression

Disassembly:
lea r12, [rsp - 0x130]
cmp r12, qword [r14 + 0x10]
jbe 0x419ea6
sub rsp, 0x1b0
mov qword [rsp + 0x1a8], rbp
lea rbp, [rsp + 0x1a8]
mov eax, 2
lea rcx, [0x0061bf0c]
xchg dword [rcx], eax
mov eax, dword [0x0061bf0c]
nop dword [rax]
cmp eax, 1
jne 0x41920c
mov eax, 1
jmp 0x419212
cmp eax, 2
sete al
mov byte [0x0061c174], al
test al, al
je 0x419223
mov eax, 1
jmp 0x41922a
movzx eax, byte [0x0061c175]
mov byte [0x0061c170], al
mov rax, qword [0x0061c8c8]
mov qword [0x005c8620], rax
nop
nop
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [r14 + 0x30]
nop
mov rcx, qword [rsp]
mov qword [rsp + 0x38], rcx
inc dword [rax + 0xd8]
mov rdi, qword [r14 + 0x30]
mov qword [rsp + 0x180], rdi
mov rax, r14
test byte [rax], al
mov qword [rdi + 0xd0], 5
lea rax, [rdi + 0xc8]
mov qword [rsp + 0x1a0], rax
cmp dword [0x0061c170], 0
nop
jne 0x4192b2
lea rdx, [0x004f588c]
mov qword [rdi + 0xc8], rdx
jmp 0x4192c5
mov rdi, rax
lea rsi, [0x004f588c]
nop dword [rax]
call fcn.004619a0
mov qword [rsp + 0x190], r14
mov rdx, qword [r14 + 0x30]
mov byte [rdx + 0xf9], 2
mov rdx, qword [r14 + 0x30]
mov rax, qword [rdx + 0x90]
mov qword [rsp + 0x188], rax
mov ebx, 2
mov ecx, 4
call fcn.0043a220
mov rdx, qword [rsp + 0x188]
mov byte [rdx + 0xb0], 6
movups xmmword [rsp + 0xb8], xmm15
lea rsi, [0x00419ec0]
mov qword [rsp + 0xb8], rsi
mov rsi, qword [rsp + 0x38]
mov qword [rsp + 0xc0], rsi
lea rsi, [rsp + 0xb8]
mov qword [rsp], rsi
call fcn.0045f4c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rdx, [0x00502030]
mov qword [rsp], rdx
nop
call fcn.0045f4c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rdx, qword [rsp + 0x190]
mov rdx, qword [rdx + 0x30]
mov byte [rdx + 0xf9], 0
mov rax, qword [rsp + 0x188]
mov ebx, 4
mov ecx, 2
nop
call fcn.0043a220
cmp byte [0x005ce0b0], 0
je 0x4193c7
nop
mov eax, 8
mov rbx, 0xffffffffffffffff
xor ecx, ecx
xor edi, edi
mov rsi, rdi
call fcn.00453ce0
mov rcx, qword [rsp + 0x180]
mov qword [rcx + 0xd0], 0
cmp dword [0x0061c170], 0
jne 0x4193f0
mov qword [rcx + 0xc8], 0
jmp 0x4193ff
mov rdi, qword [rsp + 0x1a0]
xor edx, edx
call fcn.00461960
cmp dword [0x0061bf0c], 0
jne 0x419e92
mov rax, qword [0x0061c970]
mov qword [0x0061fa70], rax
lea rax, [0x00502010]
mov qword [rsp], rax
call fcn.0045f4c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
nop
nop
call fcn.00463620
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00463680
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp]
movsxd rcx, dword [rsp + 8]
mov rdx, qword [0x005c8610]
mov rbx, qword [rsp + 0x30]
mov rsi, rbx
sub rbx, rdx
add qword [0x005c8608], rbx
mov qword [0x005c8600], rsi
imul rax, rax, 0x3b9aca00
add rax, rcx
mov rcx, qword [0x005c8610]
mov rdx, rsi
sub rsi, rcx
nop dword [rax + rax]
test rsi, rsi
jge 0x4194e0
mov ecx, 1
lea rbx, [0x00621100]
lock xadd qword [rbx], rcx
jmp 0x419574
cmp rsi, 0x10
jl 0x419545
bsr rcx, rsi
mov rbx, 0xffffffffffffffff
cmove rcx, rbx
lea rbx, [rcx - 3]
mov rdi, rbx
shl rbx, 4
cmp rbx, 0x2d0
jb 0x419516
mov edi, 0x2c
mov r8d, 0xf
jmp 0x41954a
add rcx, 0xfffffffffffffffc
cmp rcx, 0x40
sbb r8, r8
not r8
or rcx, r8
sar rsi, cl
mov r8, rsi
sar rsi, 0x3f
shr rsi, 0x3c
add rsi, r8
sar rsi, 4
shl rsi, 4
sub r8, rsi
jmp 0x41954a
xor edi, edi
mov r8, rsi
shl rdi, 4
lea rbx, [rdi + r8]
cmp rbx, 0x2d0
jae 0x419e85
lea rcx, [0x0061fa80]
lea rcx, [rcx + rbx*8]
mov ebx, 1
lock xadd qword [rcx], rbx
lea rcx, [0x0061ea48]
mov rbx, rax
xchg qword [rcx], rax
lea rcx, [0x0061fa68]
mov rsi, rdx
xchg qword [rcx], rdx
movzx ecx, byte [0x0061fa58]
mov rdx, qword [0x005c8608]
lea rdi, [0x0061ea58]
mov qword [rdi + rcx*8], rdx
movzx ecx, byte [0x0061fa58]
lea rdx, [0x0061f258]
mov qword [rdx + rcx*8], rbx
mov rcx, qword [0x005c8608]
add qword [0x0061ea50], rcx
movsxd rcx, dword [0x005c85dc]
mov rdx, qword [0x005c85f0]
sub rdx, qword [0x005c85e8]
mov rbx, qword [0x0061c920]
imul rdx, rcx
mov qword [rsp + 0x40], rdx
mov rcx, qword [0x0061c928]
add rcx, rbx
mov rbx, qword [0x0061c930]
add rcx, rbx
movsxd rbx, dword [0x005c85dc]
mov rdi, qword [0x005c8600]
sub rdi, qword [0x005c85f8]
imul rdi, rbx
mov qword [rsp + 0x58], rdi
add rcx, rdx
add rcx, rdi
mov rbx, qword [0x005c85a0]
add rcx, rbx
mov qword [0x005c85a0], rcx
mov rbx, qword [0x005c8b40]
sub rsi, rbx
movsxd rbx, dword [0x0061bf10]
imul rsi, rbx
add rsi, qword [0x005c8b48]
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
xorps xmm1, xmm1
cvtsi2sd xmm1, rsi
divsd xmm0, xmm1
movsd qword [0x0061fa60], xmm0
nop
xor ecx, ecx
lea rbx, [0x005ee2b0]
xchg qword [rbx], rcx
mov qword [0x005c8054], 0
cmp byte [0x005c8598], 0
je 0x419694
inc dword [0x0061fa5c]
nop
nop
lea rax, [0x005c85c8]
nop dword [rax]
call fcn.0040ae00
inc dword [0x0061fa58]
lea rax, [0x005c85d0]
call fcn.0043e5c0
nop
nop
lea rax, [0x005c85c8]
call fcn.0040b020
lea rax, [0x0061c400]
mov rbx, qword [rsp + 0x30]
call fcn.0041b2c0
nop
nop
nop
mov eax, dword [0x0061bf14]
mov ecx, eax
shr eax, 1
lea edx, [rax + 1]
mov esi, 0xaaaaaaab
imul rdx, rsi
shr rdx, 0x3a
lea edx, [rdx + rdx*2]
shl edx, 0x19
sub eax, edx
lea edx, [rax + 1]
shl edx, 1
mov eax, ecx
lea rcx, [0x0061bf14]
lock cmpxchg dword [rcx], edx
sete cl
test cl, cl
je 0x4196d8
nop
mov eax, dword [0x005c805c]
mov ecx, eax
and eax, 0x80000000
test eax, eax
jne 0x419749
lea edx, [rcx + 1]
mov ebx, eax
mov eax, ecx
lea rsi, [0x005c805c]
lock cmpxchg dword [rsi], edx
sete cl
test cl, cl
je 0x419714
mov ecx, dword [0x005ee2d8]
test ebx, ebx
jmp 0x419751
mov ecx, dword [0x005ee2d8]
mov ebx, eax
jne 0x419e73
mov dword [rsp + 0x2c], ebx
mov dword [rsp + 0x28], ecx
lea rax, [0x00502038]
mov qword [rsp], rax
call fcn.0045f4c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
call fcn.0042cc20
call fcn.00425580
lea rax, [0x00501ff8]
mov qword [rsp], rax
call fcn.0045f4c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
lea rax, [0x00502048]
mov qword [rsp], rax
nop dword [rax]
call fcn.0045f4c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp + 0x2c]
test eax, eax
sete cl
lea rax, [0x005c805c]
mov ebx, dword [rsp + 0x28]
call fcn.00422fe0
cmp dword [0x0061c3bc], 0
jle 0x419854
movsd xmm0, qword [0x005276c0]
mulsd xmm0, qword [0x0061fa60]
movsd qword [rsp + 0xb0], xmm0
movups xmmword [rsp + 0xc8], xmm15
movups xmmword [rsp + 0xd0], xmm15
call fcn.00437640
mov rax, qword [0x005c85e8]
sub rax, qword [0x0061c098]
mov rcx, rax
movabs rax, 0x8637bd05af6c69b6
mul rcx
shr rdx, 0x13
mov eax, 0x17
jmp 0x4198b8
lea rax, [0x005aa3d0]
xor ebx, ebx
xor ecx, ecx
nop
call fcn.00447e80
nop
lea rax, [0x005aa3c4]
xor ebx, ebx
xor ecx, ecx
call fcn.00447e80
nop
mov rdx, qword [rsp + 0x180]
mov esi, dword [rdx + 0xd8]
lea edi, [rsi - 1]
mov dword [rdx + 0xd8], edi
cmp esi, 1
jne 0x4198a5
cmp byte [r14 + 0xb1], 0
je 0x4198a5
mov qword [r14 + 0x10], 0xfffffffffffffade
mov rbp, qword [rsp + 0x1a8]
add rsp, 0x1b0
ret
mov rax, rsi
cmp rdx, 0xa
jae 0x4198c6
nop
cmp rax, 0x14
jl 0x419920
mov rcx, rax
movabs rax, 0xcccccccccccccccd
mov rbx, rdx
mul rdx
shr rdx, 3
lea rsi, [rdx + rdx*4]
shl rsi, 1
sub rbx, rsi
cmp rcx, 0x18
jae 0x419e66
lea rsi, [rbx + 0x30]
mov byte [rsp + rcx + 0xc8], sil
lea rsi, [rcx - 1]
cmp rcx, 0x15
jne 0x4198b5
mov byte [rsp + rcx + 0xc7], 0x2e
mov esi, 0x13
jmp 0x4198b5
cmp rax, 0x18
jae 0x419e5c
add rdx, 0x30
mov byte [rsp + rax + 0xc8], dl
mov edx, dword [0x0061fa58]
mov qword [rsp + 0xa8], rdx
lea rcx, [rax - 0x18]
mov rsi, rcx
sar rcx, 0x3f
and rax, rcx
lea rbx, [rsp + rax + 0xc8]
neg rsi
lea rax, [rsp + 0x138]
mov rcx, rsi
call fcn.0044d6c0
mov qword [rsp + 0x198], rax
mov qword [rsp + 0xa0], rbx
nop dword [rax]
call fcn.00437640
lea rax, [0x004f5571]
mov ebx, 3
call fcn.00437f40
mov rax, qword [rsp + 0xa8]
nop
call fcn.00437c40
lea rax, [0x004f53d9]
mov ebx, 2
call fcn.00437f40
mov rax, qword [rsp + 0x198]
mov rbx, qword [rsp + 0xa0]
call fcn.00437f40
lea rax, [0x004f5447]
mov ebx, 2
call fcn.00437f40
movsd xmm0, qword [rsp + 0xb0]
cvttsd2si rax, xmm0
call fcn.00437d40
lea rax, [0x004f546f]
mov ebx, 3
nop dword [rax + rax]
call fcn.00437f40
call fcn.004376c0
mov rdx, qword [0x005c85e8]
movups xmmword [rsp + 0xe0], xmm15
movups xmmword [rsp + 0xe8], xmm15
mov rsi, qword [0x005c85f0]
mov qword [rsp + 0xe0], rsi
mov rsi, qword [0x005c85f8]
mov qword [rsp + 0xe8], rsi
mov rsi, qword [0x005c8600]
mov qword [rsp + 0xf0], rsi
xor eax, eax
jmp 0x419ac0
sub rdi, rdx
lea rax, [rsp + 0xc8]
mov ebx, 0x18
mov rcx, rbx
call fcn.0041afe0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0x118]
call fcn.0044d6c0
mov qword [rsp + 0x198], rax
mov qword [rsp + 0xa0], rbx
call fcn.00437640
mov rax, qword [rsp + 0x198]
mov rbx, qword [rsp + 0xa0]
call fcn.00437f40
call fcn.004376c0
mov rax, qword [rsp + 0x68]
inc rax
mov rdx, qword [rsp + 0x48]
nop dword [rax + rax]
cmp rax, 3
jge 0x419b20
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + rax*8 + 0xe0]
mov qword [rsp + 0x48], rdi
nop dword [rax + rax]
test rax, rax
je 0x419a54
mov qword [rsp + 0x98], rdx
call fcn.00437640
lea rax, [0x004f53bd]
mov ebx, 1
call fcn.00437f40
call fcn.004376c0
mov rdx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x48]
jmp 0x419a54
call fcn.00437640
lea rax, [0x004f685a]
mov ebx, 0xb
call fcn.00437f40
call fcn.004376c0
nop
mov rax, qword [0x0061c920]
movups xmmword [rsp + 0x158], xmm15
movups xmmword [rsp + 0x160], xmm15
movups xmmword [rsp + 0x170], xmm15
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x158], rcx
mov qword [rsp + 0x160], rax
mov rax, qword [0x0061c928]
add rax, qword [0x0061c930]
mov qword [rsp + 0x168], rax
mov rax, qword [0x0061c938]
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x178], rax
xor eax, eax
jmp 0x419c0d
lea rax, [rsp + 0xc8]
mov ebx, 0x18
mov rcx, rbx
call fcn.0041afe0
mov rcx, rbx
mov rbx, rax
lea rax, [rsp + 0xf8]
call fcn.0044d6c0
mov qword [rsp + 0x198], rax
mov qword [rsp + 0xa0], rbx
call fcn.00437640
mov rax, qword [rsp + 0x198]
mov rbx, qword [rsp + 0xa0]
call fcn.00437f40
nop dword [rax + rax]
call fcn.004376c0
mov rax, qword [rsp + 0x60]
inc rax
cmp rax, 5
jge 0x419c8a
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + rax*8 + 0x158]
mov qword [rsp + 0x50], rdi
cmp rax, 2
je 0x419c31
cmp rax, 3
jne 0x419c56
call fcn.00437640
lea rax, [0x004f53c0]
mov ebx, 1
call fcn.00437f40
call fcn.004376c0
mov rdi, qword [rsp + 0x50]
jmp 0x419ba9
test rax, rax
je 0x419ba9
nop
call fcn.00437640
lea rax, [0x004f53bd]
mov ebx, 1
call fcn.00437f40
call fcn.004376c0
mov rax, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x50]
jmp 0x419ba9
mov rax, qword [0x0061c8e8]
mov qword [rsp + 0xa8], rax
mov rcx, qword [0x005c8618]
mov qword [rsp + 0x90], rcx
mov rdx, qword [0x005c8620]
mov qword [rsp + 0x88], rdx
mov rbx, qword [0x005c8628]
mov qword [rsp + 0x80], rbx
mov rsi, qword [0x0061c8c0]
mov qword [rsp + 0x78], rsi
mov rdi, qword [0x0061c8f0]
mov qword [rsp + 0x70], rdi
movsxd r8, dword [0x005c85e0]
mov qword [rsp + 0x98], r8
call fcn.00437640
lea rax, [0x004f6160]
mov ebx, 9
nop
call fcn.00437f40
mov rax, qword [rsp + 0x90]
shr rax, 0x14
call fcn.00437c40
lea rax, [0x004f53e9]
mov ebx, 2
call fcn.00437f40
mov rax, qword [rsp + 0x88]
shr rax, 0x14
call fcn.00437c40
lea rax, [0x004f53e9]
mov ebx, 2
call fcn.00437f40
mov rax, qword [rsp + 0x80]
shr rax, 0x14
call fcn.00437c40
lea rax, [0x004f576a]
mov ebx, 5
call fcn.00437f40
mov rax, qword [rsp + 0x78]
shr rax, 0x14
call fcn.00437c40
lea rax, [0x004f6454]
mov ebx, 0xa
call fcn.00437f40
mov rax, qword [rsp + 0xa8]
shr rax, 0x14
call fcn.00437c40
lea rax, [0x004f6c66]
mov ebx, 0xc
call fcn.00437f40
mov rax, qword [rsp + 0x70]
shr rax, 0x14
call fcn.00437c40
lea rax, [0x004f718f]
mov ebx, 0xd
call fcn.00437f40
mov rax, qword [rsp + 0x98]
call fcn.00437d40
lea rax, [0x004f53db]
mov ebx, 2
call fcn.00437f40
call fcn.004376c0
cmp byte [0x005c8598], 0
je 0x419e12
call fcn.00437640
lea rax, [0x004f6106]
mov ebx, 9
call fcn.00437f40
call fcn.004376c0
call fcn.00437640
call fcn.004378a0
nop dword [rax]
call fcn.004376c0
mov rax, qword [r14 + 0x30]
nop
movzx ecx, byte [rax + 0xe7]
lea edx, [rcx - 1]
mov byte [rax + 0xe7], dl
nop word [rax + rax]
cmp cl, 1
jne 0x419854
nop
nop
lea rax, [0x0061bfc0]
call fcn.0040b020
jmp 0x419854
mov ecx, 0x18
call fcn.00461ce0
mov rax, rcx
mov ecx, 0x18
call fcn.00461ce0
lea rax, [0x004fc12e]
mov ebx, 0x1b
nop
call fcn.00435d80
mov rax, rbx
mov ecx, 0x2d0
call fcn.00461d00
lea rax, [0x004fcac4]
mov ebx, 0x1d
nop
call fcn.00435d80
nop
call fcn.0045f600
jmp fcn.004191c0