Function at 0x1002651d
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 [0x10149040]
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 dword [esp + 0xc], eax
test eax, eax
je 0x10026b2a
push edi
mov eax, 0x556bd0
call eax
mov dword [esp + 0x1c], eax
add esp, 4
lea eax, [eax + eax*8]
movzx esi, byte [ebx + eax*4 + 0x1c5]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
imul edx, esi, 0x8c
mov ecx, dword [eax + 0x2c]
cmp byte [edx + ecx + 0x22], 0
jne 0x10026b2a
movsx eax, word [eax + 0x22]
cmp esi, eax
jg 0x10026b2a
cmp byte [ebx + 0x22], 8
jne 0x100264fe
cmp dword [0xe609e8], 2
je 0x100264fe
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.0x10026516
movzx eax, byte [eax + 0x10026b44]
jmp dword [eax*4 + 0x10026b3c]
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 0x1002655f
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 al, byte [ebx + 0x22]
sub al, 2
mov dword [esp + 0x30], 0
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 al, 6
ja 0x100268f2
mov esi, 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 [0x1013dca0]
movss dword [esp + 0x38], xmm0
call fcn.100efd6e
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.100efd6e
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.100efd6e
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 [0x1013d9d4]
movss dword [esp + 0x24], xmm0
call fcn.10026440
mulss xmm0, dword [0x1013ddac]
movss xmm1, dword [esp + 0x3c]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x24]
movss dword [esp + 0x3c], xmm1
call fcn.10026420
mulss xmm0, dword [0x1013ddac]
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 0x100268af
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 0x10152670
mov dword [esp + 0x4c], 0
call fcn.100439d0
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 0x100268af
mov ecx, 0x87c5708
nop dword [eax + eax]
cmp byte [ecx], 0
je 0x10026798
add ecx, 0xa18
cmp ecx, 0x8900de8
jl 0x10026780
jmp 0x100268e9
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]
mov dword [ecx + 8], 0x142
mov dword [ecx + 0x54], 0
movss dword [ecx + 0x20], xmm0
movss xmm0, dword [esp + 0x44]
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 [edi + 0x108]
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0x10c]
mov dword [ecx + 0x34], eax
mov eax, dword [edi + 0x110]
movss dword [ecx + 0x48], xmm1
movss xmm1, dword [esp + 0x40]
movss dword [ecx + 0x4c], xmm2
movss xmm2, dword [esp + 0x3c]
mov dword [ecx + 0x38], eax
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 + 0x58], xmm2
movss dword [ecx + 0x5c], xmm1
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 0x100268e9
push 0
lea eax, [esp + 0x4c]
push eax
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
push ecx
mov dword [esp], 0x42200000
lea eax, [edi + 0x108]
push edi
push 2
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x5c]
push eax
push 0x142
mov eax, 0x72d1b0
call eax
add esp, 0x34
sub esi, 1
jne 0x100265d0
cmp byte [ebx + 0x22], 8
mov edx, 0x4cd7f0
mov esi, 0x545030
ja 0x10026995
mov eax, dword [esp + 0x10]
mov ecx, edi
movzx eax, byte [ebx + eax*4 + 0x1c5]
push eax
call edx
test eax, eax
je 0x10026b2a
push 1
lea esi, [edi + 0xb4]
push esi
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, 0x545030
call eax
movss xmm0, dword [edi + 0x110]
mulss xmm0, dword [0x1013d9d4]
movss dword [esp + 0x10], xmm0
call fcn.10026440
mulss xmm0, dword [0x1013dd14]
addss xmm0, dword [esi]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10026420
mulss xmm0, dword [0x1013dd14]
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 0x10026b20
mov eax, dword [esp + 0x18]
mov ecx, edi
lea eax, [eax + eax*8]
movzx eax, byte [ebx + eax*4 + 0x1c5]
push eax
call edx
test eax, eax
je 0x10026b2a
push 1
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x18]
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 [0x1013dab0]
cvtdq2ps xmm0, xmm0
divsd xmm1, qword [0x1013db48]
mulss xmm0, dword [0x1013dbe0]
movsd qword [esp + 0x10], xmm1
addss xmm0, dword [0x1013dc8c]
movss dword [esp + 0x5c], xmm0
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
movaps xmm0, xmm1
call fcn.10125e90
movss xmm1, dword [esp + 0x54]
mulsd xmm0, qword [esp + 0x18]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x10]
movss dword [esp + 0x54], xmm1
call fcn.10125a40
movss xmm1, dword [esp + 0x58]
lea eax, [esp + 0x30]
mulsd xmm0, qword [esp + 0x18]
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 0x10026b20
cmp byte [ebx + 0x22], 0xa
jb 0x10026b20
cmp byte [eax + 0x30c], 0
je 0x10026b20
mov byte [eax + 0x325], 0x23
cmp byte [ebx + 0x22], 0xc
jb 0x10026b2a
mov byte [ebx + 0x22], 0xf
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10080ec9
mov esp, ebp
pop ebp
ret