Function at 0x427df0
Capabilities:
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28c
mov eax, dword [0x4ae480]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [esp + 0x90], ax
mov ebx, edx
lea eax, [esp + 0x92]
mov dword [esp + 0x1c], edi
push eax
call fcn.0047df00
movzx eax, word [ebx + 0x9c]
lea edx, [ebx + 0x9c]
add esp, 0xc
mov ecx, eax
mov dword [esp + 0x10], ecx
mov esi, edx
test ax, ax
je 0x427e7a
mov edi, eax
lea ecx, [edx + 2]
movzx eax, ax
cmp di, 0x5c
je 0x427e63
cmp ax, 0x2f
jne 0x427e65
mov esi, ecx
movzx eax, word [edx + 2]
add edx, 2
add ecx, 2
mov edi, eax
test ax, ax
jne 0x427e57
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x88]
mov edx, 0x104
mov eax, ecx
sub esi, eax
nop word [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x427eae
movzx eax, word [esi + ecx]
test ax, ax
je 0x427eae
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x427e90
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x30]
push eax
call fcn.0047abb0
lea eax, [esp + 0x88]
mov dword [esp + 0x60], 0x77
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push eax
push dword [edi + 0x40]
mov dword [esp + 0x44], 0x78
call fcn.0047ab90
test eax, eax
je 0x4280c6
lea eax, [esp + 0x88]
push eax
call fcn.00408ec0
lea ecx, [esp + 0x88]
cmp eax, ecx
jne 0x427f1f
push str..mpq
push 0x104
mov eax, ecx
push eax
call fcn.00404fc0
push dword [ebx + 0x18]
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x10]
push 0
push 0x40
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x42808d
push 0
push 0
push 0x80000000
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42807c
push 0
push 0
push 0
push 2
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x428061
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [esp + 0x24], esi
test esi, esi
je 0x428043
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
je 0x42801b
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x24]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [esp + 0x20]
call edi
push dword [esp + 0x24]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call edi
push dword [esp + 0x10]
call edi
mov ebx, dword [esp + 0x28]
push ebx
call edi
mov edi, dword [esp + 0x14]
jmp 0x428095
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x24]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call edi
push dword [esp + 0x10]
call edi
mov ebx, dword [esp + 0x28]
push ebx
call edi
mov edi, dword [esp + 0x14]
jmp 0x428095
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call edi
push dword [esp + 0x10]
call edi
mov ebx, dword [esp + 0x28]
push ebx
call edi
mov edi, dword [esp + 0x14]
jmp 0x428095
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esp + 0x10]
mov esi, eax
call edi
mov ebx, dword [esp + 0x28]
push ebx
call edi
mov edi, dword [esp + 0x14]
jmp 0x428095
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
mov esi, eax
call edi
mov edi, dword [esp + 0x14]
jmp 0x428095
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [edi + 0x40]
test esi, esi
jne 0x4280b6
lea ecx, [esp + 0x88]
push ecx
push 0xe5
push 4
push eax
call fcn.00479dc0
add esp, 0x10
jmp 0x4280c6
push 0xb6
push 1
push eax
call fcn.00479dc0
add esp, 0xc
mov ecx, dword [esp + 0x294]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret