Function at 0x100291c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10a0
call fcn.10072800
mov eax, dword [0x100c4054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push esi
mov esi, dword [0x100c5cf0]
mov dword [ebp - 0x1018], ecx
push edi
mov edi, edx
mov ecx, dword [eax + esi*4]
mov eax, dword [0x100c6cc0]
mov dword [ebp - 0x102c], edi
mov dword [ebp - 0x1020], ecx
cmp eax, dword [ecx + 4]
jg 0x10029530
mov ecx, dword [ebp + 8]
mov edx, 1
mov dword [ebp - 0x1014], edx
test ecx, ecx
je 0x1002951d
nop word [eax + eax]
mov edx, dword [ebp - 0x1020]
mov esi, 0x1000
mov eax, dword [0x100c6cb8]
cmp ecx, esi
cmovb esi, ecx
mov ecx, esi
mov dword [ebp - 0x1028], esi
mov dword [ebp - 0x1008], ecx
cmp eax, dword [edx + 4]
jg 0x1002957b
jmp 0x10029267
mov ecx, dword [ebp - 0x1008]
mov dword [ebp - 0x101c], 0
lea ebx, [ebp - 0x1004]
mov dword [ebp - 0x100c], 0
mov eax, 1
test esi, esi
je 0x1002938a
nop
mov esi, dword [0x100c6cbc]
xor edx, edx
mov eax, edi
mov dword [ebp - 0x1010], 1
div esi
sub esi, edx
cmp ecx, esi
cmovle esi, ecx
test edi, edi
je 0x1002930e
push 0x1c
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1030], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x1048], xmm0
movq qword [ebp - 0x1038], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1002930e
cmp dword [ebp - 0x1038], 0x1000
jne 0x1002930e
test byte [ebp - 0x1034], 0xee
je 0x1002930e
mov ecx, dword [ebp - 0x103c]
cmp esi, ecx
ja 0x1002930e
mov eax, edi
sub ecx, esi
sub eax, dword [ebp - 0x1048]
cmp eax, ecx
jbe 0x1002933d
lea eax, [ebp - 0x101c]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10029333
push esi
push eax
push ebx
mov dword [ebp - 0x1010], eax
call fcn.10073770
jmp 0x10029345
mov dword [ebp - 0x100c], 1
push esi
push edi
push ebx
call fcn.10073140
add esp, 0xc
cmp dword [ebp - 0x100c], 0
je 0x10029366
lea eax, [ebp - 0x1054]
push eax
push dword [ebp - 0x101c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x1008]
add ebx, esi
add edi, esi
sub ecx, esi
mov dword [ebp - 0x1008], ecx
jne 0x10029290
mov eax, dword [ebp - 0x1010]
mov esi, dword [ebp - 0x1028]
mov edx, dword [ebp - 0x1020]
xor ecx, ecx
test eax, eax
mov eax, dword [0x100c6cb0]
cmovne ecx, dword [ebp - 0x1014]
mov dword [ebp - 0x1014], ecx
mov ecx, esi
mov dword [ebp - 0x1008], ecx
cmp eax, dword [edx + 4]
jg 0x100295cc
jmp 0x100293c2
mov ecx, dword [ebp - 0x1008]
mov edi, dword [ebp - 0x1018]
lea ebx, [ebp - 0x1004]
mov dword [ebp - 0x1024], 0
mov eax, 1
mov dword [ebp - 0x1010], 0
test esi, esi
je 0x100294e2
nop
mov esi, dword [0x100c6cb4]
xor edx, edx
mov eax, edi
mov dword [ebp - 0x100c], 1
div esi
sub esi, edx
cmp ecx, esi
cmovle esi, ecx
test edi, edi
je 0x1002946e
push 0x1c
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1030], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x1048], xmm0
movq qword [ebp - 0x1038], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1002946e
cmp dword [ebp - 0x1038], 0x1000
jne 0x1002946e
test byte [ebp - 0x1034], 0xcc
je 0x1002946e
mov ecx, dword [ebp - 0x103c]
cmp esi, ecx
ja 0x1002946e
mov eax, edi
sub ecx, esi
sub eax, dword [ebp - 0x1048]
cmp eax, ecx
jbe 0x10029495
lea eax, [ebp - 0x1024]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1002948b
mov dword [ebp - 0x100c], eax
jmp 0x100294a0
mov dword [ebp - 0x1010], 1
push esi
push ebx
push edi
call fcn.10073140
add esp, 0xc
cmp dword [ebp - 0x1010], 0
je 0x100294be
lea eax, [ebp - 0x1058]
push eax
push dword [ebp - 0x1024]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x1008]
add edi, esi
add ebx, esi
sub ecx, esi
mov dword [ebp - 0x1008], ecx
jne 0x100293f0
mov eax, dword [ebp - 0x100c]
mov esi, dword [ebp - 0x1028]
mov ecx, dword [ebp + 8]
xor edx, edx
mov edi, dword [ebp - 0x102c]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmovne edx, dword [ebp - 0x1014]
sub ecx, esi
add dword [ebp - 0x1018], esi
add edi, esi
mov dword [ebp - 0x1014], edx
mov dword [ebp + 8], ecx
mov dword [ebp - 0x102c], edi
test ecx, ecx
jne 0x10029230
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100715c3
mov esp, ebp
pop ebp
ret
push 0x100c6cc0
call fcn.10071d77
add esp, 4
cmp dword [0x100c6cc0], 0xffffffff
jne 0x10029214
cmp dword [0x100c4ab8], 0xffffffff
jne 0x10029569
lea eax, [ebp - 0x1050]
push eax
call ebx
mov eax, dword [ebp - 0x104c]
mov dword [0x100c4ab8], eax
jmp 0x10029569
push 0x100c6cc0
call fcn.10071d2d
add esp, 4
jmp 0x10029214
push 0x100c6cb8
call fcn.10071d77
add esp, 4
cmp dword [0x100c6cb8], 0xffffffff
jne 0x10029261
mov eax, dword [0x100c4ab8]
cmp eax, 0xffffffff
jne 0x100295b5
lea eax, [ebp - 0x107c]
push eax
call ebx
mov eax, dword [ebp - 0x1078]
mov dword [0x100c4ab8], eax
jmp 0x100295b5
push 0x100c6cb8
mov dword [0x100c6cbc], eax
call fcn.10071d2d
add esp, 4
jmp 0x10029261
push 0x100c6cb0
call fcn.10071d77
add esp, 4
cmp dword [0x100c6cb0], 0xffffffff
jne 0x100293bc
mov eax, dword [0x100c4ab8]
cmp eax, 0xffffffff
jne 0x1002960a
lea eax, [ebp - 0x10a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x109c]
mov dword [0x100c4ab8], eax
jmp 0x1002960a
push 0x100c6cb0
mov dword [0x100c6cb4], eax
call fcn.10071d2d
add esp, 4
jmp 0x100293bc