Function at 0x45f8fe
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xbc
xor esi, esi
cmp dword [edx + 0x10], 2
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ecx
cmovne esi, edx
mov edx, 0x63f290
mov ecx, esi
call fcn.0045fca1
lea edi, [ebp - 0x80]
and dword [edi], 0
push dword [esi + 0x20]
push edi
push ebx
push dword [ebp + 8]
push dword [esi + 0x28]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
mov ebx, eax
mov eax, dword [edi]
setne cl
test eax, eax
setne dl
and dl, cl
cmp dl, 1
jne 0x45f980
xor ecx, ecx
add esi, 0x10
test dl, dl
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x38], 0x80000000
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], 0x642460
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], cl
je 0x45f9d1
mov byte [ebp - 0x18], 4
jmp 0x45fa56
mov byte [ebp - 0xd], dl
call sub.KERNEL32.DLL_GetLastError
test ebx, ebx
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x50], eax
jne 0x45f9c6
lea ecx, [ebp - 0x54]
mov edi, eax
call fcn.00479dd3
mov ebx, edx
mov ecx, eax
mov edx, 0x642450
call fcn.0048e5e9
cmp ebx, 0x3e5
jne 0x45f9c6
mov ecx, dword [ebp - 0x54]
mov edx, edi
call fcn.00479e08
mov dl, byte [ebp - 0xd]
mov cl, 1
xor eax, eax
jmp 0x45f952
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
jmp 0x45fc20
lea esi, [ebp - 0x54]
mov ecx, esi
call fcn.00479e99
xor edi, edi
cmp eax, 1
mov ecx, esi
sbb edi, edi
or edi, edx
call fcn.00479ecd
push edi
push dword [eax + 4]
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0xffffffff
je 0x45fa4a
test eax, eax
je 0x45fa17
cmp eax, 0x102
jne 0x45fc5d
lea ecx, [ebp - 0x18]
mov edx, str.timed_out_while_reading_from_pipe
call fcn.00479d16
jmp 0x45fa56
and dword [ebp - 0x80], 0
lea ecx, [ebp - 0x54]
mov byte [ecx + 0x34], 0
call fcn.00479ecd
push 1
lea ecx, [ebp - 0x80]
push ecx
push dword [eax]
push edx
call sub.KERNEL32.DLL_GetOverlappedResult
test eax, eax
je 0x45fa4a
cmp dword [ebp - 0x80], 0
je 0x45fa4a
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x24], eax
jmp 0x45f977
call sub.KERNEL32.DLL_GetLastError
and dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
movsd xmm2, qword [ebp - 0x54]
mov dword [ebp - 0x54], 2
movsd xmm0, qword [ebp - 0x44]
movsd xmm1, qword [ebp - 0x4c]
mov edi, 0x80000000
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x24]
movsd qword [ebp - 0x8c], xmm0
movsd qword [ebp - 0x94], xmm1
movsd qword [ebp - 0x9c], xmm2
mov dword [ebp - 0x38], edi
cmp edx, edi
jne 0x45fac7
cmp dword [ebp - 0x9c], 2
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 2
je 0x45fb10
lea eax, [ebp - 0x9c]
push eax
call fcn.00479e3f
pop eax
jmp 0x45fb10
cmp dword [ebp - 0x9c], 2
je 0x45fc4b
mov edi, dword [ebp - 0x84]
movsd xmm0, qword [ebp - 0x8c]
movsd xmm2, qword [ebp - 0x9c]
movsd xmm1, qword [ebp - 0x94]
mov dword [ebp - 0x64], edi
movsd qword [ebp - 0x6c], xmm0
movsd qword [ebp - 0x74], xmm1
movsd qword [ebp - 0x7c], xmm2
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x58], ecx
cmp byte [ebp - 0x18], 4
jne 0x45fb26
push 0xb
pop ecx
lea edi, [ebp - 0xc8]
lea esi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
jmp 0x45fb8a
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x9c]
mov dword [ecx + 4], esi
mov dword [ecx], ebx
call fcn.00479dd3
test eax, eax
je 0x45fb59
cmp edx, 0x6d
jne 0x45fb59
push 0xb
pop ecx
mov edx, esi
lea edi, [ebp - 0xc8]
lea esi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
jmp 0x45fb7b
cmp dword [ebp - 0x7c], 3
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc4], 3
jne 0x45fb82
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
call fcn.00479e08
jmp 0x45fb8a
lea ecx, [ebp - 0x80]
call fcn.00479e63
lea esi, [ebp - 0x54]
mov ecx, esi
call fcn.00479e99
test eax, eax
sete al
test edx, edx
setne cl
cmp byte [esi + 0x34], 0
je 0x45fbf6
or al, cl
je 0x45fbf6
lea ecx, [ebp - 0x54]
call fcn.00479ecd
push dword [eax]
push edx
call sub.KERNEL32.DLL_CancelIoEx
test eax, eax
jne 0x45fbf6
call sub.KERNEL32.DLL_GetLastError
lea edi, [ebp - 0x18]
mov esi, eax
mov ecx, edi
mov byte [edi], 0
mov dword [edi + 4], eax
call fcn.00479dd3
mov ebx, edx
mov ecx, eax
mov edx, 0x642390
call fcn.0048e5e9
cmp ebx, 0x3e5
jne 0x45fc6f
xor ecx, ecx
mov edx, esi
call fcn.00479e08
lea esi, [ebp - 0x54]
mov ecx, esi
call fcn.00479e87
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
call fcn.0055d2a5
cmp dword [ebp - 0xc4], 3
jne 0x45fc2a
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x45fc40
lea ecx, [ebp - 0xc8]
mov esi, dword [ecx]
call fcn.00479e63
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], esi
mov byte [eax], 4
add esp, 0xbc
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x28
pop edx
mov ecx, str.internal_error:_entered_unreachable_codeC:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rustls_webpki_0.101.7_srccalendar.rs
push 0x6423ec
call fcn.0043a9e0
push 0x28
pop edx
mov ecx, str.internal_error:_entered_unreachable_codeC:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001f_rustls_webpki_0.101.7_srccalendar.rs
push 0x64248c
call fcn.0043a9e0
xor edx, edx
lea ecx, [ebp - 0x80]
lea eax, [ebp - 0x9c]
inc edx
mov dword [ecx], str.CANCEL_ERROR
mov dword [eax], edi
mov dword [eax + 4], fcn.00521870
mov dword [ecx + 4], edx
and dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov edx, 0x6423b8
call fcn.00439fc0