Function at 0x100545a0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102c5c5d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
push esi
push edi
mov eax, dword [0x1066bbc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop dword [eax]
nop word [eax + eax]
mov ax, word [0x10345300]
xor ecx, ecx
movq xmm0, qword [0x103452f8]
mov word [ebp - 0x18], ax
mov al, byte [0x10345302]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x16], al
mov eax, 0x1f7047dd
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
mov dl, cl
shr eax, 5
movsx eax, al
imul eax, eax, 0x39
sub dl, al
add dl, 0x33
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xb
jl 0x10054611
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054655
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10053700
cmp dword [ebp - 0x3c], 0xf
lea eax, [ebp - 0x50]
cmova eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 0x3c]
mov esi, eax
cmp ecx, 0xf
jbe 0x100546b3
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100546a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100549aa
push ecx
push edx
call fcn.102c1b57
add esp, 8
push 0x64
call edi
test esi, esi
je 0x100545f0
movups xmm0, xmmword [str.__ERJj_UXtPO55B]
movups xmmword [ebp - 0x24], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x10054851
xor edx, edx
cmp dword [0x106d5adc], 2
mov dword [ebp - 0x14], edx
jl 0x10054820
movaps xmm0, xmmword [0x10654630]
lea esi, [ebp - 0x20]
movaps xmm4, xmmword [0x106544f0]
xor ecx, ecx
movaps xmm3, xmmword [0x10654a20]
movaps xmm5, xmmword [0x10654570]
movaps xmmword [ebp - 0x50], xmm0
mov edx, dword [ebp - 0x50]
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [ebp + ecx - 0x24]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movd dword [ebp + ecx - 0x24], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckldq xmm1, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
andps xmm1, xmmword [0x106545f0]
packuswb xmm1, xmm1
movd xmm0, edx
paddb xmm1, xmm0
movd xmm0, dword [esi + ecx]
xorps xmm1, xmm0
movd dword [esi + ecx], xmm1
add ecx, 8
cmp ecx, 0x10
jl 0x10054720
jmp 0x10054851
mov eax, 0x8fb823ef
imul edx
add edx, dword [ebp - 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x14]
movsx eax, al
mov cl, dl
imul eax, eax, 0x39
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x24], cl
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x10
jl 0x10054820
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x6c], 0
movups xmmword [ebp - 0x80], xmm0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054870
sub ecx, edx
lea eax, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x80]
call fcn.10053700
mov dword [ebp - 4], 0
lea esi, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0xf
mov ax, word [0x10345300]
movq xmm0, qword [0x103452f8]
mov word [ebp - 0x18], ax
mov al, byte [0x10345302]
movq qword [ebp - 0x20], xmm0
mov byte [ebp - 0x16], al
jbe 0x100548b8
mov esi, dword [ebp - 0x80]
xor edx, edx
mov dword [ebp - 0x14], edx
nop dword [eax]
mov eax, 0x1f7047dd
mul edx
mov eax, dword [ebp - 0x14]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, dword [ebp - 0x14]
shr eax, 5
mov cl, dl
movsx eax, al
imul eax, eax, 0x39
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x20], cl
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0xb
jl 0x100548c0
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x68], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10054910
sub ecx, edx
lea eax, [ebp - 0x20]
push ecx
push eax
lea ecx, [ebp - 0x68]
call fcn.10053700
cmp dword [ebp - 0x54], 0xf
lea eax, [ebp - 0x68]
cmova eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x54]
mov esi, eax
cmp ecx, 0xf
jbe 0x10054972
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10054968
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100549aa
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
cmp ecx, 0xf
jbe 0x100549ba
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100549b0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100549b0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.102c1b57
add esp, 8
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
test esi, esi
je 0x10054a24
push 0x40
push 0x1000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, eax
mov dword [0x106d5ba8], ecx
test ecx, ecx
je 0x10054a24
movups xmm0, xmmword [esi]
movups xmmword [ecx], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ecx + 0x10], xmm0
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ecx + 0x1c], ax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret