Function at 0x597360
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
mov dword [esi + 0xd4], 0x704fb0
mov dword [esi + 0x1c], ecx
lea eax, [esi + 0xd0]
mov ecx, dword fs:[0]
mov dword [esi + 0xd0], ecx
mov dword fs:[0], eax
mov al, 1
movsd xmm0, qword [edx + 0x38]
movsd xmm1, qword [edx + 0x18]
movups xmm3, xmmword [edx]
mov dword [esi + 0x14], eax
movsd qword [esi + 0xb0], xmm0
movsd xmm0, qword [edx + 0x30]
movsd qword [esi + 0x90], xmm1
movsd qword [esi + 0xa8], xmm0
movsd xmm0, qword [edx + 0x28]
movsd qword [esi + 0xa0], xmm0
movsd xmm0, qword [edx + 0x20]
movsd qword [esi + 0x98], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [esi + 0x88], xmm0
movaps xmm0, xmm3
movzx ebx, byte [esi + 0xb4]
unpckhpd xmm0, xmm3
mov bh, bl
add bh, 0xfe
ucomiss xmm0, xmm3
movzx edi, bh
jbe 0x597518
movaps xmm1, xmm3
movaps xmm2, xmm3
shufps xmm1, xmm3, 0x55
shufps xmm2, xmm3, 0xff
ucomiss xmm2, xmm1
jbe 0x597518
mov eax, edi
mov ecx, dword [ebp + 8]
cmp bh, 0xb
mov edi, 9
cmovb edi, eax
mov dword [esi + 0x24], eax
mov eax, edi
cmp al, 1
je 0x59751f
mov edi, eax
movzx eax, al
add edx, 0x10
cmp eax, 0xa
jne 0x597704
movsd xmm0, qword [edx + 0x10]
movsd xmm2, qword [edx]
movsd xmm1, qword [edx + 8]
mov edx, dword [ecx + 8]
cmp edx, dword [ecx + 4]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x40], xmm1
movsd qword [esi + 0x38], xmm2
movups xmmword [esi + 0x58], xmm3
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 2
jne 0x5974bc
mov byte [esi + 0x18], bh
mov dword [esi + 0x28], edi
mov dword [esi + 0xd8], 2
call fcn.005a6900
mov ecx, dword [ebp + 8]
mov bh, byte [esi + 0x18]
mov edx, dword [ecx + 8]
mov eax, dword [ecx]
movsd xmm0, qword [esi + 0x60]
imul edi, edx, 0x38
inc edx
movsd qword [eax + edi + 0x30], xmm0
movsd xmm0, qword [esi + 0x58]
movsd qword [eax + edi + 0x28], xmm0
movsd xmm0, qword [esi + 0x50]
movsd qword [eax + edi + 0x20], xmm0
movsd xmm0, qword [esi + 0x48]
movsd qword [eax + edi + 0x18], xmm0
movsd xmm0, qword [esi + 0x40]
movsd qword [eax + edi + 0x10], xmm0
movsd xmm0, qword [esi + 0x30]
movsd xmm1, qword [esi + 0x38]
movsd qword [eax + edi + 8], xmm1
movsd qword [eax + edi], xmm0
mov dword [ecx + 8], edx
xor eax, eax
jmp 0x597638
mov al, 1
jmp 0x59763b
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x90]
mov byte [esi + 0x18], bh
mov ebx, dword [esi + 0x88]
mov ecx, dword [esi + 0x8c]
lea edx, [eax + eax*2]
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ecx
mov dword [esi + 0xc0], ebx
shl edx, 4
add edx, ebx
test eax, eax
mov dword [esi + 0xc4], edx
je 0x59760b
shl eax, 4
add ebx, 0x30
movaps xmmword [esi + 0x70], xmm3
lea ecx, [eax + eax*2]
nop dword [eax]
mov dword [esi + 0xc0], ebx
movzx eax, byte [ebx - 4]
cmp al, 0xd
je 0x59760b
mov dword [esi + 0x10], ecx
lea ecx, [ebx - 0x30]
lea edi, [esi + 0x40]
mov dword [esi + 0x14], ebx
mov edx, dword [ecx + 0x28]
mov dword [edi + 0x28], edx
lea edx, [esi + 0x30]
movsd xmm0, qword [ecx + 0x20]
movsd qword [edi + 0x20], xmm0
movsd xmm0, qword [ecx + 0x18]
movsd qword [edi + 0x18], xmm0
movsd xmm0, qword [ecx + 0x10]
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [edi + 8], xmm1
movsd qword [edi], xmm0
movzx ecx, byte [ebx - 1]
mov byte [edi + 0x2f], cl
movzx ecx, word [ebx - 3]
mov dword [esi + 0xd8], 3
mov word [edi + 0x2d], cx
mov ecx, dword [esi + 0x1c]
movups xmmword [esi + 0x30], xmm3
mov byte [esi + 0x6c], al
push dword [ebp + 8]
call fcn.00597360
add esp, 4
mov ebx, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
movaps xmm3, xmmword [esi + 0x70]
add ebx, 0x30
add ecx, 0xffffffd0
jne 0x597570
lea ecx, [esi + 0xb8]
mov byte [esi + 0xd], 1
mov byte [esi + 0xe], 0
mov byte [esi + 0xf], 1
mov dword [esi + 0xd8], 0
call fcn.005b1a50
mov bh, byte [esi + 0x18]
mov al, 1
mov dword [esi + 0x14], 0
mov edi, dword [esi + 0x24]
cmp bh, 0xb
mov ecx, 9
cmovb ecx, edi
cmp cl, 1
je 0x59768e
movzx ecx, cl
cmp ecx, 0xa
jne 0x5976ea
test al, al
je 0x597936
mov eax, dword [esi + 0x88]
lock dec dword [eax]
jne 0x597936
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
mov dword [esi + 0xd8], 0xffffffff
call fcn.004240a0
jmp 0x597936
cmp byte [esi + 0x14], 0
je 0x597936
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x90]
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], eax
mov dword [esi + 0x70], ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, dword [esi + 0x14]
cmp dword [esi + 0x1c], eax
je 0x597833
inc eax
lea edx, [ecx + 0x30]
mov dword [esi + 0xd8], 5
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], edx
call fcn.005a6340
mov ecx, dword [esi + 0x10]
jmp 0x5976c0
lea ecx, [esi + 0x88]
mov dword [esi + 0xd8], 0xffffffff
call fcn.0059cf60
jmp 0x597936
mov dword [esi + 0x14], edx
mov edx, dword [ecx + 8]
mov eax, dword [ecx]
mov dword [esi + 0x28], edi
mov edi, edx
lea ecx, [edx - 1]
sub edi, 1
mov dword [esi + 0x10], ecx
jb 0x5977e6
test eax, eax
je 0x5977e6
imul ecx, edi, 0x38
movss xmm2, dword [eax + ecx + 0x28]
ucomiss xmm2, xmm3
jne 0x5977e6
jp 0x5977e6
movss xmm2, dword [eax + ecx + 0x2c]
ucomiss xmm2, xmm1
jne 0x5977e6
jp 0x5977e6
movsd xmm1, qword [eax + ecx + 0x30]
cmpeqps xmm1, xmm0
unpcklps xmm1, xmm1
movmskpd ecx, xmm1
cmp cl, 3
jne 0x5977e6
imul ecx, dword [esi + 0x10], 0x38
mov dword [esi + 0x24], edi
add ecx, eax
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x10]
mov edi, dword [esi + 0x10]
mov ecx, dword [ecx]
mov dword [esi + 0x18], ecx
xor ecx, 2
or ecx, dword [edi + 4]
mov edi, dword [esi + 0x24]
je 0x5977e6
cmp bl, 9
mov ecx, 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x20], 0
jne 0x5977bd
mov ecx, dword [esi + 0x88]
mov ebx, dword [esi + 0x90]
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x94]
mov dword [esi + 0x20], ebx
mov ebx, dword [esi + 0x2c]
cmp ebx, dword [esi + 0x18]
jne 0x5977e6
mov dword [esi + 0x18], ecx
mov ebx, dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
xor ecx, dword [ebx + 8]
mov ebx, dword [esi + 0x10]
mov dword [esi + 0x20], ecx
mov ecx, dword [esi + 0x18]
xor ecx, dword [ebx + 0xc]
or ecx, dword [esi + 0x20]
je 0x5978ad
mov ecx, dword [ebp + 8]
movaps xmm0, xmmword [0x726030]
cmp edx, dword [ecx + 4]
movaps xmmword [esi + 0x40], xmm0
xorps xmm0, xmm0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
movups xmmword [esi + 0x58], xmm3
movaps xmmword [esi + 0x30], xmm0
jne 0x597856
movaps xmmword [esi + 0x70], xmm3
mov dword [esi + 0xd8], 1
call fcn.005a6900
mov ebx, dword [ebp + 8]
movaps xmm3, xmmword [esi + 0x70]
mov eax, dword [ebx]
mov edx, dword [ebx + 8]
jmp 0x597858
cmp dword [esi + 0x8c], 0
je 0x597936
push dword [esi + 0x70]
push 0
push dword [0x919820]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x597936
mov ebx, ecx
movsd xmm0, qword [esi + 0x60]
imul ecx, edx, 0x38
mov edi, edx
inc edx
movsd qword [eax + ecx + 0x30], xmm0
movsd xmm0, qword [esi + 0x58]
movsd qword [eax + ecx + 0x28], xmm0
movsd xmm0, qword [esi + 0x50]
movsd qword [eax + ecx + 0x20], xmm0
movsd xmm0, qword [esi + 0x48]
movsd qword [eax + ecx + 0x18], xmm0
movsd xmm0, qword [esi + 0x40]
movsd qword [eax + ecx + 0x10], xmm0
movsd xmm0, qword [esi + 0x30]
movsd xmm1, qword [esi + 0x38]
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
mov dword [ebx + 8], edx
test edx, edx
je 0x59794a
test eax, eax
je 0x59794a
imul ecx, edi, 0x38
mov edx, dword [esi + 0x14]
add eax, ecx
mov ecx, dword [eax]
xor ecx, 2
or ecx, dword [eax + 4]
mov dword [esi + 0xd8], 0
je 0x597979
movsd xmm1, qword [edx + 0x20]
movsd xmm2, qword [edx + 0x18]
mov ecx, dword [esi + 0x1c]
movsd xmm0, qword [edx + 0x28]
mov byte [esi + 0xd], 0
mov byte [esi + 0xe], 0
mov byte [esi + 0xf], 0
movsd qword [esi + 0x50], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [esi + 0x48], xmm2
movsd xmm2, qword [edx]
movups xmmword [ecx], xmm3
movsd qword [esi + 0x58], xmm0
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [edx + 8]
movsd qword [esi + 0x30], xmm2
lea edx, [esi + 0x30]
movsd qword [esi + 0x38], xmm1
push eax
call fcn.00597b30
add esp, 4
mov eax, dword [esi + 0xd0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 0xd], 1
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
mov dword [esi + 0xd8], 0
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_d5c2e9c342b358556da91d61ed4133f6f50fc0c3library_std_src_synconce.rs
mov edx, 0x2b
push 0x74420c
call fcn.0070a0f0
add esp, 4
jmp 0x59799c
mov byte [esi + 0xd], 1
mov byte [esi + 0xe], 1
mov byte [esi + 0xf], 1
mov ecx, str.internal_error:_entered_unreachable_codeC:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinit_0.28.6_srcplatform_implwindowswindow_state.rs
mov edx, 0x28
push 0x74421c
call fcn.0070a0f0
add esp, 4
ud2