Function at 0x420ac0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x450
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x45c]
push dword [ebp + 8]
call fcn.0041b100
add esp, 4
mov eax, dword [ebp - 0x45c]
mov ebx, dword [ebp - 0x458]
mov esi, dword [ebp - 0x454]
cmp eax, 0x80000000
jne 0x420afe
jmp 0x420f38
cmp esi, 3
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], eax
jbe 0x420b4f
mov ecx, 0x5c005c
mov edx, dword [ebx + 4]
mov eax, 0x5c003f
xor ecx, dword [ebx]
xor edx, eax
or edx, ecx
je 0x420f00
mov ecx, 0x3f005c
xor eax, dword [ebx + 4]
xor ecx, dword [ebx]
or eax, ecx
je 0x420f00
cmp esi, 0xf8
jae 0x420bbe
cmp word [ebx + 2], 0x3a
jne 0x420b97
movzx eax, word [ebx + 4]
jmp 0x420b75
je 0x420b61
cmp esi, 1
jne 0x420b95
cmp word [ebx], 0
jne 0x420bbe
jmp 0x420f00
cmp word [ebx + 2], 0x3a
jne 0x420b97
movzx eax, word [ebx + 4]
test ax, ax
je 0x421119
cmp ax, 0x2f
je 0x420b83
movzx eax, ax
cmp eax, 0x5c
jne 0x420b97
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x420b9a
cmp eax, 0x5c
je 0x420b9a
jmp 0x420f00
jbe 0x420bbe
movzx eax, word [ebx]
cmp ax, 0x5c
je 0x420ba8
movzx eax, ax
cmp eax, 0x2f
jne 0x420bbe
movzx eax, word [ebx + 2]
cmp eax, 0x5c
je 0x420f00
cmp eax, 0x2f
je 0x420f00
mov edi, 0x200
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x38], 2
cmp edi, 0x201
jb 0x420c0e
jmp 0x420c20
jbe 0x420c9a
cmp edi, 0x201
jae 0x420c20
lea eax, [ebp - 0x45c]
mov esi, edi
mov ebx, 0x200
mov edi, eax
jmp 0x420c49
mov esi, dword [ebp - 0x20]
sub edi, esi
je 0x420c3e
mov edx, esi
lea ecx, [ebp - 0x44]
push edi
call fcn.0041b540
add esp, 4
mov esi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov edi, dword [ebp - 0x38]
mov ebx, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x20], esi
push 0
call sub.kernel32.dll_SetLastError
push 0
mov dword [ebp - 0x1c], edi
push edi
push esi
push dword [ebp - 0x10]
call sub.kernel32.dll_GetFullPathNameW
mov edi, eax
test eax, eax
jne 0x420c6e
call sub.kernel32.dll_GetLastError
test eax, eax
jne 0x420cd5
cmp edi, esi
jne 0x420c00
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
jne 0x421149
lea edi, [esi + esi]
test esi, esi
mov eax, 0xffffffff
cmovs edi, eax
cmp edi, 0x201
jae 0x420c20
jmp 0x420c0e
cmp edi, ebx
ja 0x421162
cmp edi, 2
mov dword [ebp - 0x24], 0
jbe 0x420cef
mov ecx, dword [ebp - 0x1c]
movzx eax, word [ecx + 2]
cmp eax, 0x3a
jne 0x420d09
cmp word [ecx + 4], 0x5c
jne 0x420d09
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], 0x467444
mov edx, 4
jmp 0x420d99
xor ebx, ebx
call sub.kernel32.dll_GetLastError
mov esi, eax
xor edi, edi
cmp dword [ebp - 0x20], 0
jne 0x420ebc
jmp 0x420ecc
mov eax, dword [ebp - 0x14]
jne 0x420d90
mov ecx, dword [ebp - 0x1c]
movzx ecx, word [ecx]
cmp cx, 0x5c
je 0x420d6b
jmp 0x420d90
movzx ecx, word [ecx]
cmp edi, 3
jbe 0x420d62
xor edx, edx
cmp cx, 0x5c
jne 0x421111
cmp eax, 0x3f
je 0x421111
cmp eax, 0x5c
jne 0x420d72
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 4]
cmp eax, 0x3f
je 0x421133
cmp eax, 0x2e
mov eax, dword [ebp - 0x14]
jne 0x420d7b
mov ecx, dword [ebp - 0x1c]
cmp word [ecx + 6], 0x5c
jne 0x420d7b
add dword [ebp - 0x1c], 8
add edi, 0xfffffffc
mov dword [ebp - 0x18], 0x467444
mov edx, 4
jmp 0x420d99
mov eax, dword [ebp - 0x14]
cmp cx, 0x5c
jne 0x420d90
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 2]
cmp ax, 0x5c
mov eax, dword [ebp - 0x14]
jne 0x420d90
add dword [ebp - 0x1c], 4
add edi, 0xfffffffe
mov dword [ebp - 0x18], 0x46744c
mov edx, 8
jmp 0x420d99
xor edx, edx
mov dword [ebp - 0x18], str.Index_out_of_bounds
mov esi, edx
mov dword [ebp - 0x34], edx
or esi, 1
add esi, edi
cmp eax, esi
jae 0x420e07
mov ebx, dword [ebp - 0x10]
xor edx, edx
cmp esi, 0x40000000
mov ecx, eax
lea eax, [esi + esi]
setb dl
add edx, edx
test ecx, ecx
je 0x420dd1
add ecx, ecx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x48], ecx
jmp 0x420dd8
mov dword [ebp - 0x4c], 0
lea ebx, [ebp - 0x50]
lea ecx, [ebp - 0x5c]
push ebx
push eax
call fcn.0040c160
add esp, 8
cmp dword [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x58]
je 0x4210d3
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
cmp ecx, 0x80000001
jne 0x421175
xor ebx, ebx
cmp eax, edx
mov esi, eax
jae 0x420e2e
mov eax, edx
xor edx, edx
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041b540
add esp, 4
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
lea eax, [edx + edx]
lea ecx, [ecx + ebx*2]
push eax
push dword [ebp - 0x18]
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add ebx, dword [ebp - 0x34]
mov eax, esi
sub eax, ebx
mov dword [ebp - 0x24], ebx
cmp eax, edi
jae 0x420e6b
mov edx, ebx
lea ecx, [ebp - 0x2c]
push edi
call fcn.0041b540
add esp, 4
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
jmp 0x420e70
mov edx, dword [ebp - 0x10]
mov ecx, esi
lea eax, [edi + edi]
mov dword [ebp - 0x10], edx
lea ecx, [edx + ebx*2]
push eax
push dword [ebp - 0x1c]
push ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
add ebx, edi
cmp ebx, esi
mov dword [ebp - 0x24], ebx
jne 0x420ea2
lea ecx, [ebp - 0x2c]
mov edx, esi
call fcn.0041b4b0
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edi, 4
mov word [eax + ebx*2], 0
inc ebx
mov dword [ebp - 0x24], ebx
mov bl, 1
cmp dword [ebp - 0x20], 0
je 0x420ecc
push dword [ebp - 0x38]
push 0
push dword [0x4760c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp - 0x2c]
test bl, bl
je 0x420ee2
mov ebx, dword [ebp - 0x28]
cmp eax, 0x80000000
jne 0x420efd
mov esi, dword [ebp - 0x24]
jmp 0x420f38
test eax, eax
je 0x420ef6
push dword [ebp - 0x28]
push 0
push dword [0x4760c0]
call sub.kernel32.dll_HeapFree
mov ebx, edi
jmp 0x420af9
mov dword [ebp - 0x14], eax
push 0
push 0
push 3
push 0
push 7
push 0x80000000
mov edi, ebx
push ebx
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421045
mov esi, eax
mov bl, 4
cmp dword [ebp - 0x14], 0
je 0x420f38
push edi
push 0
push dword [0x4760c0]
call sub.kernel32.dll_HeapFree
cmp bl, 3
je 0x420ffd
movzx eax, bl
cmp eax, 4
jne 0x421035
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x43c], xmm0
movups xmmword [ebp - 0x44c], xmm0
movups xmmword [ebp - 0x45c], xmm0
lea edi, [ebp - 0x45c]
push edi
push esi
call sub.kernel32.dll_GetFileInformationByHandle
test eax, eax
je 0x421043
test byte [ebp - 0x45b], 4
je 0x420fb1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push 8
push eax
push 9
push esi
call sub.kernel32.dll_GetFileInformationByHandleEx
test eax, eax
je 0x42105d
cmp dword [ebp - 0x43c], 0
jne 0x421062
mov eax, dword [ebp - 0x438]
test esi, esi
mov dword [ebp - 0x10], eax
je 0x421070
mov dword [ebp - 0x45c], 0
call sub.kernel32.dll_GetCurrentProcess
push 2
push 0
push 0
push edi
push eax
push esi
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x4210f2
mov eax, dword [ebp - 0x45c]
jmp 0x421072
mov ebx, dword [esi + 4]
mov edi, dword [esi]
mov eax, dword [ebx]
push edi
call eax
add esp, 4
cmp dword [ebx + 4], 0
je 0x421027
cmp dword [ebx + 8], 9
jb 0x421019
mov edi, dword [edi - 4]
push edi
push 0
push dword [0x4760c0]
call sub.kernel32.dll_HeapFree
push esi
push 0
push dword [0x4760c0]
call sub.kernel32.dll_HeapFree
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
jmp 0x421106
jmp 0x42105d
xor ebx, ebx
call sub.kernel32.dll_GetLastError
mov esi, eax
cmp dword [ebp - 0x14], 0
jne 0x420f2a
jmp 0x420f38
call sub.kernel32.dll_GetLastError
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
jmp 0x421100
xor eax, eax
push 0
push 0
push 0
push 2
push 0
mov dword [ebp - 0x20], eax
push eax
call sub.kernel32.dll_CreateFileMappingA
test eax, eax
je 0x4210c0
mov edi, eax
push dword [ebp - 0x10]
push 0
push 0
push 4
push eax
call sub.kernel32.dll_MapViewOfFile
mov ebx, eax
push edi
call sub.kernel32.dll_CloseHandle
test ebx, ebx
je 0x4210c0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax], 1
jmp 0x421100
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
push dword [ebp - 0x20]
call sub.kernel32.dll_CloseHandle
jmp 0x421100
mov edx, dword [ebp - 0x34]
mov eax, esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], ecx
xor ebx, ebx
cmp eax, edx
mov esi, eax
jb 0x420e0f
jmp 0x420e2e
call sub.kernel32.dll_GetLastError
mov eax, dword [ebp - 0x30]
mov dword [eax], 0
push esi
call sub.kernel32.dll_CloseHandle
add esp, 0x450
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x14]
jmp 0x420d92
movzx eax, word [ebx]
cmp eax, 0x2f
je 0x420b97
cmp eax, 0x5c
je 0x420b97
jmp 0x420f00
mov eax, dword [ebp - 0x1c]
cmp word [eax + 6], 0x5c
mov eax, dword [ebp - 0x14]
je 0x420d92
jmp 0x420d7b
mov edx, 0x28
mov ecx, str.internal_error:_entered_unreachable_code_home_fifix_.cargo_registry_src_index.crates.io_6f17d22bba15001f_tokio_1.36.0_src_runtime_blocking_schedule.rs
push 0x4679bc
call fcn.00407d90
add esp, 4
jmp 0x421188
mov edx, ebx
mov ecx, edi
push 0x4679ac
call fcn.00407aa0
add esp, 4
jmp 0x421188
test ecx, ecx
jne 0x421180
call fcn.00406870
jmp 0x421188
mov edx, dword [ebp - 0x54]
call fcn.004068b0
ud2