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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
push ebx
push esi
push edi
mov byte [ebp - 0xdc], 0x52
mov byte [ebp - 0xdb], 0x61
mov byte [ebp - 0xda], 0x72
mov byte [ebp - 0xd9], 0x21
mov byte [ebp - 0xd8], 0x1a
mov byte [ebp - 0xd7], 7
mov byte [ebp - 0xd6], 0
mov byte [ebp - 0xd5], 0xcf
mov byte [ebp - 0xd4], 0x90
mov byte [ebp - 0xd3], 0x73
mov byte [ebp - 0xd2], 0
mov byte [ebp - 0xd1], 0
mov byte [ebp - 0xd0], 0xd
mov byte [ebp - 0xcf], 0
mov byte [ebp - 0xce], 0
mov byte [ebp - 0xcd], 0
mov byte [ebp - 0xcc], 0
mov byte [ebp - 0xcb], 0
mov byte [ebp - 0xca], 0
mov byte [ebp - 0xc9], 0
mov byte [ebp - 0x10], 0xc4
mov byte [ebp - 0xf], 0x3d
mov byte [ebp - 0xe], 0x7b
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0x40
mov byte [ebp - 0xb], 7
mov byte [ebp - 0xa], 0
push 0
push 0x80
push 3
push 0
push 1
push closesocket
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0xffffffff
jne 0x408fd3
xor eax, eax
jmp 0x4092dc
push 0
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x408fff
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4092dc
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xffffffff
jne 0x409087
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xffffffff
jne 0x409069
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4092dc
push 0
lea eax, [ebp - 4]
push eax
push 0x14
lea ecx, [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4090d8
push 0
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4090c0
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4092dc
push 0
push 0
mov eax, dword [ebp - 8]
sub eax, 7
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push 2
push 0
mov edx, dword [ebp - 0xc8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x409119
mov eax, dword [ebp - 0xc8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4092dc
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40915f
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4092dc
push 0x20
push 0
lea eax, [ebp - 0x40]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov byte [ebp - 0x3e], 0x74
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00408e49
add esp, 8
mov dword [ebp - 0x30], eax
mov word [ebp - 0x3d], 0x8000
mov byte [ebp - 0x27], 0x30
mov byte [ebp - 0x28], 0x14
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x35], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x39], edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov word [ebp - 0x26], ax
mov ecx, dword [ebp - 0x26]
and ecx, 0xffff
add ecx, 0x20
mov word [ebp - 0x3b], cx
push 0x80
push 0
lea edx, [ebp - 0xc0]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x20
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc0]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea edx, [ebp - 0xc0]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
add eax, 0x20
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x26]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x26]
and ecx, 0xffff
add ecx, 0x1e
push ecx
lea edx, [ebp - 0xbe]
push edx
call fcn.00408e49
add esp, 8
mov word [ebp - 0x40], ax
push 0
lea eax, [ebp - 4]
push eax
push 0x20
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x26]
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 4]
push edx
push 7
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret