Function at 0x401349
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [ebp + 8]
push esi
push edi
mov esi, 0x401044
xor edi, edi
mov ecx, esi
mov dword [ebp - 8], 0x91
mov dword [ebp - 0x14], edi
call fcn.00401232
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push 0x401048
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x401591
mov eax, dword [ebp + 8]
push ebx
mov ecx, esi
mov dword [ebp - 0xc], 4
call fcn.00401232
push edi
lea eax, [ebp - 4]
push eax
push 0x48
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40157c
cmp dword [ebp - 4], 0x48
jne 0x40157c
cmp dword [ebp - 0x68], 0x2e746164
jne 0x40157c
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x64], edi
call fcn.00401232
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x3000
push dword [ebp - 0x5c]
mov ebx, 0xf400000
push ebx
call edi
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x40143c
cmp dword [ebp - 0xc], 0
je 0x401432
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [ebp - 0xc]
push 0x40
push 0x3000
push dword [ebp - 0x5c]
push ebx
call edi
test eax, eax
mov dword [ebp - 0x1c], eax
je 0x40140d
cmp dword [ebp - 0x1c], 0
je 0x401569
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.00401232
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x40145a
shr eax, 1
xor eax, 0xedb88320
jmp 0x40145c
shr eax, 1
dec edx
jne 0x40144d
mov dword [ebp + ecx*4 - 0x468], eax
inc ecx
cmp ecx, 0x100
jl 0x401448
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x68]
push 0x48
push eax
xor eax, eax
call fcn.00401202
mov ecx, dword [ebp - 0x5c]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov eax, 0x400
add esp, 0xc
cmp ecx, eax
mov dword [ebp - 0xc], ecx
jb 0x40149f
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.00401232
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push edi
push ebx
call fcn.00401330
add esp, 0x10
jmp 0x4014ef
cmp dword [ebp - 4], 0
je 0x4014f3
lea eax, [ebp - 0x468]
push eax
push dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push edi
call fcn.00401202
mov dword [ebp - 0x10], eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
push edi
push ebx
call fcn.00401330
add esp, 0x1c
test eax, eax
jne 0x4014c2
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.00401232
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jne 0x401560
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.00401232
push 0
push 0
push dword [ebp - 0x60]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.00401232
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x5c]
push edi
push ebx
call fcn.00401330
mov eax, dword [ebp - 4]
add esp, 0x10
cmp eax, dword [ebp - 0x5c]
jne 0x401557
mov eax, dword [ebp + 8]
mov ecx, esi
call fcn.00401232
mov dword [ebp - 0x14], 0xf4042cc
jmp 0x401583
mov dword [ebp - 8], 0x96
jmp 0x401583
mov dword [ebp - 8], 0x95
jmp 0x401583
call dword [sym.imp.KERNEL32.dll_GetLastError]
shl eax, 0x10
or eax, 0x94
mov dword [ebp - 8], eax
jmp 0x401583
mov dword [ebp - 8], 0x93
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
pop ebx
jmp 0x4015a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
shl eax, 0x10
or eax, 0x92
mov dword [ebp - 8], eax
cmp dword [ebp - 0x14], edi
pop edi
pop esi
je 0x4015af
call dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, 0x40105c
call fcn.00401232
mov eax, dword [ebp - 8]
leave
ret