Function at 0x100158e0
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
push 0xffffffffffffffff
push 0x1001d9bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x100250c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
cmp dword [0x1003e600], 0
mov ecx, dword [0x1003dfd0]
mov dword [ebp - 0x18], ecx
lea edi, [ecx + 0xc]
mov dword [0x1003e638], edi
je 0x10015e73
mov eax, dword [0x1003e63c]
cmp dword [eax], 0
jbe 0x10015e73
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
lea ecx, [eax + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x34]
mov eax, dword [0x1003e260]
mov ecx, dword [eax + ecx]
call fcn.100045d0
test eax, eax
jle 0x10015e59
cmp byte [0x1003e2c5], 0
jne 0x10015a22
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + edx]
mov dword [ebp - 0x18], ecx
mov ecx, dword [0x1003e260]
mov eax, dword [ebp - 0x18]
push 0
mov edx, dword [eax + ecx]
mov ecx, 0x11dd3a88
call fcn.10005990
mov esi, dword [0x1003e638]
lea eax, [ebp - 0x18]
mov edi, dword [0x1003dfd0]
add esp, 4
sub esi, edi
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push 0x100158d0
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movq xmm0, qword [0x11dd3a88]
xor edi, edi
mov eax, dword [0x11dd3a90]
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
lea ecx, [eax + edx]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x1003e260]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx]
call fcn.100094c0
mov ecx, edi
mov esi, eax
call fcn.100094c0
cmp eax, esi
je 0x10015afb
push 7
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.10005990
add esp, 4
test al, al
je 0x10015afb
mov ecx, edi
call fcn.100045d0
test eax, eax
jle 0x10015afb
movss xmm2, dword [ebp - 0x4c]
movss xmm0, dword [ebp - 0x50]
subss xmm0, dword [ebp - 0x28]
subss xmm2, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x48]
subss xmm1, dword [ebp - 0x20]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.10001d90
movsd xmm1, qword [0x10021ec0]
mov esi, dword [ebp - 0x18]
cvtss2sd xmm0, xmm0
comisd xmm1, xmm0
cmova esi, edi
mov dword [ebp - 0x18], esi
jmp 0x10015afe
mov esi, dword [ebp - 0x18]
inc edi
cmp edi, 0xf
jle 0x10015a40
cmp esi, 0xffffffff
je 0x10015e1d
cmp dword [0x1003e1b0], 0
mov eax, dword [0x1003e628]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1a0]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
je 0x10015c0f
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edi, 0x1003e414
push esi
call edi
mov ecx, dword [0x1003e62c]
add ecx, eax
mov eax, 0x1003e474
call eax
push 0
mov edx, 0x1003e434
mov ecx, eax
call edx
movss xmm0, dword [eax + 0x30]
mov eax, dword [0x1003e628]
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1a0]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
push esi
call edi
mov ecx, dword [0x1003e62c]
add ecx, eax
mov eax, 0x1003e474
call eax
mov ecx, eax
mov eax, 0x1003e434
push 0
call eax
movss xmm0, dword [eax + 0x34]
mov eax, dword [0x1003e628]
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1a0]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
push esi
call edi
mov ecx, dword [0x1003e62c]
add ecx, eax
mov eax, 0x1003e474
call eax
mov ecx, eax
mov eax, 0x1003e434
push 0
call eax
movups xmm1, xmmword [ebp - 0x60]
movss xmm0, dword [ebp - 0x18]
addss xmm1, dword [0x10021d40]
subss xmm0, dword [0x10021d30]
movups xmmword [ebp - 0x60], xmm1
jmp 0x10015cdb
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edi, 0x1003e414
push esi
call edi
mov ecx, dword [0x1003e62c]
add ecx, eax
mov eax, 0x1003e474
call eax
push 0
mov edx, 0x1003e434
mov ecx, eax
call edx
movss xmm0, dword [eax + 0x30]
mov eax, dword [0x1003e628]
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1a0]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
push esi
call edi
mov ecx, dword [0x1003e62c]
add ecx, eax
mov eax, 0x1003e474
call eax
mov ecx, eax
mov eax, 0x1003e434
push 0
call eax
movss xmm0, dword [eax + 0x34]
mov eax, dword [0x1003e628]
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1a0]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
push esi
call edi
mov ecx, dword [0x1003e62c]
add ecx, eax
mov eax, 0x1003e474
call eax
mov ecx, eax
mov eax, 0x1003e434
push 0
call eax
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x10021d30]
movups xmm1, xmmword [ebp - 0x60]
movss xmm2, dword [eax + 0x38]
push 0x14
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x1c], xmm2
movss dword [0x11dd3a94], xmm1
movss dword [0x11dd3a98], xmm0
movss dword [0x11dd3a9c], xmm2
movss dword [0x1003e5f0], xmm2
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x10015d51
cmp byte [0x11dd3b58], 0
je 0x10015d43
cmp dword [0x11dd3b5c], 0
je 0x10015d58
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x11dd3b5c], eax
ja 0x10015d58
mov byte [0x11dd3b58], 1
mov eax, 1
jmp 0x10015d5a
mov byte [0x11dd3b58], 0
xor eax, eax
test eax, eax
je 0x10015d6f
cmp byte [0x1003e2c5], 0
sete al
mov byte [0x1003e2c5], al
jmp 0x10015d74
mov al, byte [0x1003e2c5]
cmp al, 1
jne 0x10015d93
mov eax, dword [0x1003e638]
mov edx, 0x100158b0
mov ecx, dword [0x1003dfd0]
sub eax, ecx
push eax
call fcn.10002050
add esp, 4
push dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
movss xmm1, dword [ebp - 0x1c]
subss xmm0, dword [0x10021d04]
push eax
movss dword [ebp - 0x48], xmm1
sub esp, 0xc
movups xmm1, xmmword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
mov ecx, esp
unpcklps xmm1, xmm0
movq qword [ecx], xmm1
mov dword [ecx + 8], eax
call fcn.10004090
test al, al
je 0x10015eaa
mov dword [ebp - 0x3c], 0x47524154
mov dword [ebp - 0x38], 0x215445
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
movss xmm0, dword [ebp - 0x28]
addss xmm0, dword [0x10022188]
push eax
cvttss2si eax, dword [ebp - 0x24]
push 0xffffff00
push eax
cvttss2si eax, xmm0
push eax
push dword [0x1003dfb4]
call fcn.100039e0
add esp, 0x14
jmp 0x10015eaa
mov esi, dword [0x1003e638]
lea eax, [ebp - 0x1c]
mov edi, dword [0x1003dfd0]
sub esi, edi
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push 0x100158d0
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10015ea3
mov eax, dword [0x1003dfd0]
lea ecx, [ebp - 0x1c]
mov edi, dword [0x1003e638]
push ecx
push 0x40
sub edi, eax
mov dword [ebp - 0x18], eax
push edi
push eax
jmp 0x10015e7d
lea eax, [ebp - 0x1c]
sub edi, ecx
push eax
push 0x40
push edi
push ecx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call esi
push edi
push 0x100158d0
push dword [ebp - 0x18]
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push edi
push dword [ebp - 0x18]
call esi
mov byte [0x1003e2c5], 0
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.1001c7f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret