Function at 0x42c8d0
Capabilities:
Get file size
Parse pe header
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4377db
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6c
push ebx
push esi
push edi
mov eax, dword [0x44aae4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0x44229c
mov dword [ebp - 0x38], 0x4422a0
mov eax, dword [ebp - 0x70]
movzx ecx, word [eax + 0x130]
mov edx, dword [ebp - 0x70]
add ecx, dword [edx]
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.00410250
add esp, 8
test eax, eax
je 0x42c97c
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.00410250
add esp, 8
test eax, eax
jne 0x42ca19
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x134], 1
push str.134
push 0x4422ac
mov ecx, dword [0x44ec3c]
call fcn.0042d990
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x44], edx
push 0
push 0x82
push 2
push 0
push 1
push 0x40000000
push str.C:loader.abc
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
push 0
lea eax, [ebp - 0x40]
push eax
push 0xc000
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42c9f9
mov dword [ebp - 0x50], str.Error_Writing_to_file...
push 0x4465f0
lea eax, [ebp - 0x50]
push eax
call fcn.004130b6
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0xc000
mov edx, dword [ebp - 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42ca26
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x134], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
jne 0x42ca62
mov dword [ebp - 0x54], str.Error_while_getting_handle_to_packed_file.
push 0x4465f0
lea eax, [ebp - 0x54]
push eax
call fcn.004130b6
mov ecx, dword [ebp - 0x70]
add ecx, 0x18
push ecx
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42caa5
mov dword [ebp - 0x58], str.Couldnt_open_file_mapping_with_CreateFileMapping__
push 0x4465f0
lea ecx, [ebp - 0x58]
push ecx
call fcn.004130b6
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42cad5
mov dword [ebp - 0x5c], str.Couldnt_map_view_of_file_with_MapViewOfFile__
push 0x4465f0
lea eax, [ebp - 0x5c]
push eax
call fcn.004130b6
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x30]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x42cb05
mov ecx, dword [ebp - 0x28]
cmp dword [ecx], 0x4550
je 0x42cb1a
mov dword [ebp - 0x60], str.Appears_to_be_an_Invalid_PE_file...
push 0x4465f0
lea edx, [ebp - 0x60]
push edx
call fcn.004130b6
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp - 0x28]
add ecx, dword [edx + 0x28]
mov eax, dword [ebp - 0x70]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x50]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x54]
mov dword [ecx + 0x28], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x34]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx + 6]
mov eax, dword [ebp - 0x70]
mov dword [eax + 8], edx
xor ecx, ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 8]
mov edx, 0x14
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040270b
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x64]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x1c]
add eax, 0xf8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x48], 0
jmp 0x42cbab
mov ecx, dword [ebp - 0x48]
add ecx, 1
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x48]
cmp eax, dword [edx + 8]
jge 0x42cc8b
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
push 0xd
call fcn.0040270b
add esp, 4
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x68]
mov dword [eax + edx], ecx
mov edx, dword [ebp - 0x14]
push edx
push 0xd
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + eax]
push eax
call fcn.004102d8
add esp, 0xc
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 8]
sub edx, 1
cmp dword [ebp - 0x48], edx
jge 0x42cc2f
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x34]
sub ecx, dword [esi + 0xc]
mov dword [edx + eax + 4], ecx
jmp 0x42cc4b
mov edx, dword [ebp - 0x48]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x70]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
sub eax, dword [esi + 0xc]
mov dword [ecx + edx + 4], eax
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x70]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 0x14]
mov dword [eax + ecx + 0xc], edx
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x70]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx + 0x24]
mov esi, dword [ebp - 0x14]
add ecx, dword [esi + 0xc]
mov dword [edx + eax + 8], ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x28
mov dword [ebp - 0x2c], edx
jmp 0x42cba2
jmp 0x42ccdf
mov dword [ebp - 4], 0xffffffff
jmp 0x42cced
cmp dword [sym.imp.KERNEL32.dll_UnmapViewOfFile], 0
je 0x42cd00
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [ebp - 0x24], 0
je 0x42cd10
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x20], 0
je 0x42cd20
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x70]
mov byte [edx + 0x13c], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret