Function at 0x10015fa0
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 0x1001e20d
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 [0x1003e618], 0
mov ecx, dword [0x1003dfd4]
mov dword [ebp - 0x18], ecx
lea edi, [ecx + 0xc]
mov dword [0x1003e654], edi
je 0x10016533
mov eax, dword [0x1003e658]
cmp dword [eax], 0
jbe 0x10016533
mov eax, dword [0x1003e1bc]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x11dd2968]
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 [0x1003e278]
mov ecx, dword [eax + ecx]
call fcn.10004b40
test eax, eax
jle 0x10016519
cmp byte [0x1003e2dd], 0
jne 0x100160e2
mov eax, dword [0x1003e1bc]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [0x11dd2968]
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 [0x1003e278]
mov eax, dword [ebp - 0x18]
push 0
mov edx, dword [eax + ecx]
mov ecx, 0x11dd3ac0
call fcn.10005ee0
mov esi, dword [0x1003e654]
lea eax, [ebp - 0x18]
mov edi, dword [0x1003dfd4]
add esp, 4
sub esi, edi
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push 0x10015f80
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 [0x11dd3ac0]
xor edi, edi
mov eax, dword [0x11dd3ac8]
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0xffffffff
mov eax, dword [0x1003e1bc]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [0x11dd2968]
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 [0x1003e278]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx]
call fcn.10009bb0
mov ecx, edi
mov esi, eax
call fcn.10009bb0
cmp eax, esi
je 0x100161bb
push 7
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.10005ee0
add esp, 4
test al, al
je 0x100161bb
mov ecx, edi
call fcn.10004b40
test eax, eax
jle 0x100161bb
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 [0x10022018]
mov esi, dword [ebp - 0x18]
cvtss2sd xmm0, xmm0
comisd xmm1, xmm0
cmova esi, edi
mov dword [ebp - 0x18], esi
jmp 0x100161be
mov esi, dword [ebp - 0x18]
inc edi
cmp edi, 0xf
jle 0x10016100
cmp esi, 0xffffffff
je 0x100164dd
cmp dword [0x1003e1c8], 0
mov eax, dword [0x1003e644]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1b8]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
je 0x100162cf
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edi, 0x1003e42c
push esi
call edi
mov ecx, dword [0x1003e648]
add ecx, eax
mov eax, 0x1003e48c
call eax
push 0
mov edx, 0x1003e44c
mov ecx, eax
call edx
movss xmm0, dword [eax + 0x30]
mov eax, dword [0x1003e644]
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1b8]
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 [0x1003e648]
add ecx, eax
mov eax, 0x1003e48c
call eax
mov ecx, eax
mov eax, 0x1003e44c
push 0
call eax
movss xmm0, dword [eax + 0x34]
mov eax, dword [0x1003e644]
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1b8]
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 [0x1003e648]
add ecx, eax
mov eax, 0x1003e48c
call eax
mov ecx, eax
mov eax, 0x1003e44c
push 0
call eax
movups xmm1, xmmword [ebp - 0x60]
movss xmm0, dword [ebp - 0x18]
addss xmm1, dword [0x10021e98]
subss xmm0, dword [0x10021e88]
movups xmmword [ebp - 0x60], xmm1
jmp 0x1001639b
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov edi, 0x1003e42c
push esi
call edi
mov ecx, dword [0x1003e648]
add ecx, eax
mov eax, 0x1003e48c
call eax
push 0
mov edx, 0x1003e44c
mov ecx, eax
call edx
movss xmm0, dword [eax + 0x30]
mov eax, dword [0x1003e644]
movups xmmword [ebp - 0x60], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1b8]
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 [0x1003e648]
add ecx, eax
mov eax, 0x1003e48c
call eax
mov ecx, eax
mov eax, 0x1003e44c
push 0
call eax
movss xmm0, dword [eax + 0x34]
mov eax, dword [0x1003e644]
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [0x1003e1b8]
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 [0x1003e648]
add ecx, eax
mov eax, 0x1003e48c
call eax
mov ecx, eax
mov eax, 0x1003e44c
push 0
call eax
movss xmm0, dword [ebp - 0x18]
addss xmm0, dword [0x10021e88]
movups xmm1, xmmword [ebp - 0x60]
movss xmm2, dword [eax + 0x38]
push 0x14
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x1c], xmm2
movss dword [0x11dd3acc], xmm1
movss dword [0x11dd3ad0], xmm0
movss dword [0x11dd3ad4], xmm2
movss dword [0x1003e608], xmm2
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x10016411
cmp byte [0x11dd3b90], 0
je 0x10016403
cmp dword [0x11dd3b94], 0
je 0x10016418
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x11dd3b94], eax
ja 0x10016418
mov byte [0x11dd3b90], 1
mov eax, 1
jmp 0x1001641a
mov byte [0x11dd3b90], 0
xor eax, eax
test eax, eax
je 0x1001642f
cmp byte [0x1003e2dd], 0
sete al
mov byte [0x1003e2dd], al
jmp 0x10016434
mov al, byte [0x1003e2dd]
cmp al, 1
jne 0x10016453
mov eax, dword [0x1003e654]
mov edx, 0x10015f60
mov ecx, dword [0x1003dfd4]
sub eax, ecx
push eax
call fcn.10002080
add esp, 4
push dword [ebp - 0x38]
movss xmm0, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
movss xmm1, dword [ebp - 0x1c]
subss xmm0, dword [0x10021e5c]
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.10004600
test al, al
je 0x1001656a
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 [0x100222e0]
push eax
cvttss2si eax, dword [ebp - 0x24]
push 0xffffff00
push eax
cvttss2si eax, xmm0
push eax
push dword [0x1003dfb8]
call fcn.10003b00
add esp, 0x14
jmp 0x1001656a
mov esi, dword [0x1003e654]
lea eax, [ebp - 0x1c]
mov edi, dword [0x1003dfd4]
sub esi, edi
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
push 0x10015f80
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 0x10016563
mov eax, dword [0x1003dfd4]
lea ecx, [ebp - 0x1c]
mov edi, dword [0x1003e654]
push ecx
push 0x40
sub edi, eax
mov dword [ebp - 0x18], eax
push edi
push eax
jmp 0x1001653d
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 0x10015f80
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 [0x1003e2dd], 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.1001d045
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret