Function at 0x140021d40
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 0x1400221bf
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUS
lea rcx, [rsp + 0x200]
mov r8d, 0x11
call fcn.140026020
mov rcx, qword [rsp + 0x200]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x140021e2b
mov r8, qword [rsp + 0x208]
mov r9, qword [rsp + 0x210]
test byte [rsp + 0x218], 1
je 0x140021e09
test r9, r9
je 0x140021e12
cmp r9, 1
jne 0x140021f6a
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x140021e12
mov r9d, 1
mov r10, r8
cmp eax, 0x2d
je 0x140021e12
jmp 0x1400220e4
test r9, r9
jne 0x140021ed0
test rcx, rcx
mov rsi, qword [rsp + 0x70]
je 0x140021e2b
mov rcx, qword [0x1400e89d8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rdx, [0x1400db041]
lea rcx, [rsp + 0x200]
mov r8d, 0x11
call fcn.140026020
mov rcx, qword [rsp + 0x200]
movabs rax, 0x8000000000000000
cmp rcx, rax
je 0x14002217a
mov r8, qword [rsp + 0x208]
mov r9, qword [rsp + 0x210]
test byte [rsp + 0x218], 1
je 0x140021ea5
test r9, r9
je 0x140021eae
cmp r9, 1
jne 0x14002206a
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x140021eae
mov r9d, 1
mov r10, r8
cmp eax, 0x2d
je 0x140021eae
jmp 0x140022125
test r9, r9
jne 0x140021fd7
test rcx, rcx
mov rsi, qword [rsp + 0x70]
je 0x14002217a
mov rcx, qword [0x1400e89d8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14002217a
lea rax, [r8 + r9]
mov r10, r8
jmp 0x140021efc
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop word cs:[rax + rax]
mov r10, rdx
cmp rdx, rax
je 0x140021dde
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x140021ef0
cmp r11b, 0xe0
jb 0x140021ed9
cmp r11b, 0xed
jne 0x140021f3f
cmp rdx, rax
je 0x140021dde
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x140021dde
cmp byte [r10 + 1], 0x9f
ja 0x14002391d
add r10, 3
mov rdx, r10
jmp 0x140021ef0
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x140021ef0
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x140021ef0
cmp byte [r8], 0x2b
jne 0x1400220d7
lea r10, [r8 + 1]
lea rax, [r9 - 1]
cmp r9, 0x12
mov r9, rax
jb 0x1400220e4
xor r11d, r11d
mov esi, 0xa
xor eax, eax
nop word cs:[rax + rax]
cmp r9, r11
je 0x140022156
mul rsi
seto bl
movzx edx, byte [r10 + r11]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140021e12
test bl, bl
jne 0x140021e12
mov edx, edx
inc r11
add rax, rdx
jae 0x140021fa0
jmp 0x140021e12
lea rax, [r8 + r9]
mov r10, r8
jmp 0x140021ffc
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop dword [rax + rax]
mov r10, rdx
cmp rdx, rax
je 0x140021e7a
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x140021ff0
cmp r11b, 0xe0
jb 0x140021fe0
cmp r11b, 0xed
jne 0x14002203f
cmp rdx, rax
je 0x140021e7a
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x140021e7a
cmp byte [r10 + 1], 0x9f
ja 0x14002392e
add r10, 3
mov rdx, r10
jmp 0x140021ff0
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x140021ff0
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x140021ff0
cmp byte [r8], 0x2b
jne 0x140022118
lea r10, [r8 + 1]
lea rax, [r9 - 1]
cmp r9, 0x12
mov r9, rax
jb 0x140022125
xor r11d, r11d
mov esi, 0xa
xor eax, eax
nop word cs:[rax + rax]
cmp r9, r11
je 0x140022156
mul rsi
seto bl
movzx edx, byte [r10 + r11]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140021eae
test bl, bl
jne 0x140021eae
mov edx, edx
inc r11
add rax, rdx
jae 0x1400220a0
jmp 0x140021eae
mov r10, r8
cmp r9, 0x11
jae 0x140021f89
xor edx, edx
xor eax, eax
nop dword [rax + rax]
movzx r11d, byte [r10 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x140021e12
lea rax, [rax + rax*4]
mov r11d, r11d
lea rax, [r11 + rax*2]
inc rdx
cmp r9, rdx
jne 0x1400220f0
jmp 0x140022156
mov r10, r8
cmp r9, 0x11
jae 0x140022089
xor edx, edx
xor eax, eax
nop dword [rax]
movzx r11d, byte [r10 + rdx]
add r11d, 0xffffffd0
cmp r11d, 9
ja 0x140021eae
lea rax, [rax + rax*4]
mov r11d, r11d
lea rax, [r11 + rax*2]
inc rdx
cmp r9, rdx
jne 0x140022130
test rcx, rcx
je 0x140022170
mov rcx, qword [0x1400e89d8]
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 0x1400221bf
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 0x1400221ce
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.14004c0e0
mov r8d, 0x10
mov rcx, rdi
mov qword [rsp + 0x68], rbx
mov rdx, rbx
call fcn.14004c0e0
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 [0x1400e89f0]
mov edx, 0x400
xor ecx, ecx
test sil, sil
je 0x140022350
call fcn.140033dc0
test rax, rax
je 0x14002395a
mov r15, rax
movzx eax, byte [0x1400e89f0]
mov edx, 0x10
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], 0x40
movzx eax, byte [0x1400e89f0]
mov edx, 0x200
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
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 0x1400223df
call fcn.140033dc0
test rax, rax
je 0x14002395a
mov r15, rax
movzx eax, byte [0x1400e89f0]
mov edx, 0x10
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], 0x40
movzx eax, byte [0x1400e89f0]
mov edx, 0x200
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
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 0x14002395a
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 0x1400222a0
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.14004c0e0
mov r8d, 0x10
mov rcx, r15
mov rdx, rsi
call fcn.14004c0e0
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 [0x1400e89f0]
mov edx, 0x400
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
mov r15, rax
movzx eax, byte [0x1400e89f0]
mov edx, 0x10
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
mov r12, rax
mov qword [rax], r15
mov qword [rax + 8], 0x40
movzx eax, byte [0x1400e89f0]
mov edx, 0x200
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
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 0x14002395a
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 0x140022500
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 0x14002395a
movabs rcx, 0x8000000000000000
add rcx, 0xfffffffffffffff8
cmp rax, rcx
ja 0x14002395a
mov r12, qword [rsp + 0x218]
test rax, rax
mov rbx, qword [rsp + 0x70]
mov r13, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x80]
je 0x140023543
movzx ecx, byte [0x1400e89f0]
xor ecx, ecx
mov rdx, rax
call fcn.140033dc0
mov r15, rax
mov rax, r14
test r15, r15
je 0x14002395a
mov qword [rsp + 0x1b8], r12
test r14, r14
mov qword [rsp + 0x1b0], rax
je 0x140023564
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 0x1400226a0
cmp qword [rsp + 0x1d8], 0
je 0x1400226e8
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdx, r13
shl rdx, 7
movzx eax, byte [0x1400e89f0]
sub rdx, 0xffffffffffffff80
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
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 0x14002272f
xor r8d, r8d
jmp 0x140022785
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 0x140022750
test rcx, rcx
je 0x1400227b1
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 0x1400227a0
movzx eax, byte [0x1400e89f0]
mov edx, 0x5f0
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call fcn.140040240
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 [0x1400e89f0]
mov edx, 0x300
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
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 0x140023596
jmp 0x140022a16
mov rcx, qword [rsp + 0x68]
mov r9, rcx
cmp rcx, qword [rsp + 0x80]
je 0x140023596
lea r8, [r9 + 0x20]
mov qword [rsp + 0x158], r8
movzx r14d, byte [r9 + 0x18]
cmp r14b, 2
je 0x140023596
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 0x14002357b
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 0x140022b28
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 0x14002395a
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 0x140022d10
mov rcx, qword [rsp + 0x70]
cmp byte [rcx + 0x58], 0
je 0x140022d10
mov r14, rsi
mov ecx, dword [0x1400e89f4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp qword [rcx + 0x28], 0
lea rsi, [rsp + 0x200]
jne 0x140023868
mov rcx, rsi
lea rdx, [rsp + 0xd0]
call fcn.140020a40
movzx eax, byte [0x1400e89f0]
mov edx, 0x200
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
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.14003fb90
mov eax, dword [0x1400e89f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x28], 0
jne 0x14002395a
mov eax, dword [0x1400e89f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x28], rdi
cmp qword [r14 + 0x208], 0
je 0x14002395a
mov r14, qword [r14 + 0x200]
lea rdi, [r14 + 4]
xor eax, eax
mov cl, 1
lock cmpxchg byte [r14 + 4], cl
jne 0x1400230d3
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 0x140022cd6
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 0x140022a16
jmp 0x140023596
movabs rcx, 0x8000000000000000
mov r15, rcx
cmp rax, rcx
je 0x140022d72
mov rbx, qword [rsp + 0xf0]
test rbx, rbx
js 0x14002395a
mov rdi, qword [rsp + 0xe8]
je 0x140022d5b
movzx eax, byte [0x1400e89f0]
xor ecx, ecx
mov rdx, rbx
call fcn.140033dc0
mov r12, rax
test rax, rax
jne 0x140022d61
jmp 0x14002395a
mov r12d, 1
mov rcx, r12
mov rdx, rdi
mov r8, rbx
call fcn.14003fb90
mov r15, rbx
movd eax, xmm7
test al, 1
je 0x140022e00
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 0x140022fb0
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 [0x1400e8948]
test r13, r13
je 0x140022e84
dec r13
jmp 0x140022fb0
mov r8d, 0xe
lea rcx, [rsp + 0xa0]
lea rdx, str.RUST_MIN_STACKfatal_runtime_error:_something_here_is_badly_broken__n
call fcn.140026020
mov rdi, qword [rsp + 0xa0]
movabs rax, 0x8000000000000000
cmp rdi, rax
jne 0x140022ec0
mov r13d, 0x200000
jmp 0x140022fa0
mov r14, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
lea rcx, [rsp + 0x138]
mov rdx, r14
call fcn.140017eb0
test byte [rsp + 0x138], 1
jne 0x140022f83
mov r8, qword [rsp + 0x148]
test r8, r8
je 0x140022f83
mov rcx, qword [rsp + 0x140]
cmp r8, 1
jne 0x140022f25
movzx eax, byte [rcx]
cmp eax, 0x2b
je 0x140022f83
mov r8d, 1
cmp eax, 0x2d
je 0x140022f83
jmp 0x1400230ea
cmp byte [rcx], 0x2b
jne 0x1400230e0
inc rcx
lea rax, [r8 - 1]
cmp r8, 0x12
mov r8, rax
jb 0x1400230ea
xor r9d, r9d
xor r13d, r13d
nop dword [rax + rax]
cmp r8, r9
je 0x140022f89
mov rax, r13
mov edx, 0xa
mul rdx
seto r10b
movzx edx, byte [rcx + r9]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140022f83
test r10b, r10b
jne 0x140022f83
mov r13, rax
mov eax, edx
inc r9
add r13, rax
jae 0x140022f50
mov r13d, 0x200000
test rdi, rdi
je 0x140022fa0
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rax, [r13 + 1]
mov qword [0x1400e8948], rax
nop dword [rax + rax]
mov rax, qword [0x1400e89b8]
nop word [rax + rax]
cmp rax, 0xffffffffffffffff
je 0x14002395a
lea rdi, [rax + 1]
lock cmpxchg qword [0x1400e89b8], rdi
jne 0x140022fc0
movabs rax, 0x8000000000000000
cmp r15, rax
mov qword [rsp + 0x88], r13
jne 0x140023030
movzx eax, byte [0x1400e89f0]
mov edx, 0x38
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 2
jmp 0x14002325f
cmp rbx, 0xf
movabs r10, 0x8080808080808080
movabs r11, 0x101010101010100
ja 0x140023078
test rbx, rbx
je 0x1400230c1
xor eax, eax
nop word cs:[rax + rax]
cmp byte [r12 + rax], 0
je 0x14002395a
inc rax
cmp rbx, rax
jne 0x140023060
jmp 0x140023173
lea rax, [r12 + 7]
and rax, 0xfffffffffffffff8
sub rax, r12
jne 0x140023091
lea rcx, [rbx - 0x10]
xor eax, eax
jmp 0x140023120
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [r12 + rcx], 0
je 0x14002395a
inc rcx
cmp rax, rcx
jne 0x1400230a0
lea rcx, [rbx - 0x10]
cmp rax, rcx
jbe 0x140023120
jmp 0x14002314f
cmp r15, rbx
jne 0x1400231a6
lea r13, [rbx + 1]
jmp 0x1400231e4
mov rcx, rdi
call fcn.14004c480
jmp 0x140022cb1
cmp r8, 0x11
jae 0x140022f42
xor eax, eax
xor r13d, r13d
nop
movzx edx, byte [rcx + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140022f83
lea r9, [r13*4]
add r9, r13
mov edx, edx
lea r13, [rdx + r9*2]
inc rax
cmp r8, rax
jne 0x1400230f0
jmp 0x140022f89
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 0x14002314f
add rax, 0x10
cmp rax, rcx
jbe 0x140023120
cmp rax, rbx
je 0x140023173
nop word cs:[rax + rax]
cmp byte [r12 + rax], 0
je 0x14002395a
inc rax
cmp rbx, rax
jne 0x140023160
cmp r15, rbx
jne 0x1400231a6
mov r13, rbx
inc r13
je 0x14002395a
js 0x14002395a
test rbx, rbx
je 0x1400231e4
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0xb0], rbx
mov eax, 1
jmp 0x1400231e6
lea r13, [rbx + 1]
mov byte [r12 + rbx], 0
cmp r15, r13
jbe 0x1400231df
test r13, r13
je 0x1400234fa
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, r12
mov r9, r13
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov r15, rax
test rax, rax
jne 0x140023221
jmp 0x14002395a
mov r15, r12
jmp 0x140023221
xor eax, eax
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x138]
mov rdx, r13
lea r8, [rsp + 0xa0]
call fcn.14000d650
cmp dword [rsp + 0x138], 1
je 0x14002395a
mov r15, qword [rsp + 0x140]
mov byte [r15 + rbx], 0
movzx eax, byte [0x1400e89f0]
mov edx, 0x38
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
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 0x14002395a
movzx eax, byte [0x1400e89f0]
mov edx, 0x30
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
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 0x14002395a
movzx eax, byte [0x1400e8950]
test al, al
je 0x140023360
mov byte [0x1400e8950], 1
mov eax, dword [0x1400e89f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
cmp rax, 1
jne 0x140023517
mov eax, dword [0x1400e89f4]
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 0x140023360
lock inc qword [r15]
jle 0x14002395a
mov byte [0x1400e8950], 1
mov eax, dword [0x1400e89f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
cmp rax, 1
je 0x14002339d
test rax, rax
je 0x140023539
jmp 0x14002394c
movzx eax, byte [0x1400e8950]
test al, al
je 0x1400234dd
mov byte [0x1400e8950], 1
mov eax, dword [0x1400e89f4]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 0x58]
cmp rax, 1
jne 0x14002352a
xor r15d, r15d
mov eax, dword [0x1400e89f4]
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 0x1400233ce
lock dec qword [rcx]
jne 0x1400233ce
call fcn.1400291c0
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400233ea
lock inc qword [rcx + 0x18]
jle 0x14002393f
movzx eax, byte [0x1400e89f0]
mov edx, 0x80
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x14002395a
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, [0x1400dafe8]
call fcn.140032140
test rax, rax
jne 0x1400236e2
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 0x1400234b9
mov rcx, qword [rsp + 0x1e8]
call fcn.140020dd0
mov rax, qword [rsp + 0x1f0]
lock dec qword [rax]
jne 0x140022a00
lea rcx, [rsp + 0x1f0]
call fcn.140020ca0
jmp 0x140022a00
xor r15d, r15d
mov rdi, qword [rsp + 0xa0]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jne 0x1400233df
jmp 0x1400233ea
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r15d, 1
jmp 0x140023221
test rax, rax
jne 0x14002395a
call fcn.14004c540
jmp 0x1400232f0
mov r15d, 0
test rax, rax
jne 0x14002395a
call fcn.14004c540
jmp 0x14002339d
mov r15d, 8
xor eax, eax
mov qword [rsp + 0x1b8], r12
test r14, r14
mov qword [rsp + 0x1b0], rax
jne 0x140022689
xor r12d, r12d
cmp qword [rsp + 0x1d8], 0
jne 0x1400226d6
jmp 0x1400226e8
mov rax, qword [rsp + 0x200]
lock dec qword [rax]
jne 0x140023596
lea rcx, [rsp + 0x200]
call fcn.140034050
lea rcx, [rsp + 0x150]
call fcn.140023960
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 0x1400235fe
mov rsi, qword [rbx + 0x20]
mov rax, qword [rsi]
test rax, rax
je 0x1400235da
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x1400235fe
cmp qword [rsi + 0x10], 0x11
jb 0x1400235ec
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx + 0x28]
test rdi, rdi
je 0x14002363c
mov rsi, qword [rbx + 0x30]
mov rax, qword [rsi]
test rax, rax
je 0x140023618
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x14002363c
cmp qword [rsi + 0x10], 0x11
jb 0x14002362a
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx + 0x38]
test rdi, rdi
je 0x14002367a
mov rsi, qword [rbx + 0x40]
mov rax, qword [rsi]
test rax, rax
je 0x140023656
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x14002367a
cmp qword [rsi + 0x10], 0x11
jb 0x140023668
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400e89d8]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbx + 0x48]
test rdi, rdi
je 0x1400236b8
mov rsi, qword [rbx + 0x50]
mov rax, qword [rsi]
test rax, rax
je 0x140023694
mov rcx, rdi
call rax
cmp qword [rsi + 8], 0
je 0x1400236b8
cmp qword [rsi + 0x10], 0x11
jb 0x1400236a6
mov rdi, qword [rdi - 8]
mov rcx, qword [0x1400e89d8]
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 0x140023701
lea rcx, [rsp + 0xa0]
mov rdi, rsi
mov rsi, rdx
call fcn.140020ca0
mov rdx, rsi
mov rsi, rdi
lock dec qword [r14]
jne 0x14002371b
mov rcx, r14
mov rdi, rsi
mov rsi, rdx
call fcn.140020dd0
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.140023960
mov qword [rsp + 0x68], rsi
lock dec qword [rsi + 0x1d0]
jne 0x14002384a
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 0x208]
test rax, rax
je 0x14002384a
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 0x1400237a4
add r12, 0x28
sub r14, 0xffffffffffffff80
inc r13
cmp rbx, r12
je 0x14002384a
mov eax, 3
xchg qword [rsi + r12 + 0x10], rax
cmp rax, 2
jne 0x140023790
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x1e8], r13
jbe 0x14002395a
mov r15, qword [rax + 0x1e0]
lea rdi, [r15 + r14]
xor eax, eax
mov cl, 1
lock cmpxchg byte [r15 + r14], cl
jne 0x14002381a
cmp byte [r15 + r14 + 1], 0
je 0x140023830
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 0x140023790
jmp 0x14002383c
mov rcx, rdi
call fcn.14004c480
cmp byte [r15 + r14 + 1], 0
jne 0x1400237e5
nop word [rax + rax]
xor eax, eax
xchg byte [rdi], al
cmp al, 2
jne 0x140023790
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
jmp 0x140023790
mov rax, qword [rsp + 0x78]
lock dec qword [rax]
jne 0x1400235bb
lea rcx, [rsp + 0x78]
call fcn.140033df0
jmp 0x1400235bb
mov rcx, qword [rsp + 0x98]
mov qword [rcx], 1
shl rax, 1
test rax, rax
jne 0x1400238cd
mov rax, qword [rsp + 0x108]
lock dec qword [rax]
jne 0x1400238f2
lea rcx, [rsp + 0x108]
call fcn.140034050
mov rax, qword [rsp + 0xf8]
lock dec qword [rax]
je 0x140023900
mov rax, qword [rsp + 0x128]
lock dec qword [rax]
jne 0x1400238c3
lea rcx, [rsp + 0x128]
call fcn.140033df0
mov rsi, qword [rsp + 0x78]
jmp 0x14002372e
mov r8, qword [rsp + 0xe8]
mov rcx, qword [0x1400e89d8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x108]
lock dec qword [rax]
je 0x14002388d
mov rax, qword [rsp + 0xf8]
lock dec qword [rax]
jne 0x1400238a8
lea rcx, [rsp + 0xf8]
call fcn.140034050
mov rax, qword [rsp + 0x128]
lock dec qword [rax]
je 0x1400238b6
jmp 0x1400238c3
shl rcx, 1
test rcx, rcx
je 0x140021e2b
jmp 0x140021e1c
shl rcx, 1
test rcx, rcx
je 0x14002217a
jmp 0x140021ebc
add rcx, 0x10
xor edx, edx
call fcn.140025370
ud2
lock dec qword [r15]
jne 0x14002395a
mov rcx, r15
call fcn.1400291c0
ud2