Function at 0x100ae830
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x102c1460], 0
mov al, byte [0x101f48af]
push esi
mov esi, dword [0x101f47b8]
mov dword [0x10549bd0], 0
jne 0x100aea09
cmp al, 1
jne 0x100ae8aa
mov dword [0x10549bcc], 1
cmp esi, 2
je 0x100ae880
mov dword [0x10549bb8], 0x75
mov dword [0x10549bbc], 0x57
jmp 0x100ae8c8
mov dword [0x10549bb8], 0x68
mov dword [0x10549bbc], 0xc5
mov dword [0x10549bc0], 0x22
mov dword [0x10549bc4], 0x22
jmp 0x100ae8dc
mov dword [0x10549bb8], 0x38
mov dword [0x10549bbc], 0x2c
mov dword [0x10549bcc], 0
mov dword [0x10549bc4], 0x16
mov dword [0x10549bc0], 0x16
cmp byte [0x101f48b0], 1
mov dword [0x10549bd8], 0x73
mov dword [0x10549bdc], 0x16
mov dword [0x10549be0], 0x16
mov dword [0x10549bec], 0
jne 0x100ae928
mov dword [0x10549be8], 1
cmp esi, 2
jne 0x100ae932
mov dword [0x10549bd4], 0x26
jmp 0x100ae93c
mov dword [0x10549be8], 0
mov dword [0x10549bd4], 0x38
cmp dword [0x101f48a8], 2
jne 0x100ae990
cmp esi, 2
je 0x100ae956
mov dword [0x10549c04], 1
jmp 0x100ae99a
push ecx
mov ecx, 2
push 1
cmp al, 1
jne 0x100ae978
push 0x16
push 0x16
push 0xd2
lea edx, [ecx + 0x50]
call fcn.100ae7e0
add esp, 0x14
jmp 0x100ae9b2
push 0x22
push 0x22
push 0xc5
mov edx, 0x64
call fcn.100ae7e0
add esp, 0x14
jmp 0x100ae9b2
mov dword [0x10549c04], 0
movaps xmm0, xmmword [0x1013d370]
mov dword [0x10549c08], 0
movaps xmmword [0x10549bf0], xmm0
cmp byte [0x101f48b1], 1
jne 0x100aebb0
mov dword [0x10549c10], 0x73
mov dword [0x10549c14], 0x16
mov dword [0x10549c18], 0x16
mov dword [0x10549c20], 1
mov dword [0x10549c24], 0
cmp esi, 2
jne 0x100aebe2
mov dword [0x10549c0c], 0x54
jmp 0x100aebec
cmp al, 1
jne 0x100aea5c
mov dword [0x10549bcc], 1
cmp esi, 2
je 0x100aea32
mov dword [0x10549bb8], 0x75
mov dword [0x10549bbc], 0x57
jmp 0x100aea7a
mov dword [0x10549bb8], 0x8c
mov dword [0x10549bbc], 0xc5
mov dword [0x10549bc0], 0x22
mov dword [0x10549bc4], 0x22
jmp 0x100aea8e
mov dword [0x10549bb8], 0x38
mov dword [0x10549bbc], 0x2c
mov dword [0x10549bcc], 0
mov dword [0x10549bc4], 0x16
mov dword [0x10549bc0], 0x16
cmp byte [0x101f48b0], 1
mov dword [0x10549bd8], 0x73
mov dword [0x10549bdc], 0x16
mov dword [0x10549be0], 0x16
mov dword [0x10549bec], 0
jne 0x100aeada
mov dword [0x10549be8], 1
cmp esi, 2
jne 0x100aeae4
mov dword [0x10549bd4], 0x37
jmp 0x100aeaee
mov dword [0x10549be8], 0
mov dword [0x10549bd4], 0x38
cmp dword [0x101f48a8], 2
jne 0x100aeb42
cmp esi, 2
je 0x100aeb08
mov dword [0x10549c04], 1
jmp 0x100aeb4c
push ecx
mov ecx, 2
push 1
cmp al, 1
jne 0x100aeb2a
push 0x16
push 0x16
push 0xd2
lea edx, [ecx + 0x72]
call fcn.100ae7e0
add esp, 0x14
jmp 0x100aeb64
push 0x22
push 0x22
push 0xc5
mov edx, 0x8c
call fcn.100ae7e0
add esp, 0x14
jmp 0x100aeb64
mov dword [0x10549c04], 0
movaps xmm0, xmmword [0x1013d370]
mov dword [0x10549c08], 0
movaps xmmword [0x10549bf0], xmm0
cmp byte [0x101f48b1], 1
jne 0x100aebb0
mov dword [0x10549c10], 0x73
mov dword [0x10549c14], 0x16
mov dword [0x10549c18], 0x16
mov dword [0x10549c20], 1
mov dword [0x10549c24], 0
cmp esi, 2
jne 0x100aebe2
mov dword [0x10549c0c], 0x74
jmp 0x100aebec
mov dword [0x10549c24], 0
mov dword [0x10549c20], 0
mov dword [0x10549c18], 0x16
mov dword [0x10549c14], 0x16
mov dword [0x10549c10], 0x73
mov dword [0x10549c0c], 0x75
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0xd
push 0x83503c
call esi
mov eax, 0x83503c
mov dword [eax], 0x90909090
mov dword [eax + 4], 0x90909090
mov dword [eax + 8], 0x90909090
mov byte [eax + 0xc], 0x90
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0xd
push 0x83503c
call esi
push 0x100aeef0
push 0x83503c
push 0xe9
call fcn.100cf0b0
push 0x100af070
push 0x8373a0
push 0xe9
call fcn.100cf0b0
push 0x100af3e0
push 0x8373c0
push 0xe9
call fcn.100cf0b0
add esp, 0x24
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x83b879
call esi
mov eax, 0x83b879
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x83b879
call esi
push 0x100af530
push 0x83b879
push 0xe9
call fcn.100cf0b0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push 0x8353d9
call esi
mov eax, 0x8353d9
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 7
push 0x8353d9
call esi
push 0x100af900
push 0x8353d9
push 0xe9
call fcn.100cf0b0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push 0x833b26
call esi
mov ecx, 0x90909090
mov eax, 0x833b26
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 7
push 0x833b26
call esi
push 0x100afa20
push 0x833b26
push 0xe9
call fcn.100cf0b0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x8380da
call esi
mov eax, 0x8380da
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x8380da
call esi
push 0x100afbe0
push 0x8380da
push 0xe9
call fcn.100cf0b0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push 0x7dd2c6
call esi
mov eax, 0x7dd2c6
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
mov byte [eax + 6], cl
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 7
push 0x7dd2c6
call esi
push 0x100afe20
push 0x7dd2c6
push 0xe9
call fcn.100cf0b0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x837b4f
call esi
mov eax, 0x837b4f
mov ecx, 0x90909090
mov dword [eax], ecx
mov word [eax + 4], cx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 6
push 0x837b4f
call esi
push 0x100afeb0
push 0x837b4f
push 0xe9
call fcn.100cf0b0
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret