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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x102bcb7c], 0
mov al, byte [0x101f019f]
push esi
mov esi, dword [0x101f00a8]
mov dword [0x10546730], 0
jne 0x100ae679
cmp al, 1
jne 0x100ae51a
mov dword [0x1054672c], 1
cmp esi, 2
je 0x100ae4f0
mov dword [0x10546718], 0x75
mov dword [0x1054671c], 0x57
jmp 0x100ae538
mov dword [0x10546718], 0x68
mov dword [0x1054671c], 0xc5
mov dword [0x10546720], 0x22
mov dword [0x10546724], 0x22
jmp 0x100ae54c
mov dword [0x10546718], 0x38
mov dword [0x1054671c], 0x2c
mov dword [0x1054672c], 0
mov dword [0x10546724], 0x16
mov dword [0x10546720], 0x16
cmp byte [0x101f01a0], 1
mov dword [0x10546738], 0x73
mov dword [0x1054673c], 0x16
mov dword [0x10546740], 0x16
mov dword [0x1054674c], 0
jne 0x100ae598
mov dword [0x10546748], 1
cmp esi, 2
jne 0x100ae5a2
mov dword [0x10546734], 0x26
jmp 0x100ae5ac
mov dword [0x10546748], 0
mov dword [0x10546734], 0x38
cmp dword [0x101f0198], 2
jne 0x100ae600
cmp esi, 2
je 0x100ae5c6
mov dword [0x10546764], 1
jmp 0x100ae60a
push ecx
mov ecx, 2
push 1
cmp al, 1
jne 0x100ae5e8
push 0x16
push 0x16
push 0xd2
lea edx, [ecx + 0x50]
call fcn.100ae450
add esp, 0x14
jmp 0x100ae622
push 0x22
push 0x22
push 0xc5
mov edx, 0x64
call fcn.100ae450
add esp, 0x14
jmp 0x100ae622
mov dword [0x10546764], 0
movaps xmm0, xmmword [0x1013a420]
mov dword [0x10546768], 0
movaps xmmword [0x10546750], xmm0
cmp byte [0x101f01a1], 1
jne 0x100ae820
mov dword [0x10546770], 0x73
mov dword [0x10546774], 0x16
mov dword [0x10546778], 0x16
mov dword [0x10546780], 1
mov dword [0x10546784], 0
cmp esi, 2
jne 0x100ae852
mov dword [0x1054676c], 0x54
jmp 0x100ae85c
cmp al, 1
jne 0x100ae6cc
mov dword [0x1054672c], 1
cmp esi, 2
je 0x100ae6a2
mov dword [0x10546718], 0x75
mov dword [0x1054671c], 0x57
jmp 0x100ae6ea
mov dword [0x10546718], 0x8c
mov dword [0x1054671c], 0xc5
mov dword [0x10546720], 0x22
mov dword [0x10546724], 0x22
jmp 0x100ae6fe
mov dword [0x10546718], 0x38
mov dword [0x1054671c], 0x2c
mov dword [0x1054672c], 0
mov dword [0x10546724], 0x16
mov dword [0x10546720], 0x16
cmp byte [0x101f01a0], 1
mov dword [0x10546738], 0x73
mov dword [0x1054673c], 0x16
mov dword [0x10546740], 0x16
mov dword [0x1054674c], 0
jne 0x100ae74a
mov dword [0x10546748], 1
cmp esi, 2
jne 0x100ae754
mov dword [0x10546734], 0x37
jmp 0x100ae75e
mov dword [0x10546748], 0
mov dword [0x10546734], 0x38
cmp dword [0x101f0198], 2
jne 0x100ae7b2
cmp esi, 2
je 0x100ae778
mov dword [0x10546764], 1
jmp 0x100ae7bc
push ecx
mov ecx, 2
push 1
cmp al, 1
jne 0x100ae79a
push 0x16
push 0x16
push 0xd2
lea edx, [ecx + 0x72]
call fcn.100ae450
add esp, 0x14
jmp 0x100ae7d4
push 0x22
push 0x22
push 0xc5
mov edx, 0x8c
call fcn.100ae450
add esp, 0x14
jmp 0x100ae7d4
mov dword [0x10546764], 0
movaps xmm0, xmmword [0x1013a420]
mov dword [0x10546768], 0
movaps xmmword [0x10546750], xmm0
cmp byte [0x101f01a1], 1
jne 0x100ae820
mov dword [0x10546770], 0x73
mov dword [0x10546774], 0x16
mov dword [0x10546778], 0x16
mov dword [0x10546780], 1
mov dword [0x10546784], 0
cmp esi, 2
jne 0x100ae852
mov dword [0x1054676c], 0x74
jmp 0x100ae85c
mov dword [0x10546784], 0
mov dword [0x10546780], 0
mov dword [0x10546778], 0x16
mov dword [0x10546774], 0x16
mov dword [0x10546770], 0x73
mov dword [0x1054676c], 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 0x100aeb60
push 0x83503c
push 0xe9
call fcn.100cc920
push 0x100aece0
push 0x8373a0
push 0xe9
call fcn.100cc920
push 0x100af050
push 0x8373c0
push 0xe9
call fcn.100cc920
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 0x100af1a0
push 0x83b879
push 0xe9
call fcn.100cc920
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 0x100af570
push 0x8353d9
push 0xe9
call fcn.100cc920
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 0x100af690
push 0x833b26
push 0xe9
call fcn.100cc920
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 0x100af850
push 0x8380da
push 0xe9
call fcn.100cc920
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 0x100afa90
push 0x7dd2c6
push 0xe9
call fcn.100cc920
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 0x100afb20
push 0x837b4f
push 0xe9
call fcn.100cc920
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret