Function at 0x1000a670
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, 0x40
mov eax, dword [0x100250c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1003e66c], 0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
jne 0x1000a70c
mov edi, dword [0x1003e0e0]
test edi, edi
je 0x1000a70a
lea eax, [edi + 7]
mov dword [0x1003e240], eax
test eax, eax
je 0x1000a70a
cmp byte [0x1003e2ad], 1
jne 0x1000a6d8
push 6
mov edx, 0x1000a640
mov ecx, edi
call fcn.10002050
mov edi, dword [ebp - 0x24]
add esp, 4
jmp 0x1000a70c
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push 6
push edi
call esi
push 6
push 0x1000a660
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 6
push edi
call esi
mov edi, dword [ebp - 0x24]
jmp 0x1000a70c
mov edi, ecx
cmp dword [0x1003e5c8], 0
je 0x1000a781
mov eax, dword [0x1003e63c]
cmp dword [eax], 0
jbe 0x1000a786
cmp byte [0x1003e2ae], 0xf3
jne 0x1000a72f
call fcn.10005b30
jmp 0x1000a734
call fcn.10005ca0
cmp eax, 0xffffffff
je 0x1000a75e
cmp dword [0x1003e6c8], 1
jne 0x1000a752
push 0
push 0
push 0
push 0
push 2
call dword [sym.imp.USER32.dll_mouse_event]
mov dword [0x1003e6c8], 1
jmp 0x1000a781
cmp dword [0x1003e6c8], 1
jne 0x1000a781
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov dword [0x1003e6c8], 0
mov eax, dword [0x1003e63c]
cmp dword [0x1003e3cc], 0
je 0x1000a8d9
mov dword [0x1003e290], 0
mov dword [0x1003e6dc], 0
cmp dword [eax], 0
jbe 0x1000a8bf
mov eax, dword [0x11dd2a78]
test eax, eax
jne 0x1000a7c5
mov dword [0x1003e0f0], 7
jmp 0x1000a7d4
cmp eax, 1
jne 0x1000a7d4
mov dword [0x1003e0f0], 5
mov ecx, edi
call fcn.1000a2f0
mov ecx, dword [0x1003e1a4]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
mov ecx, dword [0x1003e5fc]
mov ecx, dword [ecx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x11dd2938]
mov ecx, dword [ecx]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
lea ecx, [eax + edx]
mov dword [ebp - 0x2c], ecx
mov eax, dword [0x1003e260]
mov ecx, 0x11dd3aac
mov edx, dword [ebp - 0x2c]
push 7
mov edx, dword [edx + eax]
call fcn.10005990
add esp, 4
cmp esi, 0xffffffff
je 0x1000a8bf
push dword [0x1003e0f0]
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10005990
add esp, 4
test al, al
je 0x1000a8a5
movss xmm1, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
addss xmm1, dword [0x10021d0c]
movss xmm2, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x18]
push edi
push eax
sub esp, 0xc
unpcklps xmm2, xmm1
mov ecx, esp
movss dword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
movq qword [ecx], xmm2
mov dword [ecx + 8], eax
call fcn.10004090
test al, al
je 0x1000a8a5
movq xmm0, qword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movq qword [0x11dd3aa0], xmm0
movss xmm0, dword [ebp - 0x18]
mov dword [0x11dd3aa8], eax
movss dword [0x11dd2758], xmm0
mov al, 1
mov byte [0x1003e2ad], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c7f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor al, al
mov byte [0x1003e2ad], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c7f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [0x1003e290], 0
je 0x1000a971
mov dword [0x1003e3cc], 0
mov dword [0x1003e6dc], 0
cmp dword [eax], 0
jbe 0x1000aa1e
cmp byte [0x1003e2ae], 0xf3
jne 0x1000a913
call fcn.10005b30
jmp 0x1000a918
call fcn.10005ca0
mov esi, eax
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
lea ecx, [eax + edx]
mov dword [ebp - 0x24], ecx
mov eax, dword [0x1003e260]
mov ecx, 0x11dd3aac
mov edx, dword [ebp - 0x24]
push 7
mov edx, dword [edx + eax]
call fcn.10005990
add esp, 4
cmp esi, 0xffffffff
je 0x1000a8bf
push 7
jmp 0x1000aa04
cmp dword [0x1003e6dc], 0
je 0x1000aa1e
mov dword [0x1003e3cc], 0
mov dword [0x1003e290], 0
cmp dword [eax], 0
jbe 0x1000aa1e
cmp byte [0x1003e2ae], 0xf3
jne 0x1000a9ab
call fcn.10005b30
jmp 0x1000a9b0
call fcn.10005ca0
mov esi, eax
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x28]
mov edx, dword [ebp - 8]
lea ecx, [eax + edx]
mov dword [ebp - 0x24], ecx
mov eax, dword [0x1003e260]
mov ecx, 0x11dd3aac
mov edx, dword [ebp - 0x24]
push 7
mov edx, dword [edx + eax]
call fcn.10005990
add esp, 4
cmp esi, 0xffffffff
je 0x1000a8bf
push 5
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10005990
add esp, 4
test al, al
je 0x1000a8bf
jmp 0x1000a847
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov byte [0x1003e2ad], 0
pop esi
call fcn.1001c7f5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret