Function at 0x100ae440
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 0x100ae619
cmp al, 1
jne 0x100ae4ba
mov dword [0x1054672c], 1
cmp esi, 2
je 0x100ae490
mov dword [0x10546718], 0x75
mov dword [0x1054671c], 0x57
jmp 0x100ae4d8
mov dword [0x10546718], 0x68
mov dword [0x1054671c], 0xc5
mov dword [0x10546720], 0x22
mov dword [0x10546724], 0x22
jmp 0x100ae4ec
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 0x100ae538
mov dword [0x10546748], 1
cmp esi, 2
jne 0x100ae542
mov dword [0x10546734], 0x26
jmp 0x100ae54c
mov dword [0x10546748], 0
mov dword [0x10546734], 0x38
cmp dword [0x101f0198], 2
jne 0x100ae5a0
cmp esi, 2
je 0x100ae566
mov dword [0x10546764], 1
jmp 0x100ae5aa
push ecx
mov ecx, 2
push 1
cmp al, 1
jne 0x100ae588
push 0x16
push 0x16
push 0xd2
lea edx, [ecx + 0x50]
call fcn.100ae3f0
add esp, 0x14
jmp 0x100ae5c2
push 0x22
push 0x22
push 0xc5
mov edx, 0x64
call fcn.100ae3f0
add esp, 0x14
jmp 0x100ae5c2
mov dword [0x10546764], 0
movaps xmm0, xmmword [0x1013a420]
mov dword [0x10546768], 0
movaps xmmword [0x10546750], xmm0
cmp byte [0x101f01a1], 1
jne 0x100ae7c0
mov dword [0x10546770], 0x73
mov dword [0x10546774], 0x16
mov dword [0x10546778], 0x16
mov dword [0x10546780], 1
mov dword [0x10546784], 0
cmp esi, 2
jne 0x100ae7f2
mov dword [0x1054676c], 0x54
jmp 0x100ae7fc
cmp al, 1
jne 0x100ae66c
mov dword [0x1054672c], 1
cmp esi, 2
je 0x100ae642
mov dword [0x10546718], 0x75
mov dword [0x1054671c], 0x57
jmp 0x100ae68a
mov dword [0x10546718], 0x8c
mov dword [0x1054671c], 0xc5
mov dword [0x10546720], 0x22
mov dword [0x10546724], 0x22
jmp 0x100ae69e
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 0x100ae6ea
mov dword [0x10546748], 1
cmp esi, 2
jne 0x100ae6f4
mov dword [0x10546734], 0x37
jmp 0x100ae6fe
mov dword [0x10546748], 0
mov dword [0x10546734], 0x38
cmp dword [0x101f0198], 2
jne 0x100ae752
cmp esi, 2
je 0x100ae718
mov dword [0x10546764], 1
jmp 0x100ae75c
push ecx
mov ecx, 2
push 1
cmp al, 1
jne 0x100ae73a
push 0x16
push 0x16
push 0xd2
lea edx, [ecx + 0x72]
call fcn.100ae3f0
add esp, 0x14
jmp 0x100ae774
push 0x22
push 0x22
push 0xc5
mov edx, 0x8c
call fcn.100ae3f0
add esp, 0x14
jmp 0x100ae774
mov dword [0x10546764], 0
movaps xmm0, xmmword [0x1013a420]
mov dword [0x10546768], 0
movaps xmmword [0x10546750], xmm0
cmp byte [0x101f01a1], 1
jne 0x100ae7c0
mov dword [0x10546770], 0x73
mov dword [0x10546774], 0x16
mov dword [0x10546778], 0x16
mov dword [0x10546780], 1
mov dword [0x10546784], 0
cmp esi, 2
jne 0x100ae7f2
mov dword [0x1054676c], 0x74
jmp 0x100ae7fc
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 0x100aeb00
push 0x83503c
push 0xe9
call fcn.100cc8e0
push 0x100aec80
push 0x8373a0
push 0xe9
call fcn.100cc8e0
push 0x100aeff0
push 0x8373c0
push 0xe9
call fcn.100cc8e0
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 0x100af140
push 0x83b879
push 0xe9
call fcn.100cc8e0
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 0x100af510
push 0x8353d9
push 0xe9
call fcn.100cc8e0
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 0x100af630
push 0x833b26
push 0xe9
call fcn.100cc8e0
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 0x100af7f0
push 0x8380da
push 0xe9
call fcn.100cc8e0
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 0x100afa30
push 0x7dd2c6
push 0xe9
call fcn.100cc8e0
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 0x100afac0
push 0x837b4f
push 0xe9
call fcn.100cc8e0
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret