Function at 0x425180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4618f0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x47d6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
mov esi, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebp - 0x60], edi
mov dword [ebp - 4], ebx
cmp edi, ebx
jne 0x425244
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x58], eax
mov eax, 7
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
xor ecx, ecx
xor edx, edx
mov eax, 1
mov dword [ebp - 0x54], vtable.LogItem.0
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], cx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], dx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push eax
push str.Cannot_create_read_event._Error:
lea ecx, [ebp - 0x54]
call fcn.004074a0
mov ecx, eax
call fcn.00416ce0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00407130
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x425396
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x58]
lea edx, [ebp - 0x5c]
push edx
mov edx, dword [esi + 0x20]
push eax
push ecx
push edx
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x58], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x58], ebx
jne 0x425299
cmp eax, 0x3e5
je 0x425299
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
cmp edi, 0xffffffff
je 0x425291
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or eax, 0xffffffff
jmp 0x425396
mov eax, dword [esi + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x425300
mov eax, 7
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
xor ecx, ecx
xor edx, edx
mov eax, 1
mov dword [ebp - 0x54], vtable.LogItem.0
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], cx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], dx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
push str.Timeout_occured_while_reading_from_heci_device.
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x14], eax
call fcn.004074a0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00407130
push edi
mov ecx, esi
call fcn.00424120
jmp 0x425285
mov edx, dword [esi + 0x20]
push 1
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x74]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
cmp eax, ebx
jne 0x425385
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x58], eax
mov eax, 7
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x20], eax
xor ecx, ecx
xor edx, edx
mov eax, 1
mov dword [ebp - 0x54], vtable.LogItem.0
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], cx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x34], dx
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x58]
push eax
push str.Read_function_fail_to_finish._Error:
lea ecx, [ebp - 0x54]
call fcn.004074a0
mov ecx, eax
call fcn.00416ce0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00407130
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
jmp 0x425285
mov esi, dword [ebp - 0x5c]
cmp edi, 0xffffffff
je 0x425394
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444268
mov esp, ebp
pop ebp
ret 8