Function at 0x68adb8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
xor eax, eax
push eax
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x68ae04
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Failed_to_create_overlap_completion_event.
push eax
call fcn.0068b296
mov eax, dword [0x84b518]
mov edx, dword [0x84b51c]
pop ecx
pop ecx
jmp 0x68af76
mov edx, dword [ebp + 8]
push edi
mov ecx, dword [edx]
call fcn.0068a68b
mov ecx, eax
xor eax, eax
mov edi, ecx
mov dword [ebp - 4], ecx
push dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0x3e5
and dword [ecx + 0x20], 0
call fcn.0068b2f0
pop ecx
mov ecx, dword [ebp - 4]
lea edi, [ecx + 0x28]
mov dword [edi], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ecx + 0x38], eax
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 0x14]
mov dword [ecx + 0x40], edi
mov dword [ecx + 0x44], ebx
mov dword [ecx + 0x48], edx
mov edx, dword [ebp + 8]
and dword [ecx + 0x4c], 0
cmp byte [edx + 4], 0
jne 0x68aed6
mov ecx, ebx
mov esi, edi
push ecx
and esi, 0xfffff000
push esi
push ebx
push edi
push eax
call fcn.0068b27c
mov ecx, dword [ebp + 0x10]
add esp, 0x14
mov edx, eax
and ecx, 0xfff
cmp esi, edi
mov dword [ebp - 0x10], edx
mov edi, ebx
jne 0x68aeb3
cmp edi, ebx
jne 0x68aeb3
cmp edx, dword [ebp + 0x1c]
jne 0x68aeb3
test ecx, ecx
je 0x68aece
mov ebx, dword [ebp + 8]
push 0x1000
push edx
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 4]
mov dword [ebp + 0x10], eax
mov dword [ecx + 0x4c], eax
jmp 0x68aeda
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 8]
jmp 0x68aeda
mov edi, ebx
mov ebx, edx
mov dword [ecx + 8], esi
lea esi, [ebx + 0x1c]
push esi
mov dword [ecx + 0xc], edi
call fcn.0068b721
pop ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebx + 0x20]
call fcn.00665faa
push esi
call fcn.0068b73f
mov esi, dword [ebp - 4]
pop ecx
push esi
mov eax, dword [esi + 0x28]
mov dword [ebp + 0x1c], eax
mov eax, dword [esi + 0x2c]
and dword [ebp - 0xc], 0
mov dword [ebp + 0x18], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x68af6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x68af6f
cmp edi, 0x26
je 0x68af57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Failed_to_initiate_file_read.
push eax
call fcn.0068b296
pop ecx
pop ecx
mov dword [esi + 0x1c], edi
mov ecx, dword [ebp - 0xc]
push esi
push 1
mov dword [esi + 0x20], ecx
push dword [ebp - 0xc]
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
leave
ret