Function at 0x1400209b0
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x2128
call fcn.14002c930
sub rsp, rax
lea rbp, [rsp + 0x80]
vmovdqa xmmword [rbp + 0x2090], xmm10
vmovaps xmmword [rbp + 0x2080], xmm9
vmovaps xmmword [rbp + 0x2070], xmm8
vmovaps xmmword [rbp + 0x2060], xmm7
vmovaps xmmword [rbp + 0x2050], xmm6
mov qword [rbp + 0x2048], 0xfffffffffffffffe
mov rdi, r8
mov rbx, rcx
mov rsi, qword [rdx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x14014d208]
shl rax, 1
test rax, rax
mov qword [rbp + 0x1fe0], rbx
jne 0x140021291
mov dword [rbp + 0x2024], 0
movzx eax, byte [rsi + 8]
mov qword [rbp + 0x2018], rdi
mov rdi, qword [rdi + 0x10]
lea rax, [rsi + 0x38]
mov qword [rbp + 0x1ff0], rax
mov qword [rbp + 0x2040], rsi
lea r8, [rsi + 0x3a]
vpbroadcastb xmm6, byte [0x140030852]
vpbroadcastq xmm7, qword [0x140030878]
vpbroadcastb xmm8, byte [0x140030853]
mov r14, qword [sym.imp.KERNEL32.dll_GetStdHandle]
vxorps xmm9, xmm9, xmm9
mov qword [rbp + 0x1fd8], rdi
mov qword [rbp + 0x2038], rdi
xor eax, eax
mov qword [rbp + 0x1fd0], rax
mov qword [rbp + 0x2030], r8
jmp 0x140020ac3
cmp byte [r9 + 0xf], 0x23
jne 0x140021193
mov rcx, r9
call fcn.140018d00
mov rsi, qword [rbp + 0x2040]
mov r12, qword [rsi + 0x10]
mov rax, qword [rsi + 0x20]
mov r9, qword [rsi + 0x28]
sub r9, rax
jbe 0x140020b10
test r12, r12
jne 0x140020eb3
mov eax, r9d
and eax, 3
mov esi, 1
xor edi, edi
lea rcx, [0x140037070]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov r13, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x30]
mov r8, r13
sub r8, rcx
jb 0x1400212bc
add rcx, r12
xor edx, edx
call sub.VCRUNTIME140.dll_memset
vmovq xmm0, r13
vpslldq xmm10, xmm0, 8
mov ecx, 0xfffffff6
call r14
movabs r9, 0x600000002
test rax, rax
je 0x140020df0
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140020b82
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
shl r9, 0x20
or r9, 2
mov eax, r9d
and eax, 3
cmp rax, 2
jae case.default.0x140020e2c
jmp 0x140020e11
mov dword [rbp - 0x30], 0
mov rcx, rdi
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetConsoleMode]
test eax, eax
je 0x140020c0a
movzx ebx, byte [rsi + 0x3e]
cmp r13, rbx
mov rsi, rbx
cmovb rsi, r13
cmp rsi, 5
jae 0x1400212d0
mov r15, r14
mov rcx, r12
mov r14, qword [rbp + 0x2030]
mov rdx, r14
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
cmp r13, rbx
jae 0x140020cc5
mov r8d, 4
sub r8, rsi
lea rdx, [r14 + rsi]
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rbp + 0x2040]
movzx eax, byte [rcx + 0x3e]
sub al, sil
mov byte [rcx + 0x3e], al
cmp r13, rbx
mov r14, r15
ja 0x140020cdd
jmp 0x140020fb7
vmovdqu xmm0, xmmword [0x140035600]
vmovdqa xmmword [rbp + 0x2000], xmm0
mov eax, 0xffffffff
cmp r13, rax
cmovb rax, r13
vmovups xmmword [rsp + 0x38], xmm9
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r12
lea rax, [rbp + 0x2000]
mov qword [rsp + 0x20], rax
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, 0x103
jne 0x140020c6d
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp + 0x2000]
cmp eax, 0xc0000011
je 0x140020f2f
cmp eax, 0x103
je 0x1400212e9
test eax, eax
jns 0x140020f14
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov rsi, rax
shl rsi, 0x20
or rsi, 2
mov ecx, eax
call fcn.14001bc30
cmp al, 0xb
je 0x140020f20
mov r9, rsi
mov eax, r9d
and eax, 3
cmp rax, 2
jae case.default.0x140020e2c
jmp 0x140020e11
xor eax, eax
mov rcx, qword [rbp + 0x2040]
mov byte [rcx + 0x3e], al
cmp r13, rbx
mov r14, r15
jbe 0x140020fb7
mov rbx, r13
sub rbx, rsi
cmp rbx, 4
jae 0x140020d87
mov word [rbp + 0x2000], 0
mov rax, qword [rbp + 0x1ff0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
and al, 0x20
add dword [rax], eax
add byte [rax], al
mov r9d, 1
lea rcx, [rbp - 0x30]
mov rdx, rdi
lea r8, [rbp + 0x2000]
call fcn.140020620
invalid
dec dword [rax - 0x7d]
jge 0x140020cf8
add byte [rbx + rcx*4 + 0x4d], cl
fmul dword [rdi]
invalid
mov bl, 0
add byte [rax], al
cmp r9, 2
jae 0x14002137d
test r9, r9
je 0x140020f36
vmovups xmmword [rsp + 0x30], xmm9
mov rax, qword [rbp + 0x2030]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
mov ecx, 0xfde9
mov edx, 0x80
lea r8, [rbp + 0x2000]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r9, str.Windows_stdin_in_console_mode_does_not_support_non_UTF_16_input__encountered_unpaired_surrogate
test eax, eax
je 0x140020de6
jmp 0x140020f38
mov rdx, r13
movabs rax, 0xaaaaaaaaaaaaaaab
mulx rax, rax, rax
shr rax, 1
cmp rax, 0x1000
mov ecx, 0x1000
cmovae rax, rcx
mov rcx, qword [rbp + 0x1ff0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov r9d, 0x1000
lea rcx, [rbp + 0x2000]
mov rdx, rdi
lea r8, [rbp - 0x30]
call fcn.140020620
cmp qword [rbp + 0x2000], 0
mov r9, qword [rbp + 0x2008]
je 0x140020e55
test r9, r9
je 0x140020fcc
nop
mov eax, r9d
and eax, 3
cmp rax, 2
jb 0x140020e11
cmp eax, 2
jne 0x140020e11
mov rax, r9
shr rax, 0x20
cmp eax, 6
je 0x140020f07
mov eax, r9d
and eax, 3
mov esi, 1
xor edi, edi
lea rcx, [0x140037070]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
cmp byte [r9 + 0x10], 0x23
je 0x140020abb
jmp 0x140021193
mov rax, r9
shr rax, 0x20
cmp eax, 0x23
je 0x140020abb
jmp 0x140021193
cmp r9, 0x1001
jae 0x140021367
test r9, r9
je 0x140020f9a
vmovups xmmword [rsp + 0x30], xmm9
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r12
mov ecx, 0xfde9
mov edx, 0x80
lea r8, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x140020fb2
lea r9, str.Windows_stdin_in_console_mode_does_not_support_non_UTF_16_input__encountered_unpaired_surrogate
mov eax, r9d
and eax, 3
cmp rax, 2
jae case.default.0x140020e2c
jmp 0x140020e11
add r12, rax
cmp r9, 0x10
jb 0x140020fef
lea rax, [r12 + 7]
and rax, 0xfffffffffffffff8
sub rax, r12
je 0x140020efc
cmp rax, r9
cmovae rax, r9
test rax, rax
je 0x140020efc
xor ecx, ecx
nop dword [rax]
cmp byte [r12 + rcx], 0xa
je 0x1400210d3
inc rcx
cmp rax, rcx
jne 0x140020ee0
lea rcx, [r9 - 0x10]
jmp 0x140021020
lea rcx, [r9 - 0x10]
xor eax, eax
jmp 0x140021025
mov rcx, r9
call fcn.140018d00
jmp 0x140020fcc
mov rsi, qword [rbp + 0x2008]
jmp 0x140020fb7
mov qword [rbp + 0x1ff8], rdi
mov rcx, rsi
call fcn.140018d00
xor esi, esi
jmp 0x140020fb7
xor eax, eax
mov rcx, qword [rbp + 0x2040]
mov byte [rcx + 0x3e], al
lea rcx, [r12 + rsi]
movzx edi, al
mov qword [rbp + 0x1ff8], rdi
cmp rbx, rdi
cmovb rdi, rbx
mov r14, qword [rbp + 0x2030]
mov rdx, r14
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
cmp rbx, qword [rbp + 0x1ff8]
jae 0x140020f9e
mov r8d, 4
sub r8, rdi
lea rdx, [r14 + rdi]
mov rcx, r14
call sub.VCRUNTIME140.dll_memmove
mov rcx, qword [rbp + 0x2040]
movzx eax, byte [rcx + 0x3e]
sub al, dil
mov r14, r15
jmp 0x140020faa
xor eax, eax
jmp 0x140020fb4
xor eax, eax
mov r14, r15
mov rcx, qword [rbp + 0x2040]
mov byte [rcx + 0x3e], al
add rsi, rdi
jmp 0x140020fb7
cdqe
add rsi, rax
cmp r13, rsi
cmovbe r13, rsi
vmovq xmm0, r13
vmovq xmm1, rsi
vpunpcklqdq xmm10, xmm1, xmm0
mov rsi, qword [rbp + 0x2040]
mov qword [rsi + 0x20], 0
vmovdqu xmmword [rsi + 0x28], xmm10
vmovq r9, xmm10
cmp r9, 0x10
jae 0x140020ec0
test r9, r9
je 0x14002106f
xor ecx, ecx
nop word cs:[rax + rax]
cmp byte [r12 + rcx], 0xa
je 0x140021011
inc rcx
cmp r9, rcx
jne 0x140021000
jmp 0x14002106f
mov r8, qword [rbp + 0x2038]
jmp 0x1400210e4
cmp rax, rcx
ja 0x140021044
vmovdqu xmm0, xmmword [r12 + rax]
vpxor xmm1, xmm0, xmm6
vpaddq xmm1, xmm1, xmm7
vpandn xmm0, xmm0, xmm1
vptest xmm0, xmm8
jne 0x140021044
add rax, 0x10
jmp 0x140021020
mov rdx, r9
sub rdx, rax
je 0x14002106f
lea r8, [r12 + rax]
xor ecx, ecx
nop word cs:[rax + rax]
invalid
test byte [rax], al
add byte [rax], al
add byte [rax], al
cmp byte [r8 + rcx], 0xa
je 0x1400210d0
inc rcx
cmp rdx, rcx
jne 0x140021060
mov rbx, qword [rbp + 0x2018]
mov rax, qword [rbx + 8]
mov r8, qword [rbp + 0x2038]
sub rax, r8
cmp rax, r9
jae 0x1400210af
mov rcx, rbx
mov rdx, r8
mov rdi, r9
mov r8, r9
call fcn.14002eca0
mov rbx, qword [rbp + 0x2018]
mov r8, qword [rbx + 0x10]
mov rsi, qword [rbp + 0x2040]
mov r9, rdi
mov rcx, qword [rbx]
add rcx, r8
mov rdx, r12
mov rdi, r8
mov r8, r9
mov r12, r9
call sub.VCRUNTIME140.dll_memcpy
mov r9, r12
add rdi, r12
xor eax, eax
jmp 0x140021140
add rcx, rax
cmp rcx, 0xffffffffffffffff
mov r8, qword [rbp + 0x2038]
je 0x1400213a7
lea rsi, [rcx + 1]
cmp rcx, r9
jae 0x140021393
mov rbx, qword [rbp + 0x2018]
mov rax, qword [rbx + 8]
sub rax, r8
cmp rax, rcx
ja 0x14002111d
mov rcx, rbx
mov rdx, r8
mov r8, rsi
call fcn.14002eca0
mov rbx, qword [rbp + 0x2018]
mov r8, qword [rbx + 0x10]
mov rcx, qword [rbx]
add rcx, r8
mov rdx, r12
mov rdi, r8
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
add rdi, rsi
mov al, 1
mov r9, rsi
mov rsi, qword [rbp + 0x2040]
mov qword [rbp + 0x2038], rdi
mov qword [rbx + 0x10], rdi
mov rcx, qword [rsi + 0x20]
add rcx, r9
mov rdx, qword [rsi + 0x28]
cmp rcx, rdx
cmovae rcx, rdx
mov qword [rsi + 0x20], rcx
mov rcx, qword [rbp + 0x1fd0]
add rcx, r9
mov dil, 1
test al, al
jne 0x1400212b2
mov esi, 0
test r9, r9
mov rax, rcx
mov qword [rbp + 0x1fd0], rcx
mov r9, rcx
jne 0x140020ac3
jmp case.0x140020aff.2
xor edi, edi
mov qword [rbp + 0x2030], r9
mov r8, qword [rbp + 0x2038]
mov r14, qword [rbp + 0x1fd8]
sub r8, r14
jb 0x140021349
mov rbx, qword [rbp + 0x2018]
mov rdx, qword [rbx]
add rdx, r14
lea rcx, [rbp - 0x30]
call fcn.14000d2a0
cmp qword [rbp - 0x30], 0
je 0x14002120d
lea rax, [0x140034258]
test dil, dil
mov rcx, qword [rbp + 0x2030]
cmovne rcx, rax
mov rax, qword [rbp + 0x1fe0]
mov qword [rax + 8], rcx
mov qword [rax], 1
mov rsi, qword [rbp + 0x2040]
mov qword [rbx + 0x10], r14
cmp byte [rbp + 0x2024], 0
jne 0x14002124c
jmp 0x14002123d
mov rax, qword [rbp + 0x1fe0]
mov qword [rax], rsi
mov rcx, qword [rbp + 0x2030]
mov qword [rax + 8], rcx
mov rsi, qword [rbp + 0x2040]
mov r14, qword [rbp + 0x2038]
mov qword [rbx + 0x10], r14
cmp byte [rbp + 0x2024], 0
jne 0x14002124c
mov rax, qword [0x14014d208]
shl rax, 1
test rax, rax
jne 0x1400212a3
mov rcx, rsi
vmovaps xmm6, xmmword [rbp + 0x2050]
vmovaps xmm7, xmmword [rbp + 0x2060]
vmovaps xmm8, xmmword [rbp + 0x2070]
vmovaps xmm9, xmmword [rbp + 0x2080]
vmovaps xmm10, xmmword [rbp + 0x2090]
add rsp, 0x2128
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
call fcn.14002ed60
xor al, 1
mov dword [rbp + 0x2024], eax
jmp 0x140020a3a
call fcn.14002ed60
test al, al
jne 0x14002124c
mov byte [rsi + 8], 1
jmp 0x14002124c
mov r9, rcx
xor esi, esi
jmp case.0x140020aff.2
lea r8, [0x140034868]
mov rdx, r13
call fcn.14002da90
jmp 0x1400213ac
lea r8, str.library_std_src_syswindows_stdio.rs
mov edx, 4
mov rcx, rsi
call fcn.14002db90
jmp 0x1400213ac
mov qword [rbp + 0x1ff8], rdi
mov dword [rbp + 0x1fe8], 0
mov byte [rbp + 0x1fec], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 1
lea rax, [rbp + 0x2028]
mov qword [rbp - 0x20], rax
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [rbp - 0x18], xmm0
lea rcx, [rbp + 0x1fe8]
lea rdx, [rbp - 0x30]
call fcn.140019650
mov rcx, rax
call fcn.140018dc0
mov ecx, 7
int 0x29
ud2
mov dword [rbp + 0x1ff0], edi
lea r8, [0x140034850]
mov rcx, r14
mov rdx, qword [rbp + 0x2038]
call fcn.14002da90
jmp 0x1400213ac
lea r8, str.library_std_src_syswindows_stdio.rs
mov edx, 0x1000
mov rcx, r9
call fcn.14002db90
jmp 0x1400213ac
lea r8, str.library_std_src_syswindows_stdio.rs
mov edx, 1
mov rcx, r9
call fcn.14002db90
jmp 0x1400213ac
lea r8, [0x1400348f8]
mov rcx, rsi
mov rdx, r9
call fcn.14002db90
jmp 0x1400213ac
call fcn.14002e0e0
ud2
lea rcx, [0x140037080]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov byte [rbp + 0x48f], 1
lea rdx, str.RUST_BACKTRACEstream_did_not_contain_valid_UTF_86B
lea rcx, [rbp - 0x58]
mov r8d, 0xe
call fcn.14001b350
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x468], rax
test rax, rax
jne 0x14002417f
mov rcx, qword [rbp - 0x50]
mov byte [rbp + 0x48f], 1
call fcn.140018d00
invalid
invalid
invalid
mov eax, 3
mov sil, 2
invalid
mov qword [0x14014d1d0], rax
jmp 0x140023ef9
lea rcx, [0x14014d1e8]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov eax, dword [0x14014d2a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rax + 0x40], 0
test r13b, r13b
je 0x140023e3f
mov rax, qword [rbp + 0x3d0]
mov rdx, qword [rax + 0x18]
mov byte [rbp + 0x48f], 0
mov rcx, r12
call fcn.140021d70
jmp 0x140024590
mov dword [rbp + 0x410], 0
mov byte [rbp + 0x414], 0
lea rax, str.thread_caused_non_unwinding_panic._aborting._n
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
lea rax, [0x1400339c0]
mov qword [rbp - 0x48], rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x40], xmm0
lea rax, [rbp + 0x410]
mov qword [rbp + 0x428], rax
mov qword [rbp + 0x430], 0
lea rdx, [0x140033f88]
lea rcx, [rbp + 0x428]
lea r8, [rbp - 0x58]
call fcn.14000ce20
mov rdx, qword [rbp + 0x430]
test al, al
je 0x140023ec2
test rdx, rdx
lea rcx, str.formatter_error
cmovne rcx, rdx
jmp 0x140023ed8
test rdx, rdx
je 0x140023ed6
mov byte [rbp + 0x48f], 0
mov rcx, rdx
call fcn.140018d00
xor ecx, ecx
mov byte [rbp + 0x48f], 0
add byte [rax], al
call fcn.140018dc0
mov ecx, 7
add byte [rax], al
invalid
add byte [rax], al
int 0x29
ud2
mov sil, 1
jmp 0x140023ef9
mov sil, 2
jmp 0x140023ef9
xor esi, esi
mov rbx, qword [rbp + 0x400]
mov r14, qword [rbp + 0x3e8]
mov r15, qword [rbp + 0x3f0]
mov qword [rbp + 0x3c8], rbx
mov rax, qword [r15 + 0x18]
mov byte [rbp + 0x48f], 1
mov rcx, r14
call rax
movabs rcx, 0xc1a2c89ccd1e7bc1
xor rax, rcx
movabs rcx, 0xfdbc168100b1ef64
xor rdx, rcx
or rdx, rax
jne 0x140024086
lea rax, [r14 + 8]
mov rcx, qword [r14]
mov rax, qword [rax]
mov qword [rbp + 0x3b8], rcx
mov qword [rbp + 0x3c0], rax
mov byte [rbp + 0x48f], 1
call fcn.140019240
mov r8d, 9
lea rcx, [0x140034f38]
test rax, rax
je 0x140023f91
mov rdx, qword [rax + 0x18]
test rdx, rdx
je 0x140023f91
mov r8, qword [rax + 0x20]
dec r8
mov rcx, rdx
mov qword [rbp + 0x468], rax
mov qword [rbp + 0x3a8], rcx
mov qword [rbp + 0x3b0], r8
mov dword [rbp + 0x470], 0
mov byte [rbp + 0x474], 0
add byte [rax], al
lea rax, [rbp + 0x3a8]
mov qword [rbp - 0x58], rax
lea rax, [0x14001b7a0]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x3c8]
add byte [rax], al
mov qword [rbp - 0x48], rcx
lea rcx, [0x140023890]
mov qword [rbp - 0x40], rcx
lea rcx, [rbp + 0x3b8]
lea edi, [rax + 0x48000003]
mov dword [rbp - 0x38], ecx
mov qword [rbp - 0x30], rax
lea rax, [0x140034f60]
mov qword [rbp + 0x428], rax
add al, 0
add byte [rax - 0x39], cl
test dword [rax], esi
add al, 0
add byte [rax + rax], al
add byte [rax], al
mov qword [rbp + 0x448], 0
lea rax, [rbp - 0x58]
mov qword [rbp + 0x438], rax
mov qword [rbp + 0x440], 3
lea rdi, [rbp + 0x470]
jo 0x140024035
add byte [rax], al
mov qword [rbp + 0x410], rdi
mov qword [rbp + 0x418], 0
lea rdx, [0x140033f88]
adc eax, 0xff3c
lea rcx, [rbp + 0x410]
lea r8, [rbp + 0x428]
call fcn.14000ce20
mov rcx, qword [rbp + 0x418]
test al, al
je 0x1400240f3
test rcx, rcx
lea rax, str.formatter_error
cmovne rax, rcx
mov rcx, rax
call fcn.140018d00
jmp 0x1400240fd
mov rax, qword [r15 + 0x18]
mov byte [rbp + 0x48f], 1
mov rcx, r14
call rax
movabs rcx, 0x4b9ccfb03a26ee7c
xor rax, rcx
movabs rcx, 0x9a9f137397802b83
xor rdx, rcx
or rdx, rax
jne 0x1400240be
lea rax, [r14 + 0x10]
jmp 0x140023f4c
mov eax, 0xc
lea rcx, [0x140034f2c]
jmp 0x140023f52
add byte [rax], al
test rcx, rcx
je 0x1400240fd
call fcn.140018d00
movzx eax, sil
lea rcx, [0x140037090]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
invalid
jmp rax
enter 0xffffffffffffe0ff, 0x48
lea ecx, [rbp + 0x470]
lea rcx, [rbp + 0x470]
xor edx, edx
call fcn.140023920
dec dword [rax - 0x7b]
invalid
je case.0x14002410f.3
dec dword [rax - 0x7b]
sal byte [rdi + rsi + 0x48], 0x89
shr eax, 0xd4
invalid
mov rcx, rax
call fcn.140018d00
invalid
jmp case.0x14002410f.3
invalid
lea rcx, [rbp + 0x470]
mov dl, 1
call fcn.140023920
dec dword [rax - 0x7b]
invalid
je case.0x14002410f.3
dec dword [rax - 0x7b]
sal byte [rdx + rbx + 0x48], 0x89
shr eax, 0xb7
invalid
mov rcx, rax
call fcn.140018d00
jmp case.0x14002410f.3
xor eax, eax
xchg byte [0x14014d048], al
test al, al
jne 0x14002435f
mov rcx, qword [rbp + 0x468]
test rcx, rcx
je 0x140023df4
lock dec qword [rcx]
jne 0x140023df4
call fcn.1400191f0
jmp 0x140023df4
mov qword [rbp + 0x3d8], r12
mov rax, qword [rbp - 0x50]
mov qword [rbp + 0x3e0], rax
mov eax, 0x200
mov ecx, 2
mov qword [rbp + 0x478], rcx
xor ecx, ecx
mov qword [rbp + 0x480], rcx
xor ebx, ebx
xor edi, edi
xor r12d, r12d
jmp 0x1400241c3
mov rax, rsi
cmp rax, 0x201
jae 0x1400241e0
mov r13d, 0x200
lea r14, [rbp - 0x58]
mov rsi, rax
jmp 0x1400242c1
sub rax, r12
sub rdi, r12
cmp rdi, rax
jae 0x14002429e
add r12, rax
jb 0x140024470
mov rax, qword [rbp + 0x480]
add rax, rax
mov rbx, rax
cmp rax, r12
ja 0x14002420d
mov rbx, r12
cmp rbx, 5
jae 0x140024218
mov ebx, 4
xor edx, edx
mov rcx, rbx
shr rcx, 0x3e
sete cl
cmp qword [rbp + 0x480], 0
je 0x14002424a
mov r8, qword [rbp + 0x478]
mov qword [rbp + 0x428], r8
mov qword [rbp + 0x438], rax
mov eax, 2
jmp 0x14002424c
xor eax, eax
lea r8, [rbx + rbx]
mov dl, cl
add rdx, rdx
mov qword [rbp + 0x430], rax
lea rcx, [rbp + 0x410]
lea r9, [rbp + 0x428]
call fcn.1400197f0
cmp qword [rbp + 0x410], 0
mov rcx, qword [rbp + 0x418]
je 0x14002433b
movabs rax, 0x8000000000000001
cmp rcx, rax
jne 0x140024467
mov rbx, qword [rbp + 0x480]
mov eax, 0xffffffff
mov r12, rbx
cmp rbx, rax
jb 0x1400242b1
mov r12d, 0xffffffff
mov rdi, rbx
mov r13, r12
mov r14, qword [rbp + 0x478]
mov rsi, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rbp + 0x468]
mov rdx, r14
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov r15d, eax
test eax, eax
jne 0x1400242f1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14002444e
mov eax, r15d
cmp rsi, rax
jne 0x140024330
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400243d9
add rsi, rsi
mov eax, 0xffffffff
cmp rsi, rax
jb 0x1400241c0
mov esi, 0xffffffff
jmp 0x1400241c0
jb 0x1400241c3
jmp 0x140024412
mov qword [rbp + 0x478], rcx
mov qword [rbp + 0x480], rbx
mov eax, 0xffffffff
mov r12, rbx
cmp rbx, rax
jae 0x1400242ab
jmp 0x1400242b1
lea rax, str.note:_run_with__RUST_BACKTRACE1__environment_variable_to_display_a_backtrace_n
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], 1
lea rax, [0x1400339c0]
mov qword [rbp - 0x48], rax
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp - 0x40], xmm0
mov qword [rbp + 0x428], rdi
mov qword [rbp + 0x430], 0
lea rdx, [0x140033f88]
lea rcx, [rbp + 0x428]
lea r8, [rbp - 0x58]
call fcn.14000ce20
mov rcx, qword [rbp + 0x430]
test al, al
je 0x140024496
test rcx, rcx
lea rax, str.formatter_error
cmovne rax, rcx
mov rcx, rax
call fcn.140018d00
jmp case.0x14002410f.3
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x460], rax
mov rax, qword [rbp + 0x480]
mov qword [rbp + 0x458], rax
lea rcx, str.internal_error:_entered_unreachable_code_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14002dc10
jmp 0x140024590
cmp r13, rax
jae 0x1400244a9
mov rcx, qword [rbp + 0x478]
mov qword [rbp + 0x460], rcx
mov rcx, qword [rbp + 0x480]
mov qword [rbp + 0x458], rcx
lea r8, str.library_std_src_syswindowsmod.rs
mov rcx, rax
mov rdx, r13
call fcn.14002db90
jmp 0x140024590
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
shl r14, 0x20
or r14, 2
mov r15b, 2
jmp 0x1400244f4
test rcx, rcx
jne 0x140024568
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x460], rax
mov rax, qword [rbp + 0x480]
mov qword [rbp + 0x458], rax
call fcn.140006cc0
jmp 0x140024590
test rcx, rcx
je case.0x14002410f.3
call fcn.140018d00
jmp case.0x14002410f.3
mov rcx, qword [rbp + 0x478]
mov qword [rbp + 0x460], rcx
mov rcx, qword [rbp + 0x480]
mov qword [rbp + 0x458], rcx
lea rcx, [rbp + 0x428]
mov rdx, r14
mov r8, rax
call fcn.14001d6a0
mov r14, qword [rbp + 0x428]
mov rdi, qword [rbp + 0x430]
mov rsi, qword [rbp + 0x438]
movzx r15d, byte [rbp + 0x440]
test rbx, rbx
mov r12, qword [rbp + 0x3d8]
movzx r13d, byte [rbp + 0x500]
je 0x140024519
mov edx, 2
mov rcx, qword [rbp + 0x478]
call fcn.140006bd0
cmp r15b, 2
jne 0x14002452a
mov r15b, 2
mov rcx, r14
call fcn.140018d00
cmp qword [rbp + 0x3e0], 0
je 0x140024545
mov edx, 2
mov rcx, qword [rbp + 0x468]
call fcn.140006bd0
cmp r15b, 2
je 0x140023da4
cmp rsi, 4
je 0x140024592
cmp rsi, 1
jne 0x1400245af
cmp byte [r14], 0x30
sete sil
add sil, sil
jmp 0x1400245b1
mov rdx, qword [rbp + 0x420]
mov rax, qword [rbp + 0x478]
mov qword [rbp + 0x460], rax
mov rax, qword [rbp + 0x480]
mov qword [rbp + 0x458], rax
call fcn.14002d8b0
ud2
movbe eax, dword [r14]
xor ecx, ecx
cmp eax, 0x66756c6d
setae cl
cmp eax, 0x66756c6c
sbb ecx, 0
sete sil
jmp 0x1400245b1
xor esi, esi
test rdi, rdi
je 0x1400245c3
mov edx, 1
mov rcx, r14
call fcn.140006bd0
lea eax, [rsi + 1]
movzx eax, al
jmp 0x140023dac