Function at 0x402320
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
and byte [ebp - 0xd6], 0
mov byte [ebp - 0xd5], 0xcf
mov byte [ebp - 0xd4], 0x90
mov byte [ebp - 0xd3], 0x73
and byte [ebp - 0xd2], 0
and byte [ebp - 0xd1], 0
mov byte [ebp - 0xd0], 0xd
and byte [ebp - 0xcf], 0
and byte [ebp - 0xce], 0
and byte [ebp - 0xcd], 0
and byte [ebp - 0xcc], 0
and byte [ebp - 0xcb], 0
and byte [ebp - 0xca], 0
and byte [ebp - 0xc9], 0
mov byte [ebp - 0x10], 0xc4
mov byte [ebp - 0xf], 0x3d
mov byte [ebp - 0xe], 0x7b
and byte [ebp - 0xd], 0
mov byte [ebp - 0xc], 0x40
mov byte [ebp - 0xb], 7
and byte [ebp - 0xa], 0
push 0
push 0x80
push 3
push 0
push 1
push accept
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 0xffffffff
jne 0x402405
xor eax, eax
jmp 0x4026d5
push 0
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x40242f
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4026d5
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xffffffff
jne 0x4024b3
push 0
push 0x80
push 1
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0xffffffff
jne 0x402496
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4026d5
push 0
lea eax, [ebp - 4]
push eax
push 0x14
lea eax, [ebp - 0xdc]
push eax
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x402500
push 0
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4024e9
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4026d5
push 0
push 0
mov eax, dword [ebp - 8]
sub eax, 7
push eax
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push 0
push 2
push 0
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40253e
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4026d5
push 0
push 0
push 0
push 4
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x402580
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4026d5
push 0x20
push 0
lea eax, [ebp - 0x40]
push eax
call fcn.00409ce0
add esp, 0xc
mov byte [ebp - 0x3e], 0x74
push dword [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.00402280
pop ecx
pop ecx
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 eax, dword [ebp - 0x18]
mov dword [ebp - 0x35], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x39], eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov word [ebp - 0x26], ax
movzx eax, word [ebp - 0x26]
add eax, 0x20
mov word [ebp - 0x3b], ax
push 0x80
push 0
lea eax, [ebp - 0xc0]
push eax
call fcn.00409ce0
add esp, 0xc
push 0x20
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00409950
add esp, 0xc
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0x20
mov dword [ebp - 0x1c], eax
movzx eax, word [ebp - 0x26]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call fcn.00409950
add esp, 0xc
movzx eax, word [ebp - 0x26]
add eax, 0x1e
push eax
lea eax, [ebp - 0xbe]
push eax
call fcn.00402280
pop ecx
pop ecx
mov word [ebp - 0x40], ax
push 0
lea eax, [ebp - 4]
push eax
push 0x20
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
movzx eax, word [ebp - 0x26]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 4]
push eax
push 7
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret