Function at 0x140057710
Capabilities:
Get system information on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x638
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x5a0], xmm7
movdqa xmmword [rbp + 0x590], xmm6
and rsp, 0xffffffffffffff80
mov rbx, rsp
mov qword [rbx + 0x600], rbp
mov qword [rbp + 0x588], 0xfffffffffffffffe
mov qword [rbx + 0x188], rcx
mov qword [rbx + 0xd8], rdx
mov r15, qword [rdx + 0x10]
test r15, r15
je 0x140057cfa
cmp r15, 0xffff
mov esi, 0xffff
cmovb rsi, r15
mov rax, qword [rbx + 0xd8]
movzx edi, byte [rax + 0x59]
mov qword [rbx + 0xf0], 0
mov qword [rbx + 0xf8], 8
pxor xmm6, xmm6
movdqu xmmword [rbx + 0x100], xmm6
mov qword [rbx + 0x110], 8
mov qword [rbx + 0x118], 0
mov qword [rbx + 0xb8], r15
test r15, r15
je 0x140057994
lea rcx, [rbx + 0xf0]
mov rdx, rsi
call fcn.14011a880
mov rax, qword [rbx + 0x108]
mov rdx, qword [rbx + 0x118]
lea r13, [rbx + 0x108]
sub rax, rdx
cmp rax, rsi
jae 0x140057808
mov rcx, r13
mov r8, rsi
call fcn.14011f460
xor r15d, r15d
xorps xmm7, xmm7
lea r14, [rbx + 0xf0]
mov byte [rbx + 0xa0], dil
nop dword [rax]
test dil, dil
je 0x140057850
lea rcx, [rbx + 0x230]
call fcn.14005a450
mov r12, qword [rbx + 0x230]
lock inc qword [r12]
jg 0x140057942
jmp 0x140059249
mov rdi, r14
mov r14, rsi
mov rsi, r13
movzx eax, byte [0x14016031c]
mov edx, 0x400
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x1400590a6
mov r13, rax
movzx eax, byte [0x14016031c]
mov edx, 0x10
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x140059092
mov qword [rax], r13
mov qword [rax + 8], 0x40
mov qword [rbx + 0x380], 1
mov qword [rbx + 0x388], 1
mov qword [rbx + 0x400], rax
lea rax, [rbx + 0x480]
movaps xmmword [rax], xmm7
movzx eax, byte [0x14016031c]
mov edx, 0x200
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x1400590ba
mov r12, rax
and r12, 0xffffffffffffff80
mov qword [r12 + 0x78], rax
sub r12, 0xffffffffffffff80
mov r8d, 0x180
mov rcx, r12
lea rdx, [rbx + 0x380]
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbx + 0x230], r12
mov qword [rbx + 0x238], r13
mov qword [rbx + 0x240], 0x40
mov byte [rbx + 0x248], 1
mov r13, rsi
mov rsi, r14
mov r14, rdi
movzx edi, byte [rbx + 0xa0]
lock inc qword [r12]
jle 0x140059249
movzx eax, byte [rbx + 0x248]
movdqu xmm0, xmmword [rbx + 0x230]
movdqu xmm1, xmmword [rbx + 0x240]
movdqa xmmword [rbx + 0x380], xmm0
movdqa xmmword [rbx + 0x390], xmm1
mov qword [rbx + 0x3a0], r12
mov byte [rbx + 0x3a8], al
mov rcx, r14
mov rdx, r13
lea r8, [rbx + 0x380]
call fcn.14005a5c0
inc r15
cmp r15, rsi
jne 0x140057820
movdqu xmm0, xmmword [rbx + 0xf0]
movdqu xmm1, xmmword [rbx + 0x100]
mov rax, qword [rbx + 0x110]
mov qword [rbx + 0x3a0], rax
mov rax, qword [rbx + 0x118]
mov qword [rbx + 0x3a8], rax
movdqa xmmword [rbx + 0x390], xmm1
movdqa xmmword [rbx + 0x380], xmm0
mov rax, qword [rbx + 0x390]
mov qword [rbx + 0x2e0], rax
movdqa xmmword [rbx + 0x2d0], xmm0
mov rax, qword [rbx + 0x3a8]
mov qword [rbx + 0x2a0], rax
mov rax, qword [rbx + 0x398]
mov qword [rbx + 0x290], rax
mov rax, qword [rbx + 0x3a0]
mov qword [rbx + 0x298], rax
mov qword [rbx + 0xf0], 0
mov qword [rbx + 0xf8], 8
movdqu xmmword [rbx + 0x100], xmm6
mov qword [rbx + 0x110], 8
mov qword [rbx + 0x118], 0
cmp qword [rbx + 0xb8], 0
je 0x140057b13
lea rcx, [rbx + 0xf0]
mov rdx, rsi
call fcn.14011a880
mov rax, qword [rbx + 0x108]
mov rdx, qword [rbx + 0x118]
lea rdi, [rbx + 0x108]
sub rax, rdx
cmp rax, rsi
jae 0x140057a89
mov rcx, rdi
mov r8, rsi
call fcn.14011f460
xor r13d, r13d
lea r14, [rbx + 0x230]
lea r15, [rbx + 0xf0]
lea r12, [rbx + 0x380]
nop word cs:[rax + rax]
mov rcx, r14
call fcn.14005a450
mov rax, qword [rbx + 0x230]
lock inc qword [rax]
jle 0x140059249
movzx ecx, byte [rbx + 0x248]
movdqu xmm0, xmmword [rbx + 0x230]
movdqu xmm1, xmmword [rbx + 0x240]
movdqa xmmword [rbx + 0x380], xmm0
movdqa xmmword [rbx + 0x390], xmm1
mov qword [rbx + 0x3a0], rax
mov byte [rbx + 0x3a8], cl
mov rcx, r15
mov rdx, rdi
mov r8, r12
call fcn.14005a5c0
inc r13
cmp r13, rsi
jne 0x140057ab0
movdqu xmm0, xmmword [rbx + 0xf0]
movdqu xmm1, xmmword [rbx + 0x100]
mov rax, qword [rbx + 0x110]
mov qword [rbx + 0x3a0], rax
mov rax, qword [rbx + 0x118]
mov qword [rbx + 0x3a8], rax
movdqa xmmword [rbx + 0x390], xmm1
movdqa xmmword [rbx + 0x380], xmm0
movdqa xmmword [rbx + 0x340], xmm0
mov rax, qword [rbx + 0x390]
mov qword [rbx + 0x350], rax
mov rax, qword [rbx + 0x3a8]
mov qword [rbx + 0x2c0], rax
mov rax, qword [rbx + 0x398]
mov qword [rbx + 0x2b0], rax
mov rax, qword [rbx + 0x3a0]
mov qword [rbx + 0x2b8], rax
mov rax, qword [rbx + 0x290]
mov rdi, qword [rbx + 0x298]
mov r13, qword [rbx + 0x2a0]
mov r12, r13
shl r12, 4
add r12, rdi
mov qword [rbx + 0x360], rdi
mov qword [rbx + 0x368], rdi
mov qword [rbx + 0x370], rax
mov qword [rbx + 0x378], r12
test r13, r13
je 0x140057dd0
mov qword [rbx + 0xa0], rax
movabs rax, 0x333333333333333
cmp r13, rax
ja 0x140059226
lea rax, [r13*8]
lea r15, [rax + rax*4]
movzx eax, byte [0x14016031c]
xor ecx, ecx
mov rdx, r15
call fcn.1400fd810
test rax, rax
je 0x14005922d
mov r14, rax
xor r15d, r15d
mov rcx, rdi
nop dword [rax]
mov rdx, qword [rcx]
movzx r8d, byte [rcx + 8]
mov dword [rax], 0
mov word [rax + 4], 0
mov byte [rax + 6], 0
mov dword [rax + 8], 0
mov word [rax + 0xc], 0
mov byte [rax + 0xe], 0
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], rdx
mov byte [rax + 0x20], r8b
inc r15
add rax, 0x28
add rcx, 0x10
cmp rcx, r12
jne 0x140057c20
mov rax, qword [rbx + 0xa0]
test rax, rax
je 0x140057c87
mov rcx, qword [0x1401602a0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapFree]
mov qword [rbx + 0x230], r13
mov qword [rbx + 0x238], r14
mov qword [rbx + 0x240], r15
cmp qword [rbx + 0xb8], 0
je 0x140057de7
mov rdi, rsi
shl rdi, 7
movzx eax, byte [0x14016031c]
lea rdx, [rdi + 0x80]
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x14005923c
mov edx, eax
and edx, 0x7f
mov r15, rax
and r15, 0xffffffffffffff80
mov qword [r15 + 0x78], rax
mov ecx, esi
and ecx, 3
cmp qword [rbx + 0xb8], 4
jae 0x140057df2
xor r8d, r8d
jmp 0x140057e87
lea rdx, str.RAYON_NUM_THREADSRAYON_RS_NUM_CPUSThreadPoolBuildError
lea rcx, [rbx + 0x380]
mov r8d, 0x11
call fcn.1400f8510
mov rcx, qword [rbx + 0x380]
movabs rsi, 0x8000000000000000
cmp rcx, rsi
je 0x140058dd4
mov r8, qword [rbx + 0x388]
mov r9, qword [rbx + 0x390]
cmp byte [rbx + 0x398], 0
je 0x140058b79
test r9, r9
je 0x140058d74
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x140058d32
cmp eax, 0x2d
jne 0x140057d6d
cmp r9, 1
je 0x140058d74
mov r10, r8
cmp r9, 0x10
jbe 0x140058d45
xor r11d, r11d
mov edi, 0xa
xor r15d, r15d
nop word cs:[rax + rax]
cmp r9, r11
je 0x140058d6f
movzx r14d, byte [r10 + r11]
mov rax, r15
mul rdi
seto dl
add r14d, 0xffffffd0
cmp r14d, 9
ja 0x140058d74
test dl, dl
jne 0x140058d74
mov r15, rax
mov eax, r14d
inc r11
add r15, rax
jae 0x140057d90
jmp 0x140058d74
mov r14d, 8
xor r15d, r15d
test rax, rax
jne 0x140057c75
jmp 0x140057c87
mov r15d, 0x80
jmp 0x140057ecc
mov r9d, esi
and r9d, 0xfffc
mov r10, rax
sub r10, rdx
add r10, 0x206
xor r8d, r8d
nop dword [rax]
mov dword [r10 - 0x186], 0
mov word [r10 - 0x182], 0
mov byte [r10 - 0x180], 0
mov dword [r10 - 0x106], 0
mov word [r10 - 0x102], 0
mov byte [r10 - 0x100], 0
mov dword [r10 - 0x86], 0
mov word [r10 - 0x82], 0
mov byte [r10 - 0x80], 0
add r8, 4
mov dword [r10 - 6], 0
mov word [r10 - 2], 0
mov byte [r10], 0
add r10, 0x200
cmp r9, r8
jne 0x140057e10
sub r15, 0xffffffffffffff80
test rcx, rcx
je 0x140057ecc
shl r8, 7
sub r8, rdx
add rax, r8
add rax, 0x86
shl ecx, 7
xor edx, edx
nop word cs:[rax + rax]
mov dword [rax + rdx - 6], 0
mov word [rax + rdx - 2], 0
mov byte [rax + rdx], 0
sub rdx, 0xffffffffffffff80
cmp rcx, rdx
jne 0x140057eb0
movzx eax, byte [0x14016031c]
mov edx, 0x5f0
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x1400591c9
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rbx + 0x350]
mov qword [rbx + 0x106], rax
movaps xmm0, xmmword [rbx + 0x340]
movups xmmword [rbx + 0xf6], xmm0
mov rax, qword [rbx + 0x240]
mov qword [rbx + 0x588], rax
movups xmm0, xmmword [rbx + 0x230]
movups xmmword [rbx + 0x578], xmm0
movups xmm0, xmmword [rbx + 0xf0]
movups xmmword [rbx + 0x502], xmm0
mov rax, qword [rbx + 0xfe]
mov qword [rbx + 0x510], rax
mov rax, qword [rbx + 0x106]
mov qword [rbx + 0x518], rax
mov qword [rbx + 0x380], 1
mov qword [rbx + 0x388], 1
mov qword [rbx + 0x400], 0
mov qword [rbx + 0x408], rdi
mov qword [rbx + 0x480], 0
mov qword [rbx + 0x488], rdi
mov word [rbx + 0x500], 0
mov r14, qword [rbx + 0xd8]
movups xmm0, xmmword [r14 + 0x18]
mov qword [r14 + 0x18], 0
movaps xmmword [rbx + 0x520], xmm0
movups xmm0, xmmword [r14 + 0x38]
mov qword [r14 + 0x38], 0
movaps xmmword [rbx + 0x530], xmm0
movdqu xmm0, xmmword [r14 + 0x48]
mov qword [r14 + 0x48], 0
movdqa xmmword [rbx + 0x540], xmm0
mov qword [rbx + 0x550], 1
mov qword [rbx + 0x558], rsi
mov qword [rbx + 0x560], r15
mov qword [rbx + 0x568], rsi
mov qword [rbx + 0x570], 0
movzx eax, byte [0x14016031c]
mov edx, 0x300
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x1400591e1
movabs r15, 0x8000000000000000
mov rsi, rax
and rsi, 0xffffffffffffff80
mov qword [rsi + 0x78], rax
sub rsi, 0xffffffffffffff80
lea rdx, [rbx + 0x380]
mov r8d, 0x280
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbx + 0x1a0], rsi
mov qword [rbx + 0xc0], rsi
mov rdx, qword [rbx + 0x2d0]
mov rax, qword [rbx + 0x2d8]
mov r9, qword [rbx + 0x2e0]
shl r9, 5
add r9, rax
mov r8, qword [rbx + 0x2b0]
mov rcx, qword [rbx + 0x2b8]
mov r10, qword [rbx + 0x2c0]
shl r10, 4
add r10, rcx
pxor xmm0, xmm0
movdqu xmmword [rbx + 0x270], xmm0
movdqu xmmword [rbx + 0x280], xmm0
mov qword [rbx + 0x230], rax
mov qword [rbx + 0x238], rax
mov qword [rbx + 0x240], rdx
mov qword [rbx + 0x328], r9
mov qword [rbx + 0x248], r9
mov qword [rbx + 0x250], rcx
mov qword [rbx + 0x258], rcx
mov qword [rbx + 0x260], r8
mov qword [rbx + 0x320], r10
mov qword [rbx + 0x268], r10
mov rdx, qword [r14]
mov qword [rbx + 0x1a8], rdx
mov rdx, qword [r14 + 8]
mov qword [rbx + 0x220], rdx
mov rdx, qword [r14 + 0x28]
mov qword [rbx + 0x228], rdx
mov rdx, qword [r14 + 0x30]
mov qword [rbx + 0x318], rdx
movzx edx, byte [r14 + 0x58]
mov byte [rbx + 0x9f], dl
movdqa xmm6, xmmword [0x1401237e0]
xor r12d, r12d
cmp rax, qword [rbx + 0x328]
jne 0x14005816e
jmp 0x140058a60
mov r12, qword [rbx + 0xb8]
mov rcx, qword [rbx + 0xa0]
mov rax, r13
cmp rax, qword [rbx + 0x328]
je 0x140058a60
lea r13, [rax + 0x20]
mov qword [rbx + 0x238], r13
movzx edx, byte [rax + 0x18]
cmp dl, 2
je 0x140058a60
mov r8, qword [rax + 0x10]
mov qword [rbx + 0x390], r8
movups xmm0, xmmword [rax]
movaps xmmword [rbx + 0x380], xmm0
mov r8d, dword [rax + 0x19]
mov r9d, dword [rax + 0x1c]
lea r10, [rbx + 0x380]
mov dword [r10 + 0x1c], r9d
mov dword [r10 + 0x19], r8d
mov byte [rbx + 0x398], dl
cmp rcx, qword [rbx + 0x320]
je 0x140058a47
lea r8, [rax + 0x19]
lea r9, [rcx + 0x10]
lea r10, [r12 + 1]
mov qword [rbx + 0xa0], r9
mov qword [rbx + 0x258], r9
mov r9, r15
mov r15, qword [rcx]
movzx r14d, byte [rcx + 8]
mov qword [rbx + 0xb8], r10
mov qword [rbx + 0x288], r10
mov rcx, qword [rax + 0x10]
mov qword [rbx + 0x300], rcx
movups xmm0, xmmword [rax]
movaps xmmword [rbx + 0x2f0], xmm0
mov eax, dword [r8]
mov ecx, dword [r8 + 3]
lea r8, [rbx + 0x309]
mov dword [r8 + 3], ecx
mov dword [r8], eax
mov byte [rbx + 0x308], dl
mov qword [rbx + 0x330], r15
mov byte [rbx + 0x338], r14b
mov rdi, r9
mov rax, r9
cmp qword [rbx + 0x228], 0
je 0x140058288
mov rax, qword [rbx + 0x318]
mov rax, qword [rax + 0x20]
mov byte [rbx + 0x8e], 1
lea rcx, [rbx + 0x380]
mov rdx, qword [rbx + 0x228]
mov r8, r12
call rax
mov rax, qword [rbx + 0x380]
mov rcx, qword [rbx + 0x388]
mov qword [rbx + 0x1b0], rcx
mov rsi, qword [rbx + 0x390]
mov rcx, qword [rbx + 0x1a0]
lock inc qword [rcx]
jle 0x140059249
movdqa xmm0, xmmword [rbx + 0x2f0]
movdqa xmm1, xmmword [rbx + 0x300]
lea rdx, [rbx + 0x1f0]
movdqu xmmword [rdx + 0x10], xmm1
movdqu xmmword [rdx], xmm0
mov qword [rbx + 0x1c8], rax
mov rdx, qword [rbx + 0x1b0]
mov qword [rbx + 0x1d0], rdx
mov qword [rbx + 0x1d8], rsi
mov rdx, qword [rbx + 0x1a8]
mov qword [rbx + 0x1b8], rdx
mov rdx, qword [rbx + 0x220]
mov qword [rbx + 0x1c0], rdx
mov qword [rbx + 0x1e0], r15
mov byte [rbx + 0x1e8], r14b
mov qword [rbx + 0x210], rcx
mov qword [rbx + 0x218], r12
test r12, r12
jne 0x140058430
cmp byte [rbx + 0x9f], 0
je 0x140058430
mov ecx, dword [0x140160320]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp qword [rcx + 0x58], 0
jne 0x140058ab3
mov byte [rbx + 0x8e], 0
lea rcx, [rbx + 0x380]
lea rdx, [rbx + 0x1b8]
call fcn.140055290
movzx eax, byte [0x14016031c]
mov edx, 0x200
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x1400590f6
mov r12, rax
and r12, 0xffffffffffffff80
mov qword [r12 + 0x78], rax
sub r12, 0xffffffffffffff80
mov r8d, 0x180
mov rcx, r12
lea rdx, [rbx + 0x380]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x140160320]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0x58], 0
jne 0x14005910a
mov eax, dword [0x140160320]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov qword [rax + 0x58], r12
mov rax, qword [rbx + 0x1a0]
cmp qword [rax + 0x208], 0
je 0x140059019
mov rcx, qword [rax + 0x200]
mov byte [rbx + 0x8e], 0
call fcn.1400557a0
mov r12, qword [rbx + 0xb8]
mov rcx, qword [rbx + 0xa0]
mov rax, r13
mov r15, rdi
cmp rax, qword [rbx + 0x328]
jne 0x14005816e
jmp 0x140058a60
mov r15, rdi
cmp rax, rdi
jne 0x1400584d0
mov r12, qword [rbx + 0x220]
mov r14, r15
cmp qword [rbx + 0x1a8], 0
jne 0x140058529
mov rax, qword [rbx + 0x218]
mov qword [rbx + 0x150], rax
movups xmm0, xmmword [rbx + 0x208]
movaps xmmword [rbx + 0x140], xmm0
movups xmm0, xmmword [rbx + 0x1f8]
movaps xmmword [rbx + 0x130], xmm0
movdqu xmm0, xmmword [rbx + 0x1b8]
movdqu xmm1, xmmword [rbx + 0x1c8]
movups xmm2, xmmword [rbx + 0x1d8]
movups xmm3, xmmword [rbx + 0x1e8]
movaps xmmword [rbx + 0x120], xmm3
movaps xmmword [rbx + 0x110], xmm2
movdqa xmmword [rbx + 0x100], xmm1
movdqa xmmword [rbx + 0xf0], xmm0
mov r14, r15
jmp 0x140058621
test rsi, rsi
je 0x1400584fa
js 0x1400591b8
movzx eax, byte [0x14016031c]
xor ecx, ecx
mov rdx, rsi
call fcn.1400fd810
test rax, rax
je 0x14005919f
mov rdi, rax
jmp 0x1400584ff
mov edi, 1
mov rcx, rdi
mov rdx, qword [rbx + 0x1b0]
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
cmp qword [rbx + 0x1a8], 0
je 0x1400585b8
mov r12, qword [rbx + 0x1c0]
mov r14, rsi
mov rax, qword [rbx + 0x218]
mov qword [rbx + 0x150], rax
movups xmm0, xmmword [rbx + 0x208]
movaps xmmword [rbx + 0x140], xmm0
movups xmm0, xmmword [rbx + 0x1f8]
movaps xmmword [rbx + 0x130], xmm0
movdqu xmm0, xmmword [rbx + 0x1b8]
movdqu xmm1, xmmword [rbx + 0x1c8]
movups xmm2, xmmword [rbx + 0x1d8]
movups xmm3, xmmword [rbx + 0x1e8]
movaps xmmword [rbx + 0x120], xmm3
movaps xmmword [rbx + 0x110], xmm2
movdqa xmmword [rbx + 0x100], xmm1
movdqa xmmword [rbx + 0xf0], xmm0
mov qword [rbx + 0xe8], 0
cmp r14, r15
mov qword [rbx + 0x198], rdi
mov qword [rbx + 0x190], r14
jne 0x14005866e
xor eax, eax
jmp 0x140058787
mov rax, qword [rbx + 0x218]
mov qword [rbx + 0x150], rax
movups xmm0, xmmword [rbx + 0x208]
movaps xmmword [rbx + 0x140], xmm0
movups xmm0, xmmword [rbx + 0x1f8]
movaps xmmword [rbx + 0x130], xmm0
movdqu xmm0, xmmword [rbx + 0x1b8]
movdqu xmm1, xmmword [rbx + 0x1c8]
movups xmm2, xmmword [rbx + 0x1d8]
movups xmm3, xmmword [rbx + 0x1e8]
movaps xmmword [rbx + 0x120], xmm3
movaps xmmword [rbx + 0x110], xmm2
movdqa xmmword [rbx + 0x100], xmm1
movdqa xmmword [rbx + 0xf0], xmm0
mov r14, rsi
mov qword [rbx + 0xe8], 0
mov qword [rbx + 0xc8], r14
mov qword [rbx + 0xd0], rdi
mov byte [rbx + 0x93], 1
mov byte [rbx + 0x94], 1
mov byte [rbx + 0x95], 1
call fcn.1400fcac0
mov r12, rax
cmp r14, r15
mov qword [rbx + 0x198], rdi
mov qword [rbx + 0x190], r14
je 0x1400585b1
cmp rsi, 0x10
jae 0x140058697
test rsi, rsi
je 0x140058743
xor ecx, ecx
nop
cmp byte [rdi + rcx], 0
je 0x140059038
inc rcx
cmp rsi, rcx
jne 0x140058680
jmp 0x140058743
lea rax, [rdi + 7]
and rax, 0xfffffffffffffff8
sub rax, rdi
jne 0x1400586ac
lea rcx, [rsi - 0x10]
xor eax, eax
jmp 0x1400586e5
cmp rax, rsi
cmovae rax, rsi
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [rdi + rcx], 0
je 0x140059038
inc rcx
cmp rax, rcx
jne 0x1400586c0
lea rcx, [rsi - 0x10]
nop word cs:[rax + rax]
cmp rax, rcx
ja 0x140058719
movdqu xmm0, xmmword [rdi + rax]
movdqa xmm1, xmm0
paddq xmm1, xmm6
pandn xmm0, xmm1
pshufd xmm1, xmm0, 0xee
por xmm1, xmm0
movq rdx, xmm1
movabs r8, 0x8080808080808080
test rdx, r8
jne 0x140058719
add rax, 0x10
jmp 0x1400586e0
mov rdx, rsi
sub rdx, rax
je 0x140058743
lea r8, [rdi + rax]
xor ecx, ecx
nop word [rax + rax]
cmp byte [r8 + rcx], 0
je 0x140059035
inc rcx
cmp rdx, rcx
jne 0x140058730
mov qword [rbx + 0x158], r14
mov qword [rbx + 0x160], rdi
mov qword [rbx + 0x168], rsi
mov qword [rbx + 0xc8], r14
mov qword [rbx + 0xd0], rdi
mov byte [rbx + 0x93], 0
mov byte [rbx + 0x94], 1
mov byte [rbx + 0x95], 1
lea rcx, [rbx + 0x158]
call fcn.14003a7c0
mov qword [rbx + 0xc8], r14
mov qword [rbx + 0xd0], rdi
mov byte [rbx + 0x93], 0
mov byte [rbx + 0x94], 1
mov byte [rbx + 0x95], 1
mov rcx, rax
call fcn.1400f20e0
mov qword [rbx + 0xa8], rax
lock inc qword [rax]
jle 0x140059249
mov rax, qword [rbx + 0xe8]
mov qword [rbx + 0x158], 1
mov qword [rbx + 0x160], 1
mov qword [rbx + 0x168], rax
mov qword [rbx + 0x170], 0
movzx eax, byte [0x14016031c]
mov edx, 0x30
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x1400590e2
movups xmm0, xmmword [rbx + 0x158]
movups xmm1, xmmword [rbx + 0x168]
movups xmm2, xmmword [rbx + 0x178]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
lock inc qword [rax]
jle 0x140059249
movzx ecx, byte [0x1401601f0]
test cl, cl
mov qword [rbx + 0xb0], rax
je 0x1400588b0
mov byte [0x1401601f0], 1
mov eax, dword [0x140160320]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
cmp qword [rax + 0xc8], 0
je 0x140058877
lea rax, [rax + 0xd0]
jmp 0x14005888c
mov byte [rbx + 0x96], 1
call fcn.1400fc280
test rax, rax
je 0x1400591f2
mov rcx, qword [rax]
mov qword [rax], 0
test rcx, rcx
je 0x1400588b0
lock inc qword [rcx]
jg 0x1400588b2
jmp 0x140059249
xor ecx, ecx
mov byte [rbx + 0x9b], 0
mov byte [rbx + 0x9c], 1
mov qword [rbx + 0xe0], rcx
call fcn.1400fc190
test rax, rax
je 0x1400588df
lock dec qword [rax]
jne 0x1400588df
mov rcx, rax
call fcn.140056150
mov rax, qword [rbx + 0xa8]
mov qword [rbx + 0x380], rax
mov rax, qword [rbx + 0xe0]
mov qword [rbx + 0x390], rax
mov rax, qword [rbx + 0x150]
lea rcx, [rbx + 0x380]
mov qword [rcx + 0x78], rax
movaps xmm0, xmmword [rbx + 0x140]
movups xmmword [rcx + 0x68], xmm0
movaps xmm0, xmmword [rbx + 0x130]
movups xmmword [rcx + 0x58], xmm0
movaps xmm0, xmmword [rbx + 0xf0]
movaps xmm1, xmmword [rbx + 0x100]
movaps xmm2, xmmword [rbx + 0x110]
movaps xmm3, xmmword [rbx + 0x120]
movups xmmword [rcx + 0x48], xmm3
movups xmmword [rcx + 0x38], xmm2
movups xmmword [rcx + 0x28], xmm1
movups xmmword [rcx + 0x18], xmm0
mov rax, qword [rbx + 0xb0]
mov qword [rbx + 0x388], rax
mov rax, qword [rax + 0x10]
test rax, rax
je 0x140058971
lock inc qword [rax + 0x18]
jle 0x14005912e
movzx eax, byte [0x14016031c]
mov edx, 0x80
xor ecx, ecx
call fcn.1400fd810
test rax, rax
je 0x1400590ce
movups xmm0, xmmword [rbx + 0x3f0]
movups xmmword [rax + 0x70], xmm0
movups xmm0, xmmword [rbx + 0x3e0]
movups xmmword [rax + 0x60], xmm0
movups xmm0, xmmword [rbx + 0x3d0]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [rbx + 0x3c0]
movups xmmword [rax + 0x40], xmm0
movdqu xmm0, xmmword [rbx + 0x380]
movdqu xmm1, xmmword [rbx + 0x390]
movups xmm2, xmmword [rbx + 0x3a0]
movups xmm3, xmmword [rbx + 0x3b0]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
mov byte [rbx + 0x97], 0
mov rcx, r12
mov rdx, rax
lea r8, fcn.1400561a0
call fcn.1400fcc10
test rax, rax
jne 0x140058b11
mov rcx, rdx
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rcx, qword [rbx + 0xa8]
lock dec qword [rcx]
jne 0x140058a25
call fcn.140053c60
mov rcx, qword [rbx + 0xb0]
lock dec qword [rcx]
jne 0x140058150
mov byte [rbx + 0x8f], 0
call fcn.140056110
jmp 0x140058150
mov rax, qword [rbx + 0x380]
lock dec qword [rax]
jne 0x140058a60
lea rcx, [rbx + 0x380]
call fcn.1400558d0
lea rcx, [rbx + 0x230]
call fcn.14005a8e0
mov rax, qword [rbx + 0xc0]
mov rcx, qword [rbx + 0x188]
mov qword [rcx + 8], rax
mov qword [rcx], 3
mov rcx, qword [rbx + 0xd8]
call fcn.14005a110
movaps xmm6, xmmword [rbp + 0x590]
movaps xmm7, xmmword [rbp + 0x5a0]
lea rsp, [rbp + 0x5b8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, qword [rbx + 0x188]
mov qword [rcx], 1
shl rax, 1
test rax, rax
jne 0x140058c1a
mov rax, qword [rbx + 0x1f0]
lock dec qword [rax]
jne 0x140058c41
lea rcx, [rbx + 0x1f0]
call fcn.1400558d0
mov rax, qword [rbx + 0x1e0]
lock dec qword [rax]
je 0x140058c52
mov rax, qword [rbx + 0x210]
lock dec qword [rax]
je 0x140058c6b
jmp 0x140058c7e
mov rcx, qword [rbx + 0xb0]
lock dec qword [rcx]
jne 0x140058b29
mov rsi, rdx
call fcn.140056110
mov rdx, rsi
mov rcx, qword [rbx + 0xa8]
lock dec qword [rcx]
jne 0x140058b41
mov rsi, rdx
call fcn.140053c60
mov rdx, rsi
mov rax, qword [rbx + 0x188]
mov qword [rax], 2
mov qword [rax + 8], rdx
mov rsi, qword [rbx + 0x1a0]
lea rcx, [rbx + 0x230]
call fcn.14005a8e0
lock dec qword [rsi + 0x1d0]
je 0x140058c9b
jmp 0x140058cfb
test r9, r9
je 0x140058d74
lea rax, [r8 + r9]
mov r10, r8
jmp 0x140058bac
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop word cs:[rax + rax]
mov r10, rdx
cmp rdx, rax
je 0x140057d48
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x140058ba0
cmp r11b, 0xe0
jb 0x140058b8b
cmp r11b, 0xed
jne 0x140058bef
cmp rdx, rax
je 0x140057d48
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x140057d48
cmp byte [r10 + 1], 0x9f
ja 0x140058dbd
add r10, 3
mov rdx, r10
jmp 0x140058ba0
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x140058ba0
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x140058ba0
mov rcx, qword [0x1401602a0]
xor edx, edx
mov r8, qword [rbx + 0x1b0]
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, qword [rbx + 0x1f0]
lock dec qword [rax]
je 0x140058ade
mov rax, qword [rbx + 0x1e0]
lock dec qword [rax]
jne 0x140058afb
lea rcx, [rbx + 0x1e0]
call fcn.1400558d0
mov rax, qword [rbx + 0x210]
lock dec qword [rax]
jne 0x140058c7e
mov rcx, qword [rbx + 0x210]
mov byte [rbx + 0x8e], 0
call fcn.1400559c0
mov rsi, qword [rbx + 0xc0]
lea rcx, [rbx + 0x230]
call fcn.14005a8e0
lock dec qword [rsi + 0x1d0]
jne 0x140058cfb
mov rcx, rsi
mov rax, qword [rsi + 0x208]
test rax, rax
je 0x140058cfb
mov r14, qword [rcx + 0x200]
lea rax, [rax + rax*4]
lea r15, [r14 + rax*8]
add rcx, 0x1d8
xor esi, esi
jmp 0x140058cdc
add r14, 0x28
inc rsi
cmp r14, r15
je 0x140058cfb
mov eax, 3
xchg qword [r14 + 0x10], rax
cmp rax, 2
jne 0x140058cd0
mov rdx, rsi
mov rdi, rcx
call fcn.140054810
mov rcx, rdi
jmp 0x140058cd0
mov rax, qword [rbx + 0xc0]
lock dec qword [rax]
jne 0x140058a85
mov rcx, qword [rbx + 0xc0]
mov byte [rbx + 0x90], 0
mov byte [rbx + 0x91], 0
mov byte [rbx + 0x92], 0
call fcn.1400559c0
jmp 0x140058a85
dec r9
je 0x140058d74
lea r10, [r8 + 1]
cmp r9, 0x11
jae 0x140057d7a
xor eax, eax
xor r15d, r15d
nop word [rax + rax]
movzx edx, byte [r10 + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140058d74
lea r11, [r15 + r15*4]
mov edx, edx
lea r15, [rdx + r11*2]
inc rax
cmp r9, rax
jne 0x140058d50
mov dil, 1
jmp 0x140058d76
xor edi, edi
test rcx, rcx
je 0x140058d8a
mov rcx, qword [0x1401602a0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
test dil, dil
je 0x140058dd4
test r15, r15
jne 0x14005776e
call fcn.1400f6160
test rax, rax
je 0x140058db5
mov r15d, 1
mov rcx, rdx
call fcn.140001d90
jmp 0x14005776e
mov r15, rdx
jmp 0x14005776e
shl rcx, 1
test rcx, rcx
je 0x140058dd4
mov rcx, qword [0x1401602a0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
lea rdx, [0x14012bd21]
lea rcx, [rbx + 0x380]
mov r8d, 0x11
call fcn.1400f8510
mov rcx, qword [rbx + 0x380]
cmp rcx, rsi
je 0x140058fa9
mov r8, qword [rbx + 0x388]
mov r9, qword [rbx + 0x390]
cmp byte [rbx + 0x398], 0
je 0x140058ea0
mov sil, 1
test r9, r9
je 0x140058f86
movzx eax, byte [r8]
cmp eax, 0x2b
je 0x140058f3a
cmp eax, 0x2d
jne 0x140058e40
cmp r9, 1
je 0x140058f86
mov r10, r8
cmp r9, 0x10
jbe 0x140058f4d
xor r11d, r11d
mov edi, 0xa
xor r15d, r15d
nop dword [rax + rax]
cmp r9, r11
je 0x140058f7f
movzx r14d, byte [r10 + r11]
mov rax, r15
mul rdi
seto dl
add r14d, 0xffffffd0
cmp r14d, 9
ja 0x140058f86
test dl, dl
jne 0x140058f86
mov r15, rax
mov eax, r14d
inc r11
add r15, rax
jae 0x140058e60
jmp 0x140058f86
test r9, r9
je 0x140058f83
lea rax, [r8 + r9]
mov r10, r8
jmp 0x140058ecc
add r10, 2
cmp rdx, rax
cmovne rdx, r10
nop dword [rax]
mov r10, rdx
cmp rdx, rax
je 0x140058e18
lea rdx, [r10 + 1]
movzx r11d, byte [r10]
test r11b, r11b
jns 0x140058ec0
cmp r11b, 0xe0
jb 0x140058eb2
cmp r11b, 0xed
jne 0x140058f0f
cmp rdx, rax
je 0x140058e18
lea rdx, [r10 + 2]
cmp rdx, rax
je 0x140058e18
cmp byte [r10 + 1], 0x9f
ja 0x140059000
add r10, 3
mov rdx, r10
jmp 0x140058ec0
add r10, 2
cmp rdx, rax
cmove r10, rdx
xor edx, edx
cmp r10, rax
setne dl
add rdx, r10
cmp r11b, 0xf0
jb 0x140058ec0
xor r10d, r10d
cmp rdx, rax
setne r10b
add rdx, r10
jmp 0x140058ec0
dec r9
je 0x140058f86
lea r10, [r8 + 1]
cmp r9, 0x11
jae 0x140058e4d
xor eax, eax
xor r15d, r15d
nop word cs:[rax + rax]
movzx edx, byte [r10 + rax]
add edx, 0xffffffd0
cmp edx, 9
ja 0x140058f86
lea r11, [r15 + r15*4]
mov edx, edx
lea r15, [rdx + r11*2]
inc rax
cmp r9, rax
jne 0x140058f60
xor esi, esi
jmp 0x140058f86
mov sil, 1
test rcx, rcx
je 0x140058f9a
mov rcx, qword [0x1401602a0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
test r15, r15
sete al
or sil, al
je 0x14005776e
pxor xmm0, xmm0
movdqa xmmword [rbx + 0x3a0], xmm0
movdqa xmmword [rbx + 0x390], xmm0
movdqa xmmword [rbx + 0x380], xmm0
lea rcx, [rbx + 0x380]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [rbx + 0x3a0]
lea rcx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
test rax, rax
cmovne rcx, rax
je 0x140058ff0
mov r15, rcx
jmp 0x14005776e
mov r15d, 1
call fcn.140001d90
jmp 0x14005776e
shl rcx, 1
test rcx, rcx
je 0x140058fa9
mov rcx, qword [0x1401602a0]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x140058fa9
mov byte [rbx + 0x8e], 0
lea r8, [0x14012bae8]
xor ecx, ecx
xor edx, edx
call fcn.1401188f0
jmp 0x140059249
add rcx, rax
mov rax, qword [rbx + 0x190]
mov qword [rbx + 0x158], rax
mov rax, qword [rbx + 0x198]
mov qword [rbx + 0x160], rax
mov qword [rbx + 0x168], rsi
mov qword [rbx + 0x170], rcx
lea rax, str._rustc_0ad927c0c07b65fc0dae37105e09c877c87c296alibrary_std_src_threadmod.rs
mov qword [rsp + 0x20], rax
lea rcx, str.thread_name_may_not_contain_interior_null_bytes
lea r9, [0x14012b9b8]
lea r8, [rbx + 0x158]
mov edx, 0x2f
call fcn.140118bf0
jmp 0x140059249
mov ecx, 8
mov edx, 0x10
call fcn.140118500
jmp 0x140059249
mov ecx, 8
mov edx, 0x400
call fcn.140118500
jmp 0x140059249
mov ecx, 0x80
mov edx, 0x180
call fcn.140118500
jmp 0x140059249
mov ecx, 8
mov edx, 0x80
call fcn.140118500
jmp 0x140059249
mov ecx, 8
mov edx, 0x30
call fcn.140118500
jmp 0x140059249
mov ecx, 0x80
mov edx, 0x180
call fcn.140118500
jmp 0x140059249
mov byte [rbx + 0x8e], 0
lea rcx, str.assertion_failed:_t.get__.is_null__
lea r8, [0x14012bb78]
mov edx, 0x23
call fcn.140118970
jmp 0x140059249
lea rcx, [rax + 0x18]
lock dec qword [rcx]
jne 0x14005914f
mov rcx, qword [rax + 0x10]
mov al, 1
xchg byte [rcx + 0x28], al
cmp al, 0xff
jne 0x14005914f
add rcx, 0x28
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WakeByAddressSingle]
lea rax, str.too_many_running_threads_in_thread_scope_u
mov qword [rbx + 0x158], rax
mov qword [rbx + 0x160], 1
lea rax, [0x14013b4f8]
mov qword [rbx + 0x168], rax
xorps xmm0, xmm0
movups xmmword [rbx + 0x170], xmm0
mov byte [rbx + 0x97], 1
lea rdx, str.library_std_src_thread_scoped.rsxu
lea rcx, [rbx + 0x158]
call fcn.1401188a0
jmp 0x140059249
mov byte [rbx + 0x8f], 1
mov ecx, 1
mov rdx, rsi
call fcn.140118500
jmp 0x140059249
mov byte [rbx + 0x8f], 1
call fcn.14003a690
jmp 0x140059249
mov qword [rbx + 0xa0], r15
mov ecx, 8
mov edx, 0x5f0
call fcn.140118500
jmp 0x140059249
mov ecx, 0x80
mov edx, 0x280
call fcn.140118500
jmp 0x140059249
mov byte [rbx + 0x96], 1
lea rax, str.library_std_src_threadlocal.rs
mov qword [rsp + 0x20], rax
lea rcx, str.cannot_access_a_Thread_Local_Storage_value_during_or_after_destruction_rustc_0ad927c0c07b65fc0dae37105e09c877c87c296alibrary_std_src_threadlocal.rs
lea r9, [0x140137098]
lea r8, [rbx + 0x158]
mov edx, 0x46
call fcn.140118bf0
jmp 0x140059249
call fcn.14003a690
jmp 0x140059249
mov ecx, 8
mov rdx, r15
call fcn.140118500
jmp 0x140059249
mov ecx, 0x80
mov rdx, rdi
call fcn.140118500
ud2