Function at 0x1400217d0
Capabilities:
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x438
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x3a0], xmm8
movdqa xmmword [rbp + 0x390], xmm7
movaps xmmword [rbp + 0x380], xmm6
and rsp, 0xffffffffffffff80
mov rsi, rdx
mov qword [rsp + 0x98], rcx
mov rax, qword [rdx + 0x10]
test rax, rax
mov qword [rsp + 0x70], rdx
jne 0x140021c4f
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUS
lea rcx, [rsp + 0x200]
mov r8d, 0x11
call fcn.140025c70
mov rcx, qword [rsp + 0x200]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x1400218bb
mov r8, qword [rsp + 0x208]
mov r9, qword [rsp + 0x210]
test byte [rsp + 0x218], 1
je 0x140021899
test r9, r9
je 0x1400218a2
cmp r9, 1
jne 0x1400219fa
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x1400218a2
mov r9d, 1
mov r10, r8
cmp eax, 0x2d
je 0x1400218a2
jmp 0x140021b74
test r9, r9
jne 0x140021960
test rcx, rcx
mov rsi, qword [rsp + 0x70]
je 0x1400218bb
mov rcx, qword [0x1400ec9d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [0x1400dec31]
lea rcx, [rsp + 0x200]
mov r8d, 0x11
call fcn.140025c70
mov rcx, qword [rsp + 0x200]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x140021c0a
mov r8, qword [rsp + 0x208]
mov r9, qword [rsp + 0x210]
test byte [rsp + 0x218], 1
je 0x140021935
test r9, r9
je 0x14002193e
cmp r9, 1
jne 0x140021afa
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x14002193e
mov r9d, 1
mov r10, r8
cmp eax, 0x2d
je 0x14002193e
jmp 0x140021bb5
test r9, r9
jne 0x140021a67
test rcx, rcx
mov rsi, qword [rsp + 0x70]
je 0x140021c0a
mov rcx, qword [0x1400ec9d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x140021c0a
lea rax, [r8 + r9]
mov r10, r8
jmp 0x14002198c
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop word cs:[rax + rax]
mov r10, rdx
cmp rdx, rax
je 0x14002186e
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x140021980
cmp r11b, 0xe0
jb 0x140021969
cmp r11b, 0xed
jne 0x1400219cf
cmp rdx, rax
je 0x14002186e
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x14002186e
cmp byte [r10 + 1], 0x9f
ja 0x1400233ad
add r10, 3
mov rdx, r10
jmp 0x140021980
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x140021980
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x140021980
cmp byte [r8], 0x2b
jne 0x140021b67
lea r10, [r8 + 1]
lea rax, [r9 - 1]
cmp r9, 0x12
mov r9, rax
jb 0x140021b74
xor r11d, r11d
mov esi, 0xa
xor eax, eax
nop word cs:[rax + rax]
cmp r9, r11
je 0x140021be6
mul rsi
seto bl
movzx edx, byte [r10 + r11]
add edx, 0xffffffd0
cmp edx, 9
ja 0x1400218a2
test bl, bl
jne 0x1400218a2
mov edx, edx
inc r11
add rax, rdx
jae 0x140021a30
jmp 0x1400218a2
lea rax, [r8 + r9]
mov r10, r8
jmp 0x140021a8c
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop dword [rax + rax]
mov r10, rdx
cmp rdx, rax
je 0x14002190a
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x140021a80
cmp r11b, 0xe0
jb 0x140021a70
cmp r11b, 0xed
jne 0x140021acf
cmp rdx, rax
je 0x14002190a
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x14002190a
cmp byte [r10 + 1], 0x9f
ja 0x1400233be
add r10, 3
mov rdx, r10
jmp 0x140021a80
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x140021a80
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x140021a80
cmp byte [r8], 0x2b
jne 0x140021ba8
lea r10, [r8 + 1]
lea rax, [r9 - 1]
cmp r9, 0x12
mov r9, rax
jb 0x140021bb5
xor r11d, r11d
mov esi, 0xa
xor eax, eax
nop word cs:[rax + rax]
cmp r9, r11
je 0x140021be6
mul rsi
seto bl
movzx edx, byte [r10 + r11]
add edx, 0xffffffd0
cmp edx, 9
ja 0x14002193e
test bl, bl
jne 0x14002193e
mov edx, edx
inc r11
add rax, rdx
jae 0x140021b30
jmp 0x14002193e
mov r10, r8
cmp r9, 0x11
jae 0x140021a19
xor edx, edx
xor eax, eax
nop dword [rax + rax]
movzx r11d, byte [r10 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x1400218a2
lea rax, [rax + rax*4]
mov r11d, r11d
lea rax, [r11 + rax*2]
inc rdx
cmp r9, rdx
jne 0x140021b80
jmp 0x140021be6
mov r10, r8
cmp r9, 0x11
jae 0x140021b19
xor edx, edx
xor eax, eax
nop dword [rax]
movzx r11d, byte [r10 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x14002193e
lea rax, [rax + rax*4]
mov r11d, r11d
lea rax, [r11 + rax*2]
inc rdx
cmp r9, rdx
jne 0x140021bc0
test rcx, rcx
je 0x140021c00
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, rsi
test rax, rax
mov rsi, qword [rsp + 0x70]
jne 0x140021c4f
xorps xmm0, xmm0
movaps xmmword [rsp + 0x220], xmm0
movaps xmmword [rsp + 0x210], xmm0
movaps xmmword [rsp + 0x200], xmm0
lea rcx, [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x220]
lea rax, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
mov ebx, 1
test rcx, rcx
cmovne rax, rcx
je 0x140021c5e
cmp rax, 0xffff
mov ebx, 0xffff
cmovb rbx, rax
movzx esi, byte [rsi + 0x59]
mov qword [rsp + 0x200], 0
mov qword [rsp + 0x208], 8
xorps xmm6, xmm6
movups xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x220], 8
mov qword [rsp + 0x228], 0
lea rdi, [rsp + 0x218]
lea rcx, [rsp + 0x200]
mov r8d, 0x20
mov rdx, rbx
call fcn.14004c010
mov r8d, 0x10
mov rcx, rdi
mov qword [rsp + 0x68], rbx
mov rdx, rbx
call fcn.14004c010
mov rax, qword [rsp + 0x208]
mov rdi, qword [rsp + 0x210]
mov r14, qword [rsp + 0x228]
mov rcx, qword [rsp + 0x220]
mov qword [rsp + 0x88], r14
shl r14, 4
mov qword [rsp + 0x80], rcx
add r14, rcx
mov qword [rsp + 0xc8], rdi
shl rdi, 5
mov qword [rsp + 0x1e0], rax
add rdi, rax
mov ebx, 8
xor r13d, r13d
nop word [rax + rax]
movzx eax, byte [0x1400ec9e8]
mov edx, 0x400
xor ecx, ecx
test sil, sil
je 0x140021de0
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov r15, rax
movzx eax, byte [0x1400ec9e8]
mov edx, 0x10
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], 0x40
movzx eax, byte [0x1400ec9e8]
mov edx, 0x200
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov rdx, rax
and rdx, 0xffffffffffffff80
lea rcx, [rdx + 0x80]
mov qword [rdx + 0x78], rax
mov qword [rdx + 0x80], 1
mov qword [rdx + 0x88], 1
mov qword [rdx + 0x100], r12
movaps xmmword [rdx + 0x180], xmm6
xor eax, eax
jmp 0x140021e6f
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov r15, rax
movzx eax, byte [0x1400ec9e8]
mov edx, 0x10
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], 0x40
movzx eax, byte [0x1400ec9e8]
mov edx, 0x200
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov rdx, rax
and rdx, 0xffffffffffffff80
lea rcx, [rdx + 0x80]
mov qword [rdx + 0x78], rax
mov qword [rdx + 0x80], 1
mov qword [rdx + 0x88], 1
mov qword [rdx + 0x100], r12
movaps xmmword [rdx + 0x180], xmm6
mov al, 1
lock inc qword [rcx]
jle 0x1400233ea
inc r13
mov qword [rdi + rbx*2 - 0x10], rcx
mov qword [rdi + rbx*2 - 8], r15
mov qword [rdi + rbx*2], 0x40
mov byte [rdi + rbx*2 + 8], al
mov qword [r14 + rbx - 8], rcx
mov byte [r14 + rbx], al
add rbx, 0x10
cmp qword [rsp + 0x68], r13
jne 0x140021d30
add qword [rsp + 0xc8], r13
add qword [rsp + 0x88], r13
mov rax, qword [rsp + 0x200]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x200], 0
mov qword [rsp + 0x208], 8
xorps xmm6, xmm6
movups xmmword [rsp + 0x210], xmm6
mov qword [rsp + 0x220], 8
mov qword [rsp + 0x228], 0
lea r15, [rsp + 0x218]
lea rcx, [rsp + 0x200]
mov r8d, 0x20
mov rsi, qword [rsp + 0x68]
mov rdx, rsi
call fcn.14004c010
mov r8d, 0x10
mov rcx, r15
mov rdx, rsi
call fcn.14004c010
mov rdi, qword [rsp + 0x210]
mov rax, qword [rsp + 0x220]
mov rbx, qword [rsp + 0x228]
mov qword [rsp + 0x1c0], rbx
shl rbx, 4
mov qword [rsp + 0x1c8], rax
add rbx, rax
mov r14, rdi
shl r14, 5
add r14, qword [rsp + 0x208]
mov r13d, 8
xor ecx, ecx
nop
mov rsi, rcx
movzx eax, byte [0x1400ec9e8]
mov edx, 0x400
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov r15, rax
movzx eax, byte [0x1400ec9e8]
mov edx, 0x10
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], 0x40
movzx eax, byte [0x1400ec9e8]
mov edx, 0x200
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov rcx, rax
and rax, 0xffffffffffffff80
mov qword [rax + 0x78], rcx
mov qword [rax + 0x80], 1
mov qword [rax + 0x88], 1
mov qword [rax + 0x100], r12
movaps xmmword [rax + 0x180], xmm6
lock inc qword [rax + 0x80]
jle 0x1400233ea
sub rax, 0xffffffffffffff80
lea rcx, [rsi + 1]
mov qword [r14 + r13*2 - 0x10], rax
mov qword [r14 + r13*2 - 8], r15
mov qword [r14 + r13*2], 0x40
mov byte [r14 + r13*2 + 8], 0
mov qword [rbx + r13 - 8], rax
mov byte [rbx + r13], 0
add r13, 0x10
cmp qword [rsp + 0x68], rcx
jne 0x140021f90
lea rax, [rdi + rsi]
inc rax
movups xmm0, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0x3b0], xmm0
mov qword [rsp + 0x3c0], rax
mov ecx, 0x28
mov r14, qword [rsp + 0x88]
mov rax, r14
mul rcx
jo 0x1400233ea
movabs rcx, 0x8000000000000000
add rcx, 0xfffffffffffffff8
cmp rax, rcx
ja 0x1400233ea
mov r12, qword [rsp + 0x218]
test rax, rax
mov rbx, qword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x80]
je 0x140022fd3
movzx ecx, byte [0x1400ec9e8]
xor ecx, ecx
mov rdx, rax
call fcn.140033a00
mov r15, rax
mov rax, r14
test r15, r15
je 0x1400233ea
mov qword [rsp + 0x1b8], r12
test r14, r14
mov qword [rsp + 0x1b0], rax
je 0x140022ff4
shl r14, 4
add r14, rdi
lea rax, [r15 + 0x20]
xor r12d, r12d
xorps xmm0, xmm0
mov rcx, rdi
nop dword [rax]
mov rdx, qword [rcx]
movzx r8d, byte [rcx + 8]
movups xmmword [rax - 0x20], xmm0
mov qword [rax - 0x10], 0
mov qword [rax - 8], rdx
mov byte [rax], r8b
inc r12
add rax, 0x28
add rcx, 0x10
cmp rcx, r14
jne 0x140022130
cmp qword [rsp + 0x1d8], 0
je 0x140022178
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdx, r13
shl rdx, 7
movzx eax, byte [0x1400ec9e8]
sub rdx, 0xffffffffffffff80
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov edx, eax
and edx, 0x7f
mov r14, rax
and r14, 0xffffffffffffff80
mov qword [r14 + 0x78], rax
lea r8, [r13 - 1]
mov ecx, r13d
and ecx, 3
cmp r8, 3
jae 0x1400221bf
xor r8d, r8d
jmp 0x140022215
mov r9d, r13d
and r9d, 0xfffc
mov r10, rax
sub r10, rdx
add r10, 0x200
xor r8d, r8d
nop dword [rax]
mov qword [r10 - 0x180], 0
mov qword [r10 - 0x100], 0
mov qword [r10 - 0x80], 0
add r8, 4
mov qword [r10], 0
add r10, 0x200
cmp r9, r8
jne 0x1400221e0
test rcx, rcx
je 0x140022241
shl r8, 7
sub r8, rdx
add rax, r8
add rax, 0x80
shl ecx, 7
xor edx, edx
nop
mov qword [rax + rdx], 0
sub rdx, 0xffffffffffffff80
cmp rcx, rdx
jne 0x140022230
movzx eax, byte [0x1400ec9e8]
mov edx, 0x5f0
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call fcn.14003fdf0
mov rax, qword [rsp + 0x3c0]
mov qword [rsp + 0x167], rax
movaps xmm0, xmmword [rsp + 0x3b0]
movups xmmword [rsp + 0x157], xmm0
movups xmm6, xmmword [rbx + 0x18]
movdqu xmm7, xmmword [rbx + 0x38]
movups xmm8, xmmword [rbx + 0x48]
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x38], 0
mov qword [rbx + 0x48], 0
movups xmm0, xmmword [rsp + 0x150]
mov rax, qword [rsp + 0x15f]
mov qword [rsp + 0x20f], rax
mov rax, qword [rsp + 0x167]
mov qword [rsp + 0x217], rax
movaps xmmword [rsp + 0x200], xmm0
movzx eax, byte [0x1400ec9e8]
mov edx, 0x300
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov rcx, qword [rsp + 0x1c0]
add rcx, rsi
inc rcx
mov rdx, rax
and rdx, 0xffffffffffffff80
mov qword [rdx + 0x78], rax
mov qword [rdx + 0x80], 1
mov qword [rdx + 0x88], 1
mov qword [rdx + 0x100], 0
mov qword [rdx + 0x108], rdi
mov qword [rdx + 0x180], 0
mov qword [rdx + 0x188], rdi
sub r14, 0xffffffffffffff80
mov byte [rdx + 0x200], 0
movaps xmm0, xmmword [rsp + 0x200]
movups xmmword [rdx + 0x201], xmm0
movups xmm0, xmmword [rsp + 0x20f]
movups xmmword [rdx + 0x210], xmm0
movaps xmmword [rdx + 0x220], xmm6
movdqa xmmword [rdx + 0x230], xmm7
movaps xmmword [rdx + 0x240], xmm8
mov qword [rdx + 0x250], 1
mov qword [rdx + 0x258], r13
mov qword [rdx + 0x260], r14
mov qword [rdx + 0x268], r13
mov qword [rdx + 0x270], 0
mov rax, qword [rsp + 0x1b0]
mov qword [rdx + 0x278], rax
mov qword [rdx + 0x280], r15
mov qword [rdx + 0x288], r12
lea rax, [rdx + 0x80]
mov qword [rsp + 0x78], rax
xorps xmm6, xmm6
movups xmmword [rsp + 0x190], xmm6
movups xmmword [rsp + 0x1a0], xmm6
mov r9, qword [rsp + 0x1e0]
mov qword [rsp + 0x150], r9
mov qword [rsp + 0x158], r9
mov rax, qword [rsp + 0x1d0]
mov qword [rsp + 0x160], rax
mov rdx, qword [rsp + 0xc8]
mov rax, rdx
shl rax, 5
add rax, r9
shl rcx, 4
mov r8, qword [rsp + 0x1c8]
add rcx, r8
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x168], rax
mov qword [rsp + 0x170], r8
mov qword [rsp + 0x178], r8
mov rax, qword [rsp + 0x1b8]
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rcx
test rdx, rdx
je 0x140023026
jmp 0x1400224a6
mov rcx, qword [rsp + 0x68]
mov r9, rcx
cmp rcx, qword [rsp + 0x80]
je 0x140023026
lea r8, [r9 + 0x20]
mov qword [rsp + 0x158], r8
movzx r14d, byte [r9 + 0x18]
cmp r14b, 2
je 0x140023026
mov rax, qword [r9 + 0x10]
mov qword [rsp + 0x210], rax
movups xmm0, xmmword [r9]
movaps xmmword [rsp + 0x200], xmm0
mov eax, dword [r9 + 0x19]
mov ecx, dword [r9 + 0x1c]
lea rdx, [rsp + 0x219]
mov dword [rdx + 3], ecx
mov dword [rdx], eax
mov byte [rsp + 0x218], r14b
mov rax, qword [rsp + 0x178]
cmp rax, qword [rsp + 0x188]
je 0x14002300b
mov qword [rsp + 0x68], r8
add r9, 0x19
lea rcx, [rax + 0x10]
mov qword [rsp + 0x178], rcx
mov r15, qword [rax]
movzx r13d, byte [rax + 8]
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x3e0], rax
movaps xmm0, xmmword [rsp + 0x200]
movaps xmmword [rsp + 0x3d0], xmm0
mov eax, dword [r9]
mov ecx, dword [r9 + 3]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x93], ecx
mov rdi, qword [rsp + 0x1a8]
lea rax, [rdi + 1]
mov qword [rsp + 0x1a8], rax
mov rsi, qword [rsp + 0x70]
mov rdx, qword [rsi + 0x28]
movabs rax, 0x8000000000000000
test rdx, rdx
je 0x1400225b8
mov rax, qword [rsi + 0x30]
lea rcx, [rsp + 0x200]
mov r8, rdi
call qword [rax + 0x20]
mov rax, qword [rsp + 0x200]
lea rcx, [rsp + 0x219]
movups xmm0, xmmword [rcx - 0x11]
movaps xmmword [rsp + 0xa0], xmm0
movdqu xmm7, xmmword [rsi]
mov rsi, qword [rsp + 0x78]
lock inc qword [rsi]
jle 0x1400233ea
mov qword [rsp + 0xe0], rax
movaps xmm0, xmmword [rsp + 0xa0]
lea r8, [rsp + 0xe8]
movups xmmword [r8], xmm0
movdqa xmmword [rsp + 0xd0], xmm7
mov rcx, qword [rsp + 0x3e0]
lea rdx, [rsp + 0x108]
mov qword [rdx + 0x10], rcx
movaps xmm0, xmmword [rsp + 0x3d0]
movups xmmword [rdx], xmm0
mov byte [rsp + 0x120], r14b
mov ecx, dword [rsp + 0x90]
mov edx, dword [rsp + 0x93]
mov dword [r8 + 0x3c], edx
mov dword [r8 + 0x39], ecx
mov qword [rsp + 0xf8], r15
mov byte [rsp + 0x100], r13b
mov qword [rsp + 0x128], rsi
mov qword [rsp + 0x130], rdi
test rdi, rdi
jne 0x1400227a0
mov rcx, qword [rsp + 0x70]
cmp byte [rcx + 0x58], 0
je 0x1400227a0
mov r14, rsi
mov ecx, dword [0x1400ec9ec]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp qword [rcx + 0x28], 0
lea rsi, [rsp + 0x200]
jne 0x1400232f8
mov rcx, rsi
lea rdx, [rsp + 0xd0]
call fcn.140020780
movzx eax, byte [0x1400ec9e8]
mov edx, 0x200
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov rdi, rax
and rdi, 0xffffffffffffff80
mov qword [rdi + 0x78], rax
sub rdi, 0xffffffffffffff80
mov r8d, 0x180
mov rcx, rdi
mov rdx, rsi
call fcn.14003f740
mov eax, dword [0x1400ec9ec]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x28], 0
jne 0x1400233ea
mov eax, dword [0x1400ec9ec]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x28], rdi
cmp qword [r14 + 0x208], 0
je 0x1400233ea
mov r14, qword [r14 + 0x200]
lea rdi, [r14 + 4]
xor eax, eax
mov cl, 1
lock cmpxchg byte [r14 + 4], cl
jne 0x140022b63
mov byte [r14 + 5], 1
lock inc dword [r14]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressAll]
xor eax, eax
xchg byte [r14 + 4], al
cmp al, 2
jne 0x140022766
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov rcx, qword [rsp + 0x158]
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x80], rax
mov r9, rcx
cmp rcx, qword [rsp + 0x80]
jne 0x1400224a6
jmp 0x140023026
movabs rcx, 0x8000000000000000
mov r15, rcx
cmp rax, rcx
je 0x140022802
mov rbx, qword [rsp + 0xf0]
test rbx, rbx
js 0x1400233ea
mov rdi, qword [rsp + 0xe8]
je 0x1400227eb
movzx eax, byte [0x1400ec9e8]
xor ecx, ecx
mov rdx, rbx
call fcn.140033a00
mov r12, rax
test rax, rax
jne 0x1400227f1
jmp 0x1400233ea
mov r12d, 1
mov rcx, r12
mov rdx, rdi
mov r8, rbx
call fcn.14003f740
mov r15, rbx
movd eax, xmm7
test al, 1
je 0x140022890
mov r13, qword [rsp + 0xd8]
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x260], rax
movaps xmm0, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x250], xmm0
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x240], xmm0
movaps xmm0, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x230], xmm0
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x220], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmmword [rsp + 0x210], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmmword [rsp + 0x200], xmm0
jmp 0x140022a40
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x260], rax
movaps xmm0, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x250], xmm0
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x240], xmm0
movaps xmm0, xmmword [rsp + 0xd0]
movaps xmm1, xmmword [rsp + 0xe0]
movaps xmm2, xmmword [rsp + 0xf0]
movaps xmm3, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x230], xmm3
movaps xmmword [rsp + 0x220], xmm2
movaps xmmword [rsp + 0x210], xmm1
movaps xmmword [rsp + 0x200], xmm0
mov r13, qword [0x1400ec948]
test r13, r13
je 0x140022914
dec r13
jmp 0x140022a40
mov r8d, 0xe
lea rcx, [rsp + 0xa0]
lea rdx, str.RUST_MIN_STACKmain
call fcn.140025c70
mov rdi, qword [rsp + 0xa0]
movabs rax, 0x8000000000000000
cmp rdi, rax
jne 0x140022950
mov r13d, 0x200000
jmp 0x140022a30
mov r14, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
lea rcx, [rsp + 0x138]
mov rdx, r14
call fcn.140017c50
test byte [rsp + 0x138], 1
jne 0x140022a13
mov r8, qword [rsp + 0x148]
test r8, r8
je 0x140022a13
mov rcx, qword [rsp + 0x140]
cmp r8, 1
jne 0x1400229b5
movzx eax, byte [rcx]
cmp eax, 0x2b
je 0x140022a13
mov r8d, 1
cmp eax, 0x2d
je 0x140022a13
jmp 0x140022b7a
cmp byte [rcx], 0x2b
jne 0x140022b70
inc rcx
lea rax, [r8 - 1]
cmp r8, 0x12
mov r8, rax
jb 0x140022b7a
xor r9d, r9d
xor r13d, r13d
nop dword [rax + rax]
cmp r8, r9
je 0x140022a19
mov rax, r13
mov edx, 0xa
mul rdx
seto r10b
movzx edx, byte [rcx + r9]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140022a13
test r10b, r10b
jne 0x140022a13
mov r13, rax
mov eax, edx
inc r9
add r13, rax
jae 0x1400229e0
mov r13d, 0x200000
test rdi, rdi
je 0x140022a30
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, [r13 + 1]
mov qword [0x1400ec948], rax
nop dword [rax + rax]
mov rax, qword [0x1400ec008]
nop word [rax + rax]
cmp rax, 0xffffffffffffffff
je 0x1400233ea
lea rdi, [rax + 1]
lock cmpxchg qword [0x1400ec008], rdi
jne 0x140022a50
movabs rax, 0x8000000000000000
cmp r15, rax
mov qword [rsp + 0x88], r13
jne 0x140022ac0
movzx eax, byte [0x1400ec9e8]
mov edx, 0x38
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 2
jmp 0x140022cef
cmp rbx, 0xf
movabs r10, 0x8080808080808080
movabs r11, 0x101010101010100
ja 0x140022b08
test rbx, rbx
je 0x140022b51
xor eax, eax
nop word cs:[rax + rax]
cmp byte [r12 + rax], 0
je 0x1400233ea
inc rax
cmp rbx, rax
jne 0x140022af0
jmp 0x140022c03
lea rax, [r12 + 7]
and rax, 0xfffffffffffffff8
sub rax, r12
jne 0x140022b21
lea rcx, [rbx - 0x10]
xor eax, eax
jmp 0x140022bb0
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [r12 + rcx], 0
je 0x1400233ea
inc rcx
cmp rax, rcx
jne 0x140022b30
lea rcx, [rbx - 0x10]
cmp rax, rcx
jbe 0x140022bb0
jmp 0x140022bdf
cmp r15, rbx
jne 0x140022c36
lea r13, [rbx + 1]
jmp 0x140022c74
mov rcx, rdi
call fcn.14004c3b0
jmp 0x140022741
cmp r8, 0x11
jae 0x1400229d2
xor eax, eax
xor r13d, r13d
nop
movzx edx, byte [rcx + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140022a13
lea r9, [r13*4]
add r9, r13
mov edx, edx
lea r13, [rdx + r9*2]
inc rax
cmp r8, rax
jne 0x140022b80
jmp 0x140022a19
mov rdx, qword [r12 + rax]
mov r8, qword [r12 + rax + 8]
mov r9, r11
sub r9, r8
or r9, r8
mov r8, r11
sub r8, rdx
or r8, rdx
and r8, r10
and r8, r9
cmp r8, r10
jne 0x140022bdf
add rax, 0x10
cmp rax, rcx
jbe 0x140022bb0
cmp rax, rbx
je 0x140022c03
nop word cs:[rax + rax]
cmp byte [r12 + rax], 0
je 0x1400233ea
inc rax
cmp rbx, rax
jne 0x140022bf0
cmp r15, rbx
jne 0x140022c36
mov r13, rbx
inc r13
je 0x1400233ea
js 0x1400233ea
test rbx, rbx
je 0x140022c74
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xb0], rbx
mov eax, 1
jmp 0x140022c76
lea r13, [rbx + 1]
mov byte [r12 + rbx], 0
cmp r15, r13
jbe 0x140022c6f
test r13, r13
je 0x140022f8a
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, r12
mov r9, r13
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov r15, rax
test rax, rax
jne 0x140022cb1
jmp 0x1400233ea
mov r15, r12
jmp 0x140022cb1
xor eax, eax
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x138]
mov rdx, r13
lea r8, [rsp + 0xa0]
call fcn.14000d3d0
cmp dword [rsp + 0x138], 1
je 0x1400233ea
mov r15, qword [rsp + 0x140]
mov byte [r15 + rbx], 0
movzx eax, byte [0x1400ec9e8]
mov edx, 0x38
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 1
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], r13
mov qword [r14 + 0x28], rdi
mov byte [r14 + 0x30], 0
lock inc qword [r14]
jle 0x1400233ea
movzx eax, byte [0x1400ec9e8]
mov edx, 0x30
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov r13, rax
mov qword [rax], 1
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm6
mov qword [rsp + 0xa0], rax
lock inc qword [rax]
jle 0x1400233ea
movzx eax, byte [0x1400ec950]
test al, al
je 0x140022df0
mov byte [0x1400ec950], 1
mov eax, dword [0x1400ec9ec]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
cmp rax, 1
jne 0x140022fa7
mov eax, dword [0x1400ec9ec]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov r15, qword [rax + 0x60]
mov qword [rax + 0x60], 0
test r15, r15
je 0x140022df0
lock inc qword [r15]
jle 0x1400233ea
mov byte [0x1400ec950], 1
mov eax, dword [0x1400ec9ec]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
cmp rax, 1
je 0x140022e2d
test rax, rax
je 0x140022fc9
jmp 0x1400233dc
movzx eax, byte [0x1400ec950]
test al, al
je 0x140022f6d
mov byte [0x1400ec950], 1
mov eax, dword [0x1400ec9ec]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
cmp rax, 1
jne 0x140022fba
xor r15d, r15d
mov eax, dword [0x1400ec9ec]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rcx, qword [rax + 0x60]
mov qword [rax + 0x60], r15
test rcx, rcx
je 0x140022e5e
lock dec qword [rcx]
jne 0x140022e5e
call fcn.140028e10
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140022e7a
lock inc qword [rcx + 0x18]
jle 0x1400233cf
movzx eax, byte [0x1400ec9e8]
mov edx, 0x80
xor ecx, ecx
call fcn.140033a00
test rax, rax
je 0x1400233ea
mov qword [rax], r14
mov qword [rax + 8], r13
mov qword [rax + 0x10], r15
movaps xmm0, xmmword [rsp + 0x200]
movaps xmm1, xmmword [rsp + 0x210]
movaps xmm2, xmmword [rsp + 0x220]
movaps xmm3, xmmword [rsp + 0x230]
movups xmmword [rax + 0x18], xmm0
movups xmmword [rax + 0x28], xmm1
movups xmmword [rax + 0x38], xmm2
movups xmmword [rax + 0x48], xmm3
movaps xmm0, xmmword [rsp + 0x240]
movups xmmword [rax + 0x58], xmm0
movaps xmm0, xmmword [rsp + 0x250]
movups xmmword [rax + 0x68], xmm0
mov rcx, qword [rsp + 0x260]
mov qword [rax + 0x78], rcx
mov rcx, qword [rsp + 0x88]
mov rdx, rax
lea r8, [0x1400debd8]
call fcn.140031d90
test rax, rax
jne 0x140023172
mov qword [rsp + 0x1e8], r14
mov qword [rsp + 0x1f0], rdi
mov qword [rsp + 0x1f8], rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lock dec qword [r14]
jne 0x140022f49
mov rcx, qword [rsp + 0x1e8]
call fcn.140024a30
mov rax, qword [rsp + 0x1f0]
lock dec qword [rax]
jne 0x140022490
lea rcx, [rsp + 0x1f0]
call fcn.140020c40
jmp 0x140022490
xor r15d, r15d
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x140022e6f
jmp 0x140022e7a
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r15d, 1
jmp 0x140022cb1
test rax, rax
jne 0x1400233ea
call fcn.14004c470
jmp 0x140022d80
mov r15d, 0
test rax, rax
jne 0x1400233ea
call fcn.14004c470
jmp 0x140022e2d
mov r15d, 8
xor eax, eax
mov qword [rsp + 0x1b8], r12
test r14, r14
mov qword [rsp + 0x1b0], rax
jne 0x140022119
xor r12d, r12d
cmp qword [rsp + 0x1d8], 0
jne 0x140022166
jmp 0x140022178
mov rax, qword [rsp + 0x200]
lock dec qword [rax]
jne 0x140023026
lea rcx, [rsp + 0x200]
call fcn.140033a30
lea rcx, [rsp + 0x150]
call fcn.1400233f0
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x98]
mov qword [rcx + 8], rax
mov qword [rcx], 3
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rbx + 0x18]
test rdi, rdi
je 0x14002308e
mov rsi, qword [rbx + 0x20]
mov rax, qword [rsi]
test rax, rax
je 0x14002306a
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x14002308e
cmp qword [rsi + 0x10], 0x11
jb 0x14002307c
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x1400230cc
mov rsi, qword [rbx + 0x30]
mov rax, qword [rsi]
test rax, rax
je 0x1400230a8
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x1400230cc
cmp qword [rsi + 0x10], 0x11
jb 0x1400230ba
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x14002310a
mov rsi, qword [rbx + 0x40]
mov rax, qword [rsi]
test rax, rax
je 0x1400230e6
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x14002310a
cmp qword [rsi + 0x10], 0x11
jb 0x1400230f8
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x140023148
mov rsi, qword [rbx + 0x50]
mov rax, qword [rsi]
test rax, rax
je 0x140023124
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x140023148
cmp qword [rsi + 0x10], 0x11
jb 0x140023136
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400ec9d0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
movaps xmm6, xmmword [rbp + 0x380]
movaps xmm7, xmmword [rbp + 0x390]
movaps xmm8, xmmword [rbp + 0x3a0]
lea rsp, [rbp + 0x3b8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lock dec qword [rdi]
jne 0x140023191
lea rcx, [rsp + 0xa0]
mov rdi, rsi
mov rsi, rdx
call fcn.140020c40
mov rdx, rsi
mov rsi, rdi
lock dec qword [r14]
jne 0x1400231ab
mov rcx, r14
mov rdi, rsi
mov rsi, rdx
call fcn.140024a30
mov rdx, rsi
mov rsi, rdi
mov rax, qword [rsp + 0x98]
mov qword [rax], 2
mov qword [rax + 8], rdx
lea rcx, [rsp + 0x150]
call fcn.1400233f0
mov qword [rsp + 0x68], rsi
lock dec qword [rsi + 0x1d0]
jne 0x1400232da
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x208]
test rax, rax
je 0x1400232da
mov rcx, qword [rsp + 0x68]
mov rsi, qword [rcx + 0x200]
shl rax, 3
lea rbx, [rax + rax*4]
mov r14d, 4
xor r12d, r12d
xor r13d, r13d
jmp 0x140023234
add r12, 0x28
sub r14, 0xffffffffffffff80
inc r13
cmp rbx, r12
je 0x1400232da
mov eax, 3
xchg qword [rsi + r12 + 0x10], rax
cmp rax, 2
jne 0x140023220
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x1e8], r13
jbe 0x1400233ea
mov r15, qword [rax + 0x1e0]
lea rdi, [r15 + r14]
xor eax, eax
mov cl, 1
lock cmpxchg byte [r15 + r14], cl
jne 0x1400232aa
cmp byte [r15 + r14 + 1], 0
je 0x1400232c0
lea rcx, [r15 + r14]
add rcx, 0xfffffffffffffffc
mov byte [r15 + r14 + 1], 0
lock inc dword [r15 + r14 - 4]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
mov rax, qword [rsp + 0x68]
lock dec qword [rax + 0x1f0]
xor eax, eax
xchg byte [rdi], al
cmp al, 2
jne 0x140023220
jmp 0x1400232cc
mov rcx, rdi
call fcn.14004c3b0
cmp byte [r15 + r14 + 1], 0
jne 0x140023275
nop word [rax + rax]
xor eax, eax
xchg byte [rdi], al
cmp al, 2
jne 0x140023220
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
jmp 0x140023220
mov rax, qword [rsp + 0x78]
lock dec qword [rax]
jne 0x14002304b
lea rcx, [rsp + 0x78]
call fcn.1400209e0
jmp 0x14002304b
mov rcx, qword [rsp + 0x98]
mov qword [rcx], 1
shl rax, 1
test rax, rax
jne 0x14002335d
mov rax, qword [rsp + 0x108]
lock dec qword [rax]
jne 0x140023382
lea rcx, [rsp + 0x108]
call fcn.140033a30
mov rax, qword [rsp + 0xf8]
lock dec qword [rax]
je 0x140023390
mov rax, qword [rsp + 0x128]
lock dec qword [rax]
jne 0x140023353
lea rcx, [rsp + 0x128]
call fcn.1400209e0
mov rsi, qword [rsp + 0x78]
jmp 0x1400231be
mov r8, qword [rsp + 0xe8]
mov rcx, qword [0x1400ec9d0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x108]
lock dec qword [rax]
je 0x14002331d
mov rax, qword [rsp + 0xf8]
lock dec qword [rax]
jne 0x140023338
lea rcx, [rsp + 0xf8]
call fcn.140033a30
mov rax, qword [rsp + 0x128]
lock dec qword [rax]
je 0x140023346
jmp 0x140023353
shl rcx, 1
test rcx, rcx
je 0x1400218bb
jmp 0x1400218ac
shl rcx, 1
test rcx, rcx
je 0x140021c0a
jmp 0x14002194c
add rcx, 0x10
xor edx, edx
call fcn.140024fc0
ud2
lock dec qword [r15]
jne 0x1400233ea
mov rcx, r15
call fcn.140028e10
ud2