Function at 0x1000a4f0
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 [0x100220c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1003b690], 0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
jne 0x1000a58c
mov edi, dword [0x1003b0f8]
test edi, edi
je 0x1000a58a
lea eax, [edi + 7]
mov dword [0x1003b24c], eax
test eax, eax
je 0x1000a58a
cmp byte [0x1003b25f], 1
jne 0x1000a558
push 6
mov edx, 0x1000a4c0
mov ecx, edi
call fcn.10002050
mov edi, dword [ebp - 0x24]
add esp, 4
jmp 0x1000a58c
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 0x1000a4e0
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 0x1000a58c
mov edi, ecx
cmp dword [0x1003b5e0], 0
je 0x1000a601
mov eax, dword [0x1003b660]
cmp dword [eax], 0
jbe 0x1000a606
cmp byte [0x1003b3df], 0xf3
jne 0x1000a5af
call fcn.10005fa0
jmp 0x1000a5b4
call fcn.10006110
cmp eax, 0xffffffff
je 0x1000a5de
cmp dword [0x1003b6ec], 1
jne 0x1000a5d2
push 0
push 0
push 0
push 0
push 2
call dword [sym.imp.USER32.dll_mouse_event]
mov dword [0x1003b6ec], 1
jmp 0x1000a601
cmp dword [0x1003b6ec], 1
jne 0x1000a601
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov dword [0x1003b6ec], 0
mov eax, dword [0x1003b660]
cmp dword [0x1003b3e4], 0
je 0x1000a759
mov dword [0x1003b2a8], 0
mov dword [0x1003b708], 0
cmp dword [eax], 0
jbe 0x1000a73f
mov eax, dword [0x11dcfa98]
test eax, eax
jne 0x1000a645
mov dword [0x1003b104], 7
jmp 0x1000a654
cmp eax, 1
jne 0x1000a654
mov dword [0x1003b104], 5
mov ecx, edi
call fcn.1000a170
mov ecx, dword [0x1003b1b4]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
mov ecx, dword [0x1003b614]
mov ecx, dword [ecx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x11dcf95c]
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 [0x1003b274]
mov ecx, 0x11dd0ab4
mov edx, dword [ebp - 0x2c]
push 7
mov edx, dword [edx + eax]
call fcn.10005e00
add esp, 4
cmp esi, 0xffffffff
je 0x1000a73f
push dword [0x1003b104]
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10005e00
add esp, 4
test al, al
je 0x1000a725
movss xmm1, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
addss xmm1, dword [0x1001ee64]
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.100045f0
test al, al
je 0x1000a725
movq xmm0, qword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movq qword [0x11dd0aa8], xmm0
movss xmm0, dword [ebp - 0x18]
mov dword [0x11dd0ab0], eax
movss dword [0x11dcf780], xmm0
mov al, 1
mov byte [0x1003b25f], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019955
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor al, al
mov byte [0x1003b25f], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019955
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [0x1003b2a8], 0
je 0x1000a7f1
mov dword [0x1003b3e4], 0
mov dword [0x1003b708], 0
cmp dword [eax], 0
jbe 0x1000a89e
cmp byte [0x1003b3df], 0xf3
jne 0x1000a793
call fcn.10005fa0
jmp 0x1000a798
call fcn.10006110
mov esi, eax
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x11dcf95c]
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 [0x1003b274]
mov ecx, 0x11dd0ab4
mov edx, dword [ebp - 0x24]
push 7
mov edx, dword [edx + eax]
call fcn.10005e00
add esp, 4
cmp esi, 0xffffffff
je 0x1000a73f
push 6
jmp 0x1000a884
cmp dword [0x1003b708], 0
je 0x1000a89e
mov dword [0x1003b3e4], 0
mov dword [0x1003b2a8], 0
cmp dword [eax], 0
jbe 0x1000a89e
cmp byte [0x1003b3df], 0xf3
jne 0x1000a82b
call fcn.10005fa0
jmp 0x1000a830
call fcn.10006110
mov esi, eax
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x11dcf95c]
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 [0x1003b274]
mov ecx, 0x11dd0ab4
mov edx, dword [ebp - 0x24]
push 7
mov edx, dword [edx + eax]
call fcn.10005e00
add esp, 4
cmp esi, 0xffffffff
je 0x1000a73f
push 5
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10005e00
add esp, 4
test al, al
je 0x1000a73f
jmp 0x1000a6c7
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov byte [0x1003b25f], 0
pop esi
call fcn.10019955
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret