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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x1014800c]
xor eax, esp
mov dword [esp + 0x58], 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 + 0xc], esi
test esi, esi
je 0x10025c3f
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 + 0x10], eax
mov eax, dword [esi + 0x2c]
cmp byte [ecx + eax + 0x22], 0
jne 0x10025c3f
movsx eax, word [esi + 0x22]
cmp edx, eax
jg 0x10025c3f
cmp byte [ebx + 0x22], 8
jne 0x10025608
cmp dword [0xe609e8], 2
je 0x10025608
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.0x10025620
movzx eax, byte [eax + 0x10025c5c]
jmp dword [eax*4 + 0x10025c54]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x18]
push eax
push 0x40
push 4
push 0x59c6fe
call esi
mov dword [0x59c6fe], 0
jmp 0x10025669
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0x18]
push eax
push 0x40
push 4
push 0x59c6fe
call esi
mov dword [0x59c6fe], 0x12c
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x1c]
push 4
push 0x59c6fe
call esi
mov al, byte [ebx + 0x22]
sub al, 2
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
cmp al, 6
ja 0x10025a02
mov esi, 3
nop word [eax + eax]
movss xmm0, dword [edi + 0xfc]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [edi + 0x100]
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [edi + 0x104]
addss xmm0, dword [0x1013d340]
movss dword [esp + 0x30], xmm0
call fcn.100eb10e
cdq
mov ecx, 0x259
idiv ecx
sub edx, 0x12c
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x34], xmm0
call fcn.100eb10e
cdq
mov ecx, 0x259
idiv ecx
sub edx, 0x12c
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x2c]
movss dword [esp + 0x38], xmm0
call fcn.100eb10e
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
movss xmm0, dword [edi + 0x110]
mulss xmm0, dword [0x1013d088]
movss dword [esp + 0x1c], xmm0
call fcn.10025550
mulss xmm0, dword [0x1013d44c]
movss xmm1, dword [esp + 0x34]
subss xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x34], xmm1
call fcn.10025530
mulss xmm0, dword [0x1013d44c]
mov dword [edi + 0x34], 0
movzx eax, word [ebx + 0x22c]
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x48], 0x3f800000
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x38], xmm0
cmp ax, 0xffff
je 0x100259bf
lea ecx, [esp + 0x24]
cwde
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x20], 0
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
push ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], 0
push ecx
push eax
push str.i_ifff
push str.DeathStabEffect
push 0x101515c4
mov dword [esp + 0x44], 0
call fcn.10041ad0
mov eax, dword [esp + 0x3c]
add esp, 0x20
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm3
mov dword [edi + 0x34], eax
test eax, eax
je 0x100259bf
mov ecx, 0x87c5708
nop dword [eax + eax]
cmp byte [ecx], 0
je 0x100258a8
add ecx, 0xa18
cmp ecx, 0x8900de8
jl 0x10025890
jmp 0x100259f9
movss xmm0, dword [esp + 0x28]
mov edx, 0xffff
movss dword [ecx + 0x18], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [ecx + 0x1c], xmm0
movss xmm0, dword [esp + 0x30]
mov dword [ecx + 8], 0x142
mov dword [ecx + 0x54], 0
movss dword [ecx + 0x20], xmm0
movss xmm0, dword [esp + 0x3c]
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 + 0x38]
movss dword [ecx + 0x4c], xmm2
movss xmm2, dword [esp + 0x34]
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 0x100259f9
push 0
lea eax, [esp + 0x44]
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 + 0x5c]
push eax
lea eax, [esp + 0x54]
push eax
push 0x142
mov eax, 0x72d1b0
call eax
add esp, 0x34
sub esi, 1
jne 0x100256e0
cmp byte [ebx + 0x22], 8
mov edx, 0x4cd7f0
mov esi, 0x545030
ja 0x10025aa5
mov eax, dword [esp + 0x10]
mov ecx, edi
movzx eax, byte [ebx + eax*4 + 0x1c5]
push eax
call edx
test eax, eax
je 0x10025c3f
push 1
lea esi, [edi + 0xb4]
push esi
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x18]
push eax
mov eax, 0x545030
call eax
movss xmm0, dword [edi + 0x110]
mulss xmm0, dword [0x1013d088]
movss dword [esp + 0x1c], xmm0
call fcn.10025550
mulss xmm0, dword [0x1013d3b4]
addss xmm0, dword [esi]
movss dword [esi], xmm0
movss xmm0, dword [esp + 0x1c]
call fcn.10025530
mulss xmm0, dword [0x1013d3b4]
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 0x10025c35
mov eax, dword [esp + 0x10]
mov ecx, edi
movzx eax, byte [ebx + eax*4 + 0x1c5]
push eax
call edx
test eax, eax
je 0x10025c3f
push 1
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x18]
push eax
call esi
movzx eax, byte [ebx + 0x22]
sub eax, 8
mov dword [esp + 0x28], 0x3f800000
mov dword [esp + 0x2c], 0x3f800000
mov dword [esp + 0x30], 0x3f800000
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x1013d284]
addss xmm0, dword [0x1013d32c]
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x54], xmm0
movss xmm0, dword [edi + 0x110]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x1013d158]
divsd xmm0, qword [0x1013d1e8]
movsd qword [esp + 0x10], xmm0
call fcn.10121f20
movss xmm1, dword [esp + 0xc]
cvtps2pd xmm1, xmm1
mulsd xmm0, xmm1
movss xmm1, dword [esp + 0x4c]
cvtps2pd xmm1, xmm1
addsd xmm0, xmm1
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movsd xmm0, qword [esp + 0x10]
movss dword [esp + 0x4c], xmm1
call fcn.10121ad0
movss xmm1, dword [esp + 0xc]
lea eax, [esp + 0x28]
cvtps2pd xmm1, xmm1
push 0xffffffffffffffff
push ecx
mov dword [esp], 0
lea esi, [edi + 0x108]
push 0
push 0
push 0
mulsd xmm0, xmm1
push 0xffffffffffffffff
movss xmm1, dword [esp + 0x68]
cvtps2pd xmm1, xmm1
push edi
push 1
push eax
push esi
lea eax, [esp + 0x74]
push eax
subsd xmm1, xmm0
mov eax, 0x6d9070
push 0xa93
cvtpd2ps xmm0, xmm1
movss dword [esp + 0x80], xmm0
call eax
add esp, 0x30
lea eax, [esp + 0x28]
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 + 0x74]
push eax
push 0xa93
mov eax, 0x6d9070
call eax
add esp, 0x30
movzx esi, word [ebx + 0x80]
mov eax, 0x402bc0
call eax
push esi
mov edx, 0x96a4c0
mov ecx, eax
call edx
test eax, eax
je 0x10025c35
cmp byte [ebx + 0x22], 0xa
jb 0x10025c35
cmp byte [eax + 0x30c], 0
je 0x10025c35
mov byte [eax + 0x325], 0x23
cmp byte [ebx + 0x22], 0xc
jb 0x10025c3f
mov byte [ebx + 0x22], 0xf
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1007c269
mov esp, ebp
pop ebp
ret