Function at 0x10054000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101383dc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101831cc], 0
push esi
push edi
jne 0x10054048
mov byte [0x10189f83], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c2ed5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [0x101db098]
mov esi, dword [0x1018d7c4]
test ecx, ecx
je 0x10054076
movzx eax, word [esi + 0x1e]
dec ecx
mov dword [0x101db098], ecx
test cl, 1
jne 0x1005406d
or eax, 2
jmp 0x10054072
and eax, 0xfffd
mov word [esi + 0x1e], ax
cmp byte [0x10189f83], 0
xorps xmm3, xmm3
mov cl, byte [0x101831d9]
movss xmm7, dword [0x101da128]
mov edi, dword [0x10188420]
movss xmm4, dword [0x10186aac]
jne 0x100541a4
movss xmm2, dword [edi + 0x9c]
xor dl, dl
movaps xmm1, xmm2
movss dword [ebp - 0x24], xmm2
comiss xmm3, xmm1
jae 0x10054115
movss xmm2, dword [0x101da130]
ucomiss xmm2, xmm3
lahf
test ah, 0x44
jp 0x100540cf
movaps xmm2, xmm1
jmp 0x10054115
mov eax, dword [edi + 0x4f4f0]
movss xmm5, dword [eax]
ucomiss xmm5, xmm3
lahf
test ah, 0x44
jp 0x100540e7
movaps xmm2, xmm1
jmp 0x10054115
comiss xmm2, xmm3
xorps xmm6, xmm6
jbe 0x1005410d
mulss xmm5, xmm4
movaps xmm0, xmm5
movaps xmm6, xmm1
addss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, xmm4
subss xmm2, xmm0
comiss xmm2, xmm3
ja 0x100540f3
movss xmm2, dword [ebp - 0x24]
movaps xmm1, xmm6
subss xmm1, dword [0x1012a808]
mov eax, dword [0x101831d4]
mulss xmm1, dword [0x1012a700]
divss xmm1, dword [0x1012a7fc]
maxss xmm1, xmm3
test eax, eax
je 0x10054147
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
setae dl
cmp byte [0x101831d8], 0
je 0x10054160
movd xmm0, dword [0x101da100]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x10054168
test dl, dl
je 0x10054409
test cl, cl
je 0x10054171
comiss xmm7, xmm3
ja 0x100541a4
mov eax, dword [edi + 0x4f4f0]
movss xmm0, dword [0x101da12c]
movss xmm1, dword [eax]
mulss xmm1, xmm4
addss xmm1, xmm2
mulss xmm1, xmm4
mulss xmm1, dword [0x1012a628]
subss xmm0, xmm1
comiss xmm0, xmm3
ja 0x10054409
movss xmm4, dword [0x1012a688]
comiss xmm7, xmm4
ja 0x10054409
comiss xmm3, dword [edi + 0x9c]
jae 0x10054409
test cl, cl
je 0x100542a1
comiss xmm7, xmm3
jbe 0x100542a1
movss xmm2, dword [edi + 0x60]
movss xmm0, dword [edi + 0x5c]
movss xmm1, dword [edi + 0x64]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10002f20
movss xmm1, dword [edi + 0x5c]
lea eax, [ebp - 0x10]
divss xmm1, xmm0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x1c], xmm1
movss xmm1, dword [edi + 0x60]
divss xmm1, xmm0
movss dword [ebp - 0x18], xmm1
call fcn.100a35d0
movss xmm2, dword [0x10186aac]
movaps xmm1, xmm2
mov dword [esi + 0x14], 0
mulss xmm1, dword [ebp - 0x24]
push esi
mulss xmm2, dword [0x1012a700]
addss xmm1, dword [ebp - 0x24]
divss xmm1, xmm2
xorps xmm2, xmm2
xorps xmm1, xmmword [0x1012c1c0]
movss dword [esi + 0x10], xmm1
movss xmm1, dword [ebp - 0xc]
subss xmm1, dword [esi + 8]
xorps xmm1, xmmword [0x1012c1c0]
call fcn.100a6770
mov edi, dword [0x10188420]
movss xmm4, dword [0x1012a688]
mov ax, word [esi + 0x1e]
mov ecx, 0xfffd
and ax, cx
or ax, 4
movzx ecx, ax
mov word [esi + 0x1e], cx
mov eax, dword [edi + 0x4f4f0]
movss xmm2, dword [eax]
mulss xmm2, dword [0x10186aac]
mov eax, dword [0x101db088]
addss xmm2, dword [edi + 0x9c]
mulss xmm2, dword [0x10186aac]
sub eax, 0
je 0x1005431c
sub eax, 1
jne 0x10054409
and ecx, 0xfffb
mov dword [0x101db098], 5
or ecx, 2
mov dword [0x101db088], eax
mov word [esi + 0x1e], cx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c2ed5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movss xmm3, dword [0x101da12c]
comiss xmm3, dword [0x1012a620]
jb 0x10054409
movaps xmm0, xmm2
movaps xmm1, xmm3
addss xmm0, xmm2
subss xmm1, xmm0
movss xmm0, dword [0x1012a628]
comiss xmm0, xmm1
jb 0x10054409
movss xmm0, dword [0x101da128]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1005436b
movsd xmm0, qword [0x1012a560]
jmp 0x10054373
movsd xmm0, qword [0x1012a558]
cvtps2pd xmm1, xmm3
subsd xmm1, xmm0
cvtps2pd xmm0, xmm2
divsd xmm1, xmm0
movsd xmm0, qword [0x10186c58]
andps xmm1, xmmword [0x1012c1a0]
ucomisd xmm0, xmm1
movsd qword [ebp - 0x28], xmm1
lahf
test ah, 0x44
jnp 0x100543ff
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x1018db28
push 0x40
push 8
push dword [0x10189758]
call edi
movsd xmm0, qword [ebp - 0x28]
mulsd xmm0, qword [0x1012a5b8]
mov eax, dword [0x10189758]
push 0x1018db28
movsd qword [eax], xmm0
push dword [0x1018db28]
mov esi, dword [0x10189758]
push 8
push esi
call edi
push 8
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movsd xmm0, qword [ebp - 0x28]
movsd qword [0x10186c58], xmm0
mov dword [0x101db088], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100c2ed5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret