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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.100d3320
mov eax, dword [0x10104040]
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 [0x1015687c]
mov dword [ebp - 0x104c], ecx
push edi
mov edi, edx
mov ecx, dword [eax + esi*4]
mov eax, dword [0x10185f10]
mov dword [ebp - 0x1058], edi
mov dword [ebp - 0x1050], ecx
cmp eax, dword [ecx + 4]
jle 0x1007a190
push 0x10185f10
call fcn.10093fed
add esp, 4
cmp dword [0x10185f10], 0xffffffff
jne 0x1007a190
cmp dword [0x10154690], 0xffffffff
jne 0x1007a183
lea eax, [ebp - 0x1038]
push eax
call ebx
mov eax, dword [ebp - 0x1034]
mov dword [0x10154690], eax
push 0x10185f10
call fcn.10093f9c
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, 1
mov dword [ebp - 0x1048], edx
test ecx, ecx
je 0x1007a495
nop word [eax + eax]
mov edx, dword [ebp - 0x1050]
mov esi, 0x1000
mov eax, dword [0x10185f08]
cmp ecx, esi
cmovb esi, ecx
mov ecx, esi
mov dword [ebp - 0x1054], esi
mov dword [ebp - 0x103c], ecx
cmp eax, dword [edx + 4]
jle 0x1007a227
push 0x10185f08
call fcn.10093fed
add esp, 4
cmp dword [0x10185f08], 0xffffffff
jne 0x1007a221
mov eax, dword [0x10154690]
cmp eax, 0xffffffff
jne 0x1007a20f
lea eax, [ebp - 0x1038]
push eax
call ebx
mov eax, dword [ebp - 0x1034]
mov dword [0x10154690], eax
push 0x10185f08
mov dword [0x10185f0c], eax
call fcn.10093f9c
add esp, 4
mov ecx, dword [ebp - 0x103c]
mov dword [ebp - 0x1008], 0
lea ebx, [ebp - 0x1004]
mov dword [ebp - 0x1040], 0
mov eax, 1
test esi, esi
je 0x1007a30b
nop
mov esi, dword [0x10185f0c]
xor edx, edx
mov eax, edi
mov dword [ebp - 0x1044], 1
div esi
push 0xee
sub esi, edx
cmp ecx, esi
cmovle esi, ecx
mov ecx, edi
mov edx, esi
call fcn.1007a070
add esp, 4
test al, al
je 0x1007a2bd
lea eax, [ebp - 0x1008]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1007a2b3
push esi
push eax
push ebx
mov dword [ebp - 0x1044], eax
call fcn.100acae0
mov eax, dword [ebp - 0x1040]
mov dword [ebp - 0x1040], eax
jmp 0x1007a2cb
mov dword [ebp - 0x1040], 1
push esi
push edi
push ebx
call fcn.100accb0
mov eax, dword [ebp - 0x1040]
add esp, 0xc
test eax, eax
je 0x1007a2e7
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1008]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x103c]
add ebx, esi
add edi, esi
sub ecx, esi
mov dword [ebp - 0x103c], ecx
jne 0x1007a250
mov eax, dword [ebp - 0x1044]
mov esi, dword [ebp - 0x1054]
mov edx, dword [ebp - 0x1050]
xor ecx, ecx
test eax, eax
mov eax, dword [0x10185f14]
cmovne ecx, dword [ebp - 0x1048]
mov dword [ebp - 0x1048], ecx
mov ecx, esi
mov dword [ebp - 0x103c], ecx
cmp eax, dword [edx + 4]
jle 0x1007a387
push 0x10185f14
call fcn.10093fed
add esp, 4
cmp dword [0x10185f14], 0xffffffff
jne 0x1007a381
mov eax, dword [0x10154690]
cmp eax, 0xffffffff
jne 0x1007a36f
lea eax, [ebp - 0x1038]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x1034]
mov dword [0x10154690], eax
push 0x10185f14
mov dword [0x10185f18], eax
call fcn.10093f9c
add esp, 4
mov ecx, dword [ebp - 0x103c]
mov edi, dword [ebp - 0x104c]
lea ebx, [ebp - 0x1004]
mov dword [ebp - 0x100c], 0
mov eax, 1
mov dword [ebp - 0x1044], 0
test esi, esi
je 0x1007a45a
mov esi, dword [0x10185f18]
xor edx, edx
mov eax, edi
mov dword [ebp - 0x1040], 1
div esi
push 0xcc
sub esi, edx
cmp ecx, esi
cmovle esi, ecx
mov ecx, edi
mov edx, esi
call fcn.1007a070
add esp, 4
test al, al
je 0x1007a40d
lea eax, [ebp - 0x100c]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1007a403
mov dword [ebp - 0x1040], eax
jmp 0x1007a418
mov dword [ebp - 0x1044], 1
push esi
push ebx
push edi
call fcn.100accb0
add esp, 0xc
cmp dword [ebp - 0x1044], 0
je 0x1007a436
lea eax, [ebp - 0x1014]
push eax
push dword [ebp - 0x100c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 0x103c]
add edi, esi
add ebx, esi
sub ecx, esi
mov dword [ebp - 0x103c], ecx
jne 0x1007a3b4
mov eax, dword [ebp - 0x1040]
mov esi, dword [ebp - 0x1054]
mov ecx, dword [ebp + 8]
xor edx, edx
mov edi, dword [ebp - 0x1058]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmovne edx, dword [ebp - 0x1048]
sub ecx, esi
add dword [ebp - 0x104c], esi
add edi, esi
mov dword [ebp - 0x1048], edx
mov dword [ebp + 8], ecx
mov dword [ebp - 0x1058], edi
test ecx, ecx
jne 0x1007a1b0
mov ecx, dword [ebp - 4]
mov eax, edx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10093f63
mov esp, ebp
pop ebp
ret