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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x1014200c]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x4cda10
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [edi + 0x30]
call eax
push esi
mov edx, 0x969c50
mov ecx, eax
call edx
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x10024f7a
push edi
mov eax, 0x556bd0
call eax
add esp, 4
lea eax, [eax + eax*8]
movzx edx, byte [ebx + eax*4 + 0x1c5]
imul ecx, edx, 0x8c
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x2c]
cmp byte [ecx + eax + 0x22], 0
jne 0x10024f7a
movsx eax, word [esi + 0x22]
cmp edx, eax
jg 0x10024f7a
cmp byte [ebx + 0x22], 8
jne 0x10024948
cmp dword [0xe609e8], 2
je 0x10024948
push 0
push 0
push 0x71
mov eax, 0x6d6c20
call eax
add esp, 0xc
mov eax, dword [0x8128ac8]
movzx eax, byte [eax + 0xb]
and eax, 7
cmp eax, 6
ja case.default.0x10024960
movzx eax, byte [eax + 0x10024f94]
jmp dword [eax*4 + 0x10024f8c]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x20]
push eax
push 0x40
push 4
push 0x59c6fe
call esi
mov dword [0x59c6fe], 0
jmp 0x100249a9
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x20]
push eax
push 0x40
push 4
push 0x59c6fe
call esi
mov dword [0x59c6fe], 0x12c
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x24]
push 4
push 0x59c6fe
call esi
mov cl, byte [ebx + 0x22]
mov dword [esp + 0x30], 0
mov al, cl
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
cmp cl, 2
jb 0x10024d47
cmp cl, 8
ja 0x10024d47
lea esi, [edi + 0x108]
mov dword [esp + 0xc], 3
nop dword [eax + eax]
movss xmm0, dword [edi + 0xfc]
movss dword [esp + 0x30], xmm0
movss xmm0, dword [edi + 0x100]
movss dword [esp + 0x34], xmm0
movss xmm0, dword [edi + 0x104]
addss xmm0, dword [0x10137178]
movss dword [esp + 0x38], xmm0
call fcn.100e55ee
cdq
mov ecx, 0x259
idiv ecx
sub edx, 0x12c
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x3c], xmm0
call fcn.100e55ee
cdq
mov ecx, 0x259
idiv ecx
sub edx, 0x12c
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x40], xmm0
call fcn.100e55ee
cdq
mov ecx, 0x259
idiv ecx
sub edx, 0x12c
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [edi + 0x110]
mulss xmm0, dword [0x10136ecc]
movss dword [esp + 0x24], xmm0
call fcn.10024890
mulss xmm0, dword [0x10137278]
movss xmm1, dword [esp + 0x3c]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x3c], xmm1
call fcn.10024870
mulss xmm0, dword [0x10137278]
mov dword [edi + 0x34], 0
movzx eax, word [ebx + 0x22c]
mov dword [esp + 0x48], 0x3f800000
mov dword [esp + 0x4c], 0x3f800000
mov dword [esp + 0x50], 0x3f800000
addss xmm0, dword [esp + 0x40]
movss dword [esp + 0x40], xmm0
cmp ax, 0xffff
je 0x10024d05
lea ecx, [esp + 0x2c]
cwde
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], 0
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 0
push ecx
push eax
push str.i_ifff
push str.DeathStabEffect
push 0x1014b5c4
mov dword [esp + 0x4c], 0
call fcn.100403b0
mov eax, dword [esp + 0x44]
add esp, 0x20
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x28]
movss xmm3, dword [esp + 0x2c]
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm2
movss dword [esp + 0x50], xmm3
mov dword [edi + 0x34], eax
test eax, eax
je 0x10024d05
mov ecx, 0x87c5708
nop dword [eax + eax]
cmp byte [ecx], 0
je 0x10024bf8
add ecx, 0xa18
cmp ecx, 0x8900de8
jl 0x10024be0
jmp 0x10024d39
movss xmm0, dword [esp + 0x30]
mov edx, 0xffff
movss dword [ecx + 0x18], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [ecx + 0x1c], xmm0
movss xmm0, dword [esp + 0x38]
movss dword [ecx + 0x20], xmm0
movss xmm0, dword [esp + 0x3c]
mov dword [ecx + 8], 0x142
mov dword [ecx + 0x54], 0
mov byte [ecx], 1
mov dword [ecx + 4], 0x142
mov dword [ecx + 0xc], 2
mov word [ecx + 0x10], 0x301
mov byte [ecx + 0x9d4], 0
mov dword [ecx + 0x9e8], edx
mov dword [ecx + 0x9d8], 0
mov word [ecx + 0x9f5], 0x100
mov byte [ecx + 0x64], 0
mov byte [ecx + 0x9f4], 0
mov byte [ecx + 0xa0c], 0
mov word [ecx + 0xa14], dx
mov eax, dword [esi]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 4]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 8]
movss dword [ecx + 0x58], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [ecx + 0x5c], xmm0
movss xmm0, dword [esp + 0x44]
mov dword [ecx + 0x38], eax
movss dword [ecx + 0x48], xmm1
movss dword [ecx + 0x4c], xmm2
movss dword [ecx + 0x50], xmm3
mov dword [ecx + 0x9dc], 0
mov dword [ecx + 0x9e0], 0
mov dword [ecx + 0x9e4], 0
mov dword [ecx + 0x54], edi
mov dword [ecx + 0x68], 0
movss dword [ecx + 0x60], xmm0
mov dword [ecx + 0x9d0], 0x14
mov dword [ecx + 0x6c], 5
mov eax, dword [edi + 0x34]
mov dword [ecx + 8], eax
mov dword [ecx + 0x14], 0x42200000
jmp 0x10024d39
push 0
lea eax, [esp + 0x4c]
push eax
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
push ecx
mov dword [esp], 0x42200000
lea eax, [esp + 0x58]
push edi
push 2
push esi
push eax
lea eax, [esp + 0x5c]
push eax
push 0x142
mov eax, 0x72d1b0
call eax
add esp, 0x34
sub dword [esp + 0xc], 1
jne 0x10024a30
mov al, byte [ebx + 0x22]
mov edx, 0x4cd7f0
mov esi, 0x545030
cmp al, 8
ja 0x10024deb
mov eax, dword [esp + 0x18]
mov ecx, edi
movzx eax, byte [ebx + eax*4 + 0x1c5]
push eax
call edx
test eax, eax
je 0x10024f7a
push 1
lea esi, [edi + 0xb4]
push esi
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
mov eax, 0x545030
call eax
movss xmm0, dword [edi + 0x110]
mulss xmm0, dword [0x10136ecc]
movss dword [esp + 0xc], xmm0
call fcn.10024890
mulss xmm0, dword [0x101371e0]
addss xmm0, dword [esi]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0xc]
call fcn.10024870
mulss xmm0, dword [0x101371e0]
mov edx, 0x4cd7f0
mov esi, 0x545030
movss xmm1, dword [edi + 0xb8]
subss xmm1, xmm0
movss dword [edi + 0xb8], xmm1
mov al, byte [ebx + 0x22]
sub al, 6
cmp al, 6
ja 0x10024f70
mov eax, dword [esp + 0x18]
mov ecx, edi
movzx eax, byte [ebx + eax*4 + 0x1c5]
push eax
call edx
test eax, eax
je 0x10024f7a
push 1
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x1c]
push eax
call esi
movss xmm1, dword [edi + 0x110]
cvtps2pd xmm1, xmm1
movzx eax, byte [ebx + 0x22]
sub eax, 8
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x34], 0x3f800000
mov dword [esp + 0x38], 0x3f800000
movd xmm0, eax
mulsd xmm1, qword [0x10136f98]
cvtdq2ps xmm0, xmm0
divsd xmm1, qword [0x10137028]
mulss xmm0, dword [0x101370c4]
movsd qword [esp + 0x18], xmm1
addss xmm0, dword [0x10137164]
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
movaps xmm0, xmm1
call fcn.1011c3f0
movss xmm1, dword [esp + 0x54]
mulsd xmm0, qword [esp + 0x10]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x18]
movss dword [esp + 0x54], xmm1
call fcn.1011bfa0
movss xmm1, dword [esp + 0x58]
lea eax, [esp + 0x30]
mulsd xmm0, qword [esp + 0x10]
lea esi, [edi + 0x108]
push 0xffffffffffffffff
push ecx
mov dword [esp], 0
push 0
push 0
cvtps2pd xmm1, xmm1
push 0
push 0xffffffffffffffff
push edi
push 1
push eax
push esi
subsd xmm1, xmm0
lea eax, [esp + 0x7c]
push eax
push 0xa93
mov eax, 0x6d9070
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x88], xmm0
call eax
add esp, 0x30
lea eax, [esp + 0x30]
push 0xffffffffffffffff
push ecx
mov dword [esp], 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 1
push eax
push esi
lea eax, [esp + 0x7c]
push eax
push 0xa93
mov eax, 0x6d9070
call eax
movzx esi, word [ebx + 0x80]
add esp, 0x30
mov eax, 0x402bc0
call eax
push esi
mov edx, 0x96a4c0
mov ecx, eax
call edx
test eax, eax
je 0x10024f70
cmp byte [ebx + 0x22], 0xa
jb 0x10024f70
cmp byte [eax + 0x30c], 0
je 0x10024f70
mov byte [eax + 0x325], 0x23
cmp byte [ebx + 0x22], 0xc
jb 0x10024f7a
mov byte [ebx + 0x22], 0xf
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10078509
mov esp, ebp
pop ebp
ret