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

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], 0
test edi, edi
jne 0x725d84
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret
mov eax, dword [edi]
xor edx, edx
mov ecx, 0x7890
div ecx
cmp edx, 0x456
je 0x725da4
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x30
ret
mov ax, word [edi + 8]
cmp ax, 1
jb 0x7260c2
cmp ax, 0xa
ja 0x7260c2
cmp dword [edi + 4], 0x1e8480
jbe 0x725dd2
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x30
ret
mov eax, dword [edi + 0xe]
test eax, eax
je 0x7260b5
cmp eax, 0x8fffffff
ja 0x7260b5
mov eax, dword [edi + 0x16]
test eax, eax
je 0x7260a8
cmp eax, 0x8fffffff
ja 0x7260a8
mov edx, dword [edi + 0x1a]
lea eax, [esp + 0x1c]
push eax
lea esi, [edi + edx*8 + 0x1e]
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov ebx, dword [edi + 4]
mov ecx, dword [esp + 0x20]
mov eax, ebx
xor edx, edx
div ecx
xor edx, edx
mov ebp, eax
mov eax, ebx
div ecx
test edx, edx
je 0x725e2a
inc ebp
imul ecx, ebp
push 0x40
push 0x1000
push ecx
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov ecx, dword [esp + 0x48]
test eax, eax
mov dword [ecx], eax
jne 0x725e54
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
add esp, 0x30
ret
mov eax, dword [edi + 0x1a]
xor edx, edx
test eax, eax
jbe 0x725e86
mov ebx, dword [esp + 0x4c]
xor eax, eax
shl eax, 3
mov ebp, dword [eax + edi + 0x1e]
mov dword [eax + ebx], ebp
mov ebp, dword [eax + edi + 0x22]
add ebp, dword [ecx]
inc edx
mov dword [eax + ebx + 4], ebp
mov ebp, dword [edi + 0x1a]
mov eax, edx
and eax, 0xffff
cmp eax, ebp
jb 0x725e63
mov ebx, dword [ecx]
mov edx, dword [edi + 0x16]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x4c], 0
mov dword [ebx + 0x16], edx
cmp word [edi + 8], 0
jbe 0x725ecf
jmp 0x725ea7
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx]
mov edx, dword [esi]
mov ebp, dword [esi + 8]
add esi, 0xc
add eax, edx
push ebp
push esi
push eax
call fcn.00727000
mov eax, dword [esp + 0x58]
add esp, 0xc
add esi, ebp
inc eax
cmp ax, word [edi + 8]
mov dword [esp + 0x4c], eax
jb 0x725ea3
mov ebp, dword [edi + 0xe]
add ebp, ebx
mov dword [esp + 0x4c], ebp
mov eax, dword [ebp + 4]
test eax, eax
jne 0x725eea
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x726000
mov esi, dword [ebp + 0xc]
add esi, ebx
push esi
call fcn.00726110
add esp, 4
test eax, eax
ja 0x725fd9
push esi
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x725f22
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryA]
test eax, eax
mov dword [esp + 0x14], eax
je 0x725fe6
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, esi
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ebp, dword [ebp]
mov eax, dword [esp + 0x4c]
add ebp, ebx
mov esi, dword [eax + 0x10]
mov eax, dword [ebp]
add esi, ebx
test eax, eax
je 0x725fc3
test eax, 0x80000000
je 0x725f6f
mov ecx, dword [esp + 0x14]
and eax, 0xffff
push eax
push ecx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi], eax
jmp 0x725fb2
lea ebx, [eax + ebx + 2]
push ebx
call fcn.00726110
add esp, 4
test eax, eax
ja 0x726082
mov edx, dword [esp + 0x14]
push ebx
push edx
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [esi], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov edx, ecx
mov ebx, dword [esp + 0x18]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
test esi, esi
je 0x725ff3
mov eax, dword [ebp + 4]
add ebp, 4
add esi, 4
test eax, eax
jne 0x725f53
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x44]
add eax, 0x14
mov dword [esp + 0x4c], eax
mov ebp, eax
jmp 0x725ed8
mov dword [esp + 0x10], 8
jmp 0x726082
mov dword [esp + 0x10], 9
jmp 0x726082
mov dword [esp + 0x10], 0xa
jmp 0x726082
mov edx, dword [edi + 0x12]
test edx, edx
je 0x726064
mov eax, dword [edx + ebx]
add edx, ebx
test eax, eax
je 0x726064
mov eax, dword [edx + 4]
lea esi, [edx + 8]
add eax, edx
cmp esi, eax
jae 0x72605c
xor eax, eax
mov ax, word [esi]
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x3000
jne 0x726047
mov ebp, dword [edx]
and eax, 0xfff
add eax, ebp
mov ebp, dword [edi + 0xa]
add eax, ebx
mov ecx, ebx
sub ecx, ebp
add dword [eax], ecx
jmp 0x72604b
test ecx, ecx
jne 0x72607a
mov word [esi], 0
mov eax, dword [edx + 4]
add esi, 2
add eax, edx
cmp esi, eax
jb 0x72601c
add edx, dword [edx + 4]
cmp dword [edx], 0
jne 0x726010
mov edx, dword [edi + 0x16]
push 0
push 1
push ebx
add edx, ebx
call edx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
mov dword [esp + 0x10], 0xb
mov esi, dword [esp + 0x48]
push 0x8000
push 0
mov ecx, dword [esi]
push ecx
call dword [sym.imp.kernel32.dll_VirtualFree]
mov eax, dword [esp + 0x10]
mov dword [esi], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x30
ret