Function at 0x6abeea
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
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
test eax, eax
jne 0x6abf37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.Failed_to_create_overlap_completion_event.
push eax
call fcn.006ac205
mov eax, dword [0x875bc0]
mov edx, dword [0x875bc4]
pop ecx
pop ecx
jmp 0x6ac0ae
mov edx, dword [ebp + 8]
push ebx
push edi
mov ecx, dword [edx]
call fcn.006ab5f6
mov ebx, eax
xor eax, eax
mov edi, ebx
mov dword [ebp - 0xc], ebx
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 [ebx + 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], 0x3e5
and dword [ebx + 0x20], 0
call fcn.006ac25f
mov edi, dword [ebp + 0x1c]
pop ecx
lea ecx, [ebx + 0x28]
mov dword [ecx], eax
mov eax, dword [ebp + 0x20]
mov dword [ecx + 4], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x38], edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x44], eax
and dword [ebx + 0x48], 0
and dword [ebx + 0x4c], 0
cmp byte [edx + 4], 0
jne 0x6ac00f
mov edx, eax
mov esi, ecx
push edx
and esi, 0xfffff000
mov dword [ebp - 4], edx
push esi
push eax
push ecx
push edi
call fcn.006ac1eb
mov edx, eax
add esp, 0x14
mov eax, dword [ebp + 0x10]
and eax, 0xfff
mov dword [ebp - 0x10], edx
cmp esi, dword [ebp + 0x14]
jne 0x6abfe9
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x18]
jne 0x6abfe9
cmp edx, edi
jne 0x6abfe9
test eax, eax
je 0x6ac00f
mov eax, dword [ebp + 8]
push 0x1000
push edx
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 8]
push edi
push dword [ebp + 0x10]
mov dword [ebx + 0x4c], eax
push eax
call fcn.007390e0
mov eax, dword [ebx + 0x4c]
add esp, 0xc
mov dword [ebp + 0x10], eax
mov edx, dword [ebp - 4]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edx
mov ebx, dword [ebp + 8]
lea esi, [ebx + 0x1c]
push esi
call fcn.006acdfa
pop ecx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebx + 0x20]
call fcn.00681f06
push esi
call fcn.006ace18
mov esi, dword [ebp - 0xc]
pop ecx
push esi
mov eax, dword [esi + 0x28]
mov dword [ebp + 0x18], eax
mov eax, dword [esi + 0x2c]
and dword [ebp - 8], 0
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x6ac0a6
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov dword [ebp + 0x1c], eax
cmp eax, 0x3e5
je 0x6ac0a6
call edi
push str.Failed_to_initiate_file_write.
push eax
call fcn.006ac205
mov eax, dword [ebp + 0x1c]
pop ecx
pop ecx
mov dword [esi + 0x1c], eax
mov ecx, dword [ebp - 8]
push esi
push 1
mov dword [esi + 0x20], ecx
push dword [ebp - 8]
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp - 0x14]
pop edi
pop ebx
pop esi
leave
ret