Function at 0x1000ad30
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 [0x1003e688], 0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x24], edi
jne 0x1000adcc
mov edi, dword [0x1003e0e8]
test edi, edi
je 0x1000adca
lea eax, [edi + 7]
mov dword [0x1003e258], eax
test eax, eax
je 0x1000adca
cmp byte [0x1003e0e7], 1
jne 0x1000ad98
push 6
mov edx, 0x1000ad00
mov ecx, edi
call fcn.10002080
mov edi, dword [ebp - 0x24]
add esp, 4
jmp 0x1000adcc
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 0x1000ad20
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 0x1000adcc
mov edi, ecx
cmp dword [0x1003e5e0], 0
je 0x1000ae31
mov eax, dword [0x1003e658]
cmp dword [eax], 0
jbe 0x1000ae36
call fcn.100061f0
cmp eax, 0xffffffff
je 0x1000ae0e
cmp dword [0x1003e6e4], 1
jne 0x1000ae02
push 0
push 0
push 0
push 0
push 2
call dword [sym.imp.USER32.dll_mouse_event]
mov dword [0x1003e6e4], 1
jmp 0x1000ae31
cmp dword [0x1003e6e4], 1
jne 0x1000ae31
push 0
push 0
push 0
push 0
push 4
call dword [sym.imp.USER32.dll_mouse_event]
mov dword [0x1003e6e4], 0
mov eax, dword [0x1003e658]
cmp dword [0x1003e3e4], 0
je 0x1000af89
mov dword [0x1003e2a8], 0
mov dword [0x1003e6f8], 0
cmp dword [eax], 0
jbe 0x1000af6f
mov eax, dword [0x11dd2aac]
test eax, eax
jne 0x1000ae75
mov dword [0x1003e0fc], 7
jmp 0x1000ae84
cmp eax, 1
jne 0x1000ae84
mov dword [0x1003e0fc], 5
mov ecx, edi
call fcn.1000a9e0
mov ecx, dword [0x1003e1bc]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
mov ecx, dword [0x1003e614]
mov ecx, dword [ecx]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x11dd2968]
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 [0x1003e278]
mov ecx, 0x11dd3ae4
mov edx, dword [ebp - 0x2c]
push 7
mov edx, dword [edx + eax]
call fcn.10005ee0
add esp, 4
cmp esi, 0xffffffff
je 0x1000af6f
push dword [0x1003e0fc]
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10005ee0
add esp, 4
test al, al
je 0x1000af55
movss xmm1, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
addss xmm1, dword [0x10021e64]
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.10004600
test al, al
je 0x1000af55
movq xmm0, qword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
movq qword [0x11dd3ad8], xmm0
movss xmm0, dword [ebp - 0x18]
mov dword [0x11dd3ae0], eax
movss dword [0x11dd2780], xmm0
mov al, 1
mov byte [0x1003e0e7], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d045
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor al, al
mov byte [0x1003e0e7], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001d045
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [0x1003e2a8], 0
je 0x1000b010
mov dword [0x1003e3e4], 0
mov dword [0x1003e6f8], 0
cmp dword [eax], 0
jbe 0x1000b0ac
call fcn.100061f0
mov ecx, dword [0x1003e1bc]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [0x1003e614]
mov ecx, dword [ecx]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x11dd2968]
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
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 [0x1003e278]
mov ecx, 0x11dd3ae4
mov edx, dword [ebp - 0x24]
push 7
mov edx, dword [edx + eax]
call fcn.10005ee0
add esp, 4
cmp esi, 0xffffffff
je 0x1000af6f
push 7
jmp 0x1000b092
cmp dword [0x1003e6f8], 0
je 0x1000b0ac
mov dword [0x1003e3e4], 0
mov dword [0x1003e2a8], 0
cmp dword [eax], 0
jbe 0x1000b0ac
call fcn.100061f0
mov ecx, dword [0x1003e1bc]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [0x1003e614]
mov ecx, dword [ecx]
mov dword [ebp - 0x28], ecx
mov ecx, dword [0x11dd2968]
mov ecx, dword [ecx]
mov dword [ebp - 8], ecx
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 [0x1003e278]
mov ecx, 0x11dd3ae4
mov edx, dword [ebp - 0x24]
push 7
mov edx, dword [edx + eax]
call fcn.10005ee0
add esp, 4
cmp esi, 0xffffffff
je 0x1000af6f
push 5
mov edx, esi
lea ecx, [ebp - 0x20]
call fcn.10005ee0
add esp, 4
test al, al
je 0x1000af6f
jmp 0x1000aef7
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov byte [0x1003e0e7], 0
pop esi
call fcn.1001d045
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret