Function at 0x10089520
Capabilities:
Allocate or change rwx memory
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 0x100c5e36
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf8
mov eax, dword [0x100dd360]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x10243264]
test al, 1
jne 0x10089636
or eax, 1
mov dword [0x10243264], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa8]
push 0x22
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
push str.B8_________3B_F0_0F_4F_F0_89_5D_FC
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x94], 0
call fcn.10027f90
mov byte [ebp - 4], 1
mov edx, dword [0x1023b380]
test edx, edx
je 0x100895c0
mov edx, dword [edx + 0x50]
jmp 0x100895c2
xor edx, edx
mov eax, dword [0x1023b378]
test eax, eax
je 0x100895d0
mov eax, dword [eax + 0x18]
jmp 0x100895d2
xor eax, eax
lea ecx, [ebp - 0xa8]
push ecx
push eax
call fcn.10086290
mov byte [ebp - 4], 0
add esp, 8
mov ecx, dword [ebp - 0x94]
cmp ecx, 0x10
jb 0x10089622
mov edx, dword [ebp - 0xa8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10089618
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10089618
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100bbcc4
add esp, 8
push 0x100c84a0
call fcn.100bbcaa
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edi, dword [0x100efdf8]
cmp dword [0x10242d4c], edi
je 0x10089691
mov eax, dword [0x1024325c]
test eax, eax
je 0x10089650
inc eax
jmp 0x10089652
xor eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x18]
push ecx
push 0x40
push 4
push eax
mov dword [ebp - 0x84], eax
add edi, 3
mov dword [ebp - 0x18], 0
call esi
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x18]
push ecx
mov dword [eax], edi
push dword [ebp - 0x18]
push 4
push eax
call esi
mov eax, dword [0x100efdf8]
mov dword [0x10242d4c], eax
mov eax, dword [0x100efe08]
cmp byte [eax], 0
jne 0x100896a3
mov eax, dword [0x100efe04]
mov byte [eax], 0
cvttss2si eax, dword [0x100e1690]
test eax, eax
je 0x10089b90
mov ecx, dword [0x1023b3b0]
mov esi, dword [0x1023b43c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x100896db
mov eax, dword [esi]
test eax, eax
je 0x100896db
mov al, byte [eax + 0x20]
test al, al
jne 0x10089b90
test byte [0x100ef72c], 0x40
jne 0x10089b90
cmp byte [0x100e14bc], 0
je 0x100898d2
cvttss2si esi, dword [0x100e1690]
push 0
push dword [0x100e1574]
cmp dword [0x100efdf8], esi
push dword [0x100e1570]
cmovl esi, dword [0x100efdf8]
call fcn.100bb5b0
mov ecx, dword [0x100e1574]
cmp eax, ecx
je 0x1008976d
push 3
push ecx
push dword [0x100e1570]
call fcn.100bb5b0
cmp eax, dword [0x100e1574]
je 0x1008976d
test byte [0x100efe70], 2
je 0x1008974f
test byte [0x100ef72c], 1
je 0x1008976d
cmp byte [0x1023bf80], 0
jne 0x1008976d
cvttss2si esi, dword [0x100e1f4c]
cmp dword [0x100efdf8], esi
cmovl esi, dword [0x100efdf8]
mov ecx, dword [0x1023b598]
xor eax, eax
cmp byte [0x100fe4e4], al
mov edx, dword [0x100ef724]
cmovne esi, eax
add ecx, 0xffffffda
mov eax, ecx
xor eax, 0xbc88473d
cmp dword [0x100efef8], 0
movq xmm0, qword [eax + edx]
mov eax, dword [eax + edx + 8]
movq qword [ebp - 0x24], xmm0
mov dword [ebp - 0x1c], eax
jne 0x100897b2
xor ecx, 0xbc88473d
add ecx, edx
jmp 0x100897ca
mov ecx, dword [0x100efef0]
mov eax, dword [0x100efeec]
dec ecx
and ecx, dword [0x100efef4]
mov ecx, dword [eax + ecx*4]
add ecx, 4
movq xmm0, qword [ecx]
movss xmm1, dword [ebp - 0x24]
movss xmm2, dword [ebp - 0x20]
mov eax, dword [ecx + 8]
lea ecx, [ebp - 0x24]
movq qword [ebp - 0x90], xmm0
subss xmm2, dword [ebp - 0x8c]
subss xmm1, dword [ebp - 0x90]
movss xmm0, dword [ebp - 0x1c]
mov dword [ebp - 0x88], eax
subss xmm0, dword [ebp - 0x88]
mulss xmm2, xmm2
push 0x100e1570
mulss xmm1, xmm1
mov dword [ebp - 0x1c], 0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
movq qword [ebp - 0x24], xmm0
movss dword [ebp - 0x84], xmm2
call fcn.100269b0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
cmp eax, edi
je 0x100898c3
movss xmm2, dword [0x100eff2c]
movss xmm0, dword [0x100d1f50]
movss xmm1, dword [ebp - 0x84]
nop word [eax + eax]
mov edx, dword [eax]
test edx, edx
jne 0x10089bb6
comiss xmm1, xmm0
jbe 0x10089c12
comiss xmm2, xmm0
jbe 0x10089c12
mov eax, dword [0x100e1618]
test eax, eax
je 0x100898ab
cmp eax, 1
jne 0x10089c22
movss xmm0, dword [0x100d2230]
comiss xmm0, xmm1
jb 0x100898b3
mov eax, dword [0x100efe04]
mov byte [eax], 0
cmp dword [0x100efdfc], esi
jl 0x100898c3
mov eax, dword [0x100efe04]
mov byte [eax], 1
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.10026a30
cmp byte [0x100e1748], 0
jne 0x10089b0a
mov ecx, dword [0x1023b598]
mov edx, dword [0x100ef724]
add ecx, 0xffffffda
xor ecx, 0xbc88473d
push 0x30
push 0
mov eax, dword [ecx + edx + 8]
movq xmm0, qword [ecx + edx]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1023b5a8]
add eax, 0xffffffd6
movq qword [ebp - 0x9c], xmm0
xor eax, 0xbc884741
movq xmm0, xmm0
movq qword [ebp - 0x24], xmm0
movq xmm0, qword [eax + edx]
mov eax, dword [eax + edx + 8]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x5c]
push eax
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x18], 0x100d1000
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [0x1023b45c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x60], 0
add esp, 0xc
movups xmmword [ebp - 0x70], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x84], eax
call dword [ebp - 0x84]
mov eax, dword [0x1023b410]
movss xmm2, dword [ebp - 0x88]
movss xmm4, dword [ebp - 0x90]
movss xmm3, dword [ebp - 0x8c]
movss xmm1, dword [eax + 0x20]
movss xmm5, dword [ebp - 0x9c]
movaps xmm0, xmm1
movss xmm6, dword [ebp - 0x98]
fstp dword [ebp - 0x84]
mulss xmm0, dword [ebp - 0x84]
mov dword [ebp - 0xe4], 0
mulss xmm3, xmm1
mov byte [ebp - 0xbb], 1
subss xmm2, xmm0
mulss xmm4, xmm1
addss xmm3, dword [ebp - 0x20]
xorps xmm0, xmm0
addss xmm4, dword [ebp - 0x24]
mulss xmm2, xmm1
movss xmm1, dword [ebp - 0x94]
subss xmm3, xmm6
addss xmm2, dword [ebp - 0x1c]
subss xmm4, xmm5
movss dword [ebp - 0xec], xmm3
mulss xmm3, xmm3
subss xmm2, dword [0x100d205c]
movss dword [ebp - 0xf0], xmm4
mulss xmm4, xmm4
subss xmm2, xmm1
addss xmm3, xmm4
movss dword [ebp - 0xe8], xmm2
mulss xmm2, xmm2
addss xmm3, xmm2
ucomiss xmm3, xmm0
lahf
test ah, 0x44
jp 0x10089a49
mov byte [ebp - 0xbb], 0
mov ecx, dword [0x1023b3cc]
lea edx, [ebp - 0x80]
push edx
mov dword [ebp - 0xc0], 0
lea edx, [ebp - 0x18]
mov byte [ebp - 0xbc], 1
movss dword [ebp - 0x100], xmm5
movss dword [ebp - 0xfc], xmm6
movss dword [ebp - 0xf8], xmm1
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xd0], 0
mov eax, dword [ecx]
push edx
push 0x200400b
lea edx, [ebp - 0x100]
mov eax, dword [eax + 0x14]
push edx
call eax
movss xmm0, dword [ebp - 0x54]
ucomiss xmm0, dword [0x100d1fec]
lahf
test ah, 0x44
jnp 0x10089b0a
movss xmm0, dword [ebp - 0x60]
comiss xmm0, dword [0x100d1fc4]
jbe 0x10089b0a
test byte [0x100ef72c], 1
jne 0x10089b0a
mov eax, dword [0x100efe04]
mov byte [eax], 1
mov eax, dword [0x100ee634]
cmp eax, 0xffffffff
je 0x10089b2a
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100f17e8]
test al, al
je 0x10089b2a
mov eax, dword [0x100efe04]
mov byte [eax], 0
cmp byte [0x100ddf80], 0
jne 0x10089b6e
mov eax, dword [0x100efe64]
test byte [eax + 0x30], 1
je 0x10089b5d
mov ecx, 0x100ef720
call fcn.10037f20
test al, al
je 0x10089b5d
mov eax, dword [0x100efe04]
mov byte [eax], 1
cmp byte [0x100ddf80], 0
jne 0x10089b6e
cmp byte [0x100ef749], 0
je 0x10089b6e
mov eax, dword [0x100efe04]
mov byte [eax], 1
mov eax, dword [0x100efdfc]
xor edx, edx
movzx ecx, byte [0x100efde4]
cmp eax, 0xe
cmovge ecx, edx
mov byte [0x100efde4], cl
cmp eax, dword [0x100efdf8]
jl 0x10089b98
mov eax, dword [0x100efe04]
mov byte [eax], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bb796
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp edx, 1
jne 0x10089bd4
test byte [0x100efe70], 2
jne 0x1008988c
test byte [0x100ef72c], dl
je 0x1008988c
cmp edx, 2
jne 0x10089bfb
mov ecx, dword [0x1023b640]
mov edi, dword [0x100ef724]
add ecx, 0xffffffb0
xor ecx, 0xbc884767
cmp byte [ecx + edi], 0
mov edi, dword [ebp - 0x20]
jne 0x1008988c
cmp edx, 3
jne 0x10089c12
comiss xmm2, xmm0
jbe 0x10089c12
cmp byte [0x1023bf80], 0
jne 0x1008988c
add eax, 4
cmp eax, edi
jne 0x10089870
jmp 0x100898c3
cmp eax, 2
jne 0x10089c4f
mov eax, dword [0x100efdfc]
cmp eax, dword [0x1023bf60]
jl 0x100898ab
mov eax, dword [0x1023b4d8]
push esi
push 2
call eax
add esp, 8
mov dword [0x1023bf60], eax
jmp 0x100898b3
cmp eax, 3
jne 0x100898b3
mov eax, dword [0x100efe64]
mov ecx, 0x1e
mov eax, dword [eax + 4]
cdq
idiv ecx
cmp edx, dword [0x100efdf8]
jl 0x100898ab
mov eax, dword [0x1023b424]
cmp dword [eax + 0x4cb0], 1
mov eax, dword [0x100efe04]
setge cl
mov byte [eax], cl
jmp 0x100898b3