Function at 0x100a7780
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, 0x2c
cmp byte [0xe609e8], 5
push esi
jne 0x100a7e94
push 0x79
mov esi, 0x791050
call esi
add esp, 4
test al, al
je 0x100a77d4
cmp dword [0x10544fc8], 0
je 0x100a77d4
mov dword [0x10544fe8], 0xffffffff
mov dword [0x10544fec], 0xffffffff
push 0x7a
call esi
add esp, 4
test al, al
je 0x100a77e4
call fcn.100a7220
cmp dword [0x10544fc8], 0
je 0x100a7e94
movss xmm0, dword [0x87933d8]
movss xmm1, dword [0xd27bfc]
mov eax, dword [0x879337c]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [0xd27b88]
movss dword [ebp - 0x1c], xmm0
movsd xmm0, qword [0xd255a0]
movss dword [ebp - 0x14], xmm1
movsd qword [ebp - 0x28], xmm0
test eax, eax
je 0x100a787e
movss xmm1, dword [0x10544fd4]
xorps xmm0, xmm0
jle 0x100a7842
comiss xmm0, xmm1
ja 0x100a7849
test eax, eax
jns 0x100a784c
comiss xmm1, xmm0
jbe 0x100a784c
xorps xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm1
mulsd xmm0, qword [0x10137b58]
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [0x10544fd4], xmm0
mov dword [0x879337c], 0
jmp 0x100a79af
mov eax, dword [0x7bc4f04]
xor dl, dl
xor dh, dh
movzx ecx, word [eax + 0x31a]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
cmp ecx, 0xe9
je 0x100a78ac
cmp ecx, 0xed
je 0x100a78ac
cmp ecx, 0xef
jne 0x100a78ae
mov dl, 1
mov eax, dword [0x10544fec]
cmp eax, 0xe9
je 0x100a78c8
cmp eax, 0xed
je 0x100a78c8
cmp eax, 0xef
jne 0x100a78ca
mov dh, 1
cmp ecx, eax
je 0x100a79af
mov dword [0x10544fec], ecx
test dl, dl
je 0x100a791a
movss xmm2, dword [0x10138198]
comiss xmm1, xmm2
jbe 0x100a79af
movaps xmm0, xmm1
sub esp, 8
subss xmm0, xmm2
movss dword [ebp - 0x20], xmm0
fld dword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
jmp 0x100a799c
test dh, dh
je 0x100a79af
cmp byte [ebp - 1], 0
jne 0x100a7954
movss xmm0, dword [0x1013820c]
comiss xmm0, xmm1
jbe 0x100a79af
subss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
fld dword [ebp - 0x20]
sub esp, 8
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [0x10544fd4]
jmp 0x100a79ac
movss xmm2, dword [0x101381ec]
comiss xmm2, xmm1
jbe 0x100a796f
subss xmm2, xmm1
movss dword [ebp - 0x20], xmm2
fld dword [ebp - 0x20]
jmp 0x100a7941
comiss xmm1, xmm2
jbe 0x100a79af
movaps xmm0, xmm1
sub esp, 8
subss xmm0, xmm2
movss dword [ebp - 0x20], xmm0
fld dword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
mulss xmm0, dword [0x10138728]
movss dword [0x10544fd4], xmm0
add esp, 8
push 4
mov eax, 0x791090
call eax
add esp, 4
test al, al
je 0x100a7a3d
cmp byte [0x10544fe0], 0
je 0x100a7a1c
movsx ecx, word [0x10544fe2]
mov eax, dword [0x879340c]
cmp eax, ecx
je 0x100a79f1
sub eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x10544fd8]
movss dword [0x10544fd8], xmm0
movsx ecx, word [0x10544fe4]
mov eax, dword [0x8793410]
cmp eax, ecx
je 0x100a7a23
sub eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x10544fdc]
movss dword [0x10544fdc], xmm0
jmp 0x100a7a23
mov byte [0x10544fe0], 1
movzx eax, word [0x879340c]
mov word [0x10544fe2], ax
movzx eax, word [0x8793410]
mov word [0x10544fe4], ax
push 4
call esi
add esp, 4
test al, al
je 0x100a7a4f
mov byte [0x10544fe0], 0
movss xmm0, dword [0x10138764]
comiss xmm0, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
jbe 0x100a7a8c
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x87933d8
call esi
lea eax, [ebp - 0x10]
mov dword [0x87933d8], 0xc2340000
push eax
push dword [ebp - 0x10]
push 4
push 0x87933d8
call esi
movss xmm2, dword [ebp - 0x1c]
xorps xmm1, xmm1
comiss xmm2, dword [0x10138750]
jbe 0x100a7aaa
movss xmm0, dword [0x10544fdc]
comiss xmm0, xmm1
ja 0x100a7ac0
movss xmm0, dword [0x10138754]
comiss xmm0, xmm2
jbe 0x100a7aca
comiss xmm1, dword [0x10544fdc]
jbe 0x100a7aca
mov dword [0x10544fdc], 0
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [0x1013820c]
movss xmm3, dword [0x1013817c]
movss xmm6, dword [0x10544fd4]
jb 0x100a7aed
comiss xmm6, xmm1
ja 0x100a7af7
comiss xmm3, xmm0
jb 0x100a7b02
comiss xmm1, xmm6
jbe 0x100a7b02
xorps xmm6, xmm6
movss dword [0x10544fd4], xmm6
movss xmm5, dword [0x5ef5a18]
movaps xmm0, xmm6
divss xmm5, dword [0x101381c4]
movsd xmm1, qword [0x101378c8]
cvtps2pd xmm2, xmm5
mulss xmm5, xmm3
divsd xmm1, xmm2
divss xmm0, xmm5
movss xmm4, dword [0x10138b80]
movsd xmm3, qword [0x10137968]
andps xmm0, xmm4
cvtps2pd xmm0, xmm0
divsd xmm3, xmm2
maxsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movaps xmm1, xmm3
movss dword [ebp - 8], xmm0
movss xmm0, dword [0x10544fd8]
divss xmm0, xmm5
andps xmm0, xmm4
cvtps2pd xmm0, xmm0
maxsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [0x10544fdc]
divss xmm0, xmm5
andps xmm0, xmm4
cvtps2pd xmm0, xmm0
maxsd xmm3, xmm0
cvtpd2ps xmm0, xmm3
movss dword [ebp - 0x10], xmm0
xorps xmm0, xmm0
comiss xmm6, xmm0
jbe 0x100a7bf5
lea eax, [ebp - 0x20]
push eax
push 0x40
push 4
push 0xd27bfc
call esi
movss xmm0, dword [ebp - 8]
lea eax, [ebp - 0x20]
addss xmm0, dword [ebp - 0x14]
push eax
movss dword [0xd27bfc], xmm0
push dword [ebp - 0x20]
push 4
push 0xd27bfc
call esi
movss xmm0, dword [0x10544fd4]
subss xmm0, dword [ebp - 8]
movss dword [0x10544fd4], xmm0
call fcn.100a6ce0
movss xmm0, dword [ebp - 8]
comiss xmm0, dword [0x10544fd4]
jmp 0x100a7c51
comiss xmm0, xmm6
jbe 0x100a7c60
lea eax, [ebp - 0x20]
push eax
push 0x40
push 4
push 0xd27bfc
call esi
movss xmm0, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
subss xmm0, dword [ebp - 8]
push eax
movss dword [0xd27bfc], xmm0
push dword [ebp - 0x20]
push 4
push 0xd27bfc
call esi
movss xmm0, dword [ebp - 8]
addss xmm0, dword [0x10544fd4]
movss dword [0x10544fd4], xmm0
call fcn.100a6ce0
movss xmm0, dword [0x10544fd4]
comiss xmm0, dword [ebp - 8]
xorps xmm0, xmm0
jbe 0x100a7c60
mov dword [0x10544fd4], 0
movss xmm1, dword [0x10544fd8]
comiss xmm1, xmm0
jbe 0x100a7cce
lea eax, [ebp - 0x20]
push eax
push 0x40
push 4
push 0x87933d8
call esi
movss xmm1, dword [ebp - 0xc]
lea eax, [ebp - 0x20]
addss xmm1, dword [ebp - 0x18]
push eax
movss dword [0x87933d8], xmm1
push dword [ebp - 0x20]
push 4
push 0x87933d8
call esi
movss xmm1, dword [ebp - 0xc]
movss xmm0, dword [0x10544fd8]
addss xmm1, xmm1
subss xmm0, xmm1
movss dword [0x10544fd8], xmm0
call fcn.100a6ce0
movss xmm1, dword [ebp - 0xc]
comiss xmm1, dword [0x10544fd8]
jmp 0x100a7d2e
comiss xmm0, xmm1
jbe 0x100a7d3d
lea eax, [ebp - 0x20]
push eax
push 0x40
push 4
push 0x87933d8
call esi
movss xmm0, dword [ebp - 0x18]
lea eax, [ebp - 0x20]
subss xmm0, dword [ebp - 0xc]
push eax
movss dword [0x87933d8], xmm0
push dword [ebp - 0x20]
push 4
push 0x87933d8
call esi
movss xmm0, dword [ebp - 0xc]
addss xmm0, xmm0
addss xmm0, dword [0x10544fd8]
movss dword [0x10544fd8], xmm0
call fcn.100a6ce0
movss xmm0, dword [0x10544fd8]
comiss xmm0, dword [ebp - 0xc]
xorps xmm0, xmm0
jbe 0x100a7d3d
mov dword [0x10544fd8], 0
movss xmm1, dword [0x10544fdc]
comiss xmm1, xmm0
jbe 0x100a7df4
lea eax, [ebp - 0x20]
push eax
push 0x40
push 4
push 0xd27b88
call esi
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
cvtps2pd xmm0, xmm0
push eax
addsd xmm0, qword [0x10137960]
cvtpd2ps xmm0, xmm0
movss dword [0xd27b88], xmm0
push dword [ebp - 0x20]
push 4
push 0xd27b88
call esi
lea eax, [ebp - 0x20]
push eax
push 0x40
push 8
push 0xd255a0
call esi
movsd xmm0, qword [ebp - 0x28]
lea eax, [ebp - 0x20]
subsd xmm0, qword [0x10137b48]
push eax
movsd qword [0xd255a0], xmm0
push dword [ebp - 0x20]
push 8
push 0xd255a0
call esi
movss xmm1, dword [ebp - 0x10]
mulss xmm1, dword [0x10137c50]
movss xmm0, dword [0x10544fdc]
subss xmm0, xmm1
movss dword [0x10544fdc], xmm0
call fcn.100a6ce0
movss xmm0, dword [ebp - 0x10]
comiss xmm0, dword [0x10544fdc]
jmp 0x100a7e88
comiss xmm0, xmm1
jbe 0x100a7e94
lea eax, [ebp - 0x20]
push eax
push 0x40
push 4
push 0xd27b88
call esi
movss xmm0, dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
cvtps2pd xmm0, xmm0
push eax
subsd xmm0, qword [0x10137960]
cvtpd2ps xmm0, xmm0
movss dword [0xd27b88], xmm0
push dword [ebp - 0x20]
push 4
push 0xd27b88
call esi
movsd xmm0, qword [ebp - 0x28]
sub esp, 8
addsd xmm0, qword [0x10137b48]
movsd qword [esp], xmm0
push 0xd255a0
call fcn.100c9bb0
movss xmm0, dword [ebp - 0x10]
add esp, 0xc
mulss xmm0, dword [0x10137c50]
addss xmm0, dword [0x10544fdc]
movss dword [0x10544fdc], xmm0
call fcn.100a6ce0
movss xmm0, dword [0x10544fdc]
comiss xmm0, dword [ebp - 0x10]
jbe 0x100a7e94
mov dword [0x10544fdc], 0
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret