Function at 0x442130
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x45bb98
push 0x432830
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x1460
call fcn.0043e100
mov eax, dword [0x4605d8]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1024], 0
lea eax, [ebp - 0x1024]
push eax
lea ecx, [ebp - 0x12b0]
push ecx
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 0x12b4], eax
cmp dword [ebp - 0x12b4], 0x6f
jne 0x4422ac
mov edx, dword [ebp - 0x1024]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x12b8], eax
cmp dword [ebp - 0x12b8], 0
je 0x4422a3
lea eax, [ebp - 0x1024]
push eax
mov ecx, dword [ebp - 0x12b8]
push ecx
call sub.iphlpapi.dll_GetAdaptersInfo
mov dword [ebp - 0x12b4], eax
cmp dword [ebp - 0x12b4], 0
jne 0x442279
mov edx, dword [ebp - 0x12b8]
mov dword [ebp - 0x12bc], edx
cmp dword [ebp - 0x12bc], 0
je 0x442277
mov eax, dword [ebp - 0x12bc]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x190]
cmp ecx, 0x1000
jae 0x442277
mov edx, dword [ebp - 0x12bc]
mov eax, dword [edx + 0x190]
push eax
mov ecx, dword [ebp - 0x12bc]
add ecx, 0x194
push ecx
mov edx, dword [ebp - 0x1c]
lea eax, [ebp + edx - 0x1020]
push eax
call fcn.004290b0
add esp, 0xc
mov ecx, dword [ebp - 0x12bc]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x190]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x12bc]
mov ecx, dword [eax]
mov dword [ebp - 0x12bc], ecx
jmp 0x442208
jmp 0x44228b
mov edx, dword [ebp - 0x12b4]
sub edx, 0x10000000
mov dword [ebp - 0x1028], edx
mov eax, dword [ebp - 0x12b8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4422aa
xor eax, eax
jmp 0x442651
jmp 0x4422be
mov ecx, dword [ebp - 0x12b4]
sub ecx, 0x20000000
mov dword [ebp - 0x1028], ecx
cmp dword [ebp - 0x1028], 0
je 0x4422ce
xor eax, eax
jmp 0x442651
mov dword [ebp - 0x13d8], 0
push 0x110
push 0
lea edx, [ebp - 0x13d4]
push edx
call fcn.004288a0
add esp, 0xc
mov dword [ebp - 0x13d8], 0x114
lea eax, [ebp - 0x13d8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x13c8], 2
je 0x442317
xor eax, eax
jmp 0x442651
push 0x400
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x1020]
push edx
call fcn.00441e40
add esp, 0xc
test eax, eax
jne 0x44234b
push 0x400
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x1020]
push ecx
call fcn.00441b60
add esp, 0xc
mov dword [ebp - 0x13f0], 0
mov byte [ebp - 0x13ec], 0
xor edx, edx
mov dword [ebp - 0x13eb], edx
mov dword [ebp - 0x13e7], edx
mov dword [ebp - 0x13e3], edx
mov word [ebp - 0x13df], dx
mov byte [ebp - 0x13dd], dl
mov dword [ebp - 0x13dc], 0
mov dword [ebp - 4], 0
mov eax, 0
cpuid
mov dword [ebp - 0x13ec], ebx
mov dword [ebp - 0x13e8], edx
mov dword [ebp - 0x13e4], ecx
mov eax, 1
cpuid
mov dword [ebp - 0x13dc], edx
mov dword [ebp - 4], 0xfffffffe
jmp 0x4423d7
cmp dword [ebp - 0x13f0], 0
jne 0x442447
push 4
lea eax, [ebp - 0x13dc]
push eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + ecx - 0x1020]
push edx
call fcn.004290b0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x13ec]
push ecx
call fcn.00428e70
add esp, 4
mov dword [ebp - 0x13dc], eax
mov edx, dword [ebp - 0x13dc]
push edx
lea eax, [ebp - 0x13ec]
push eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + ecx - 0x1020]
push edx
call fcn.004290b0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x13dc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x1470], 0xf0000
mov dword [ebp - 0x146c], 0
mov dword [ebp - 0x1468], 0xffff
mov ecx, 0xb
mov esi, str.devicephysicalmemory
lea edi, [ebp - 0x1464]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ecx, ecx
mov dword [ebp - 0x1436], ecx
mov dword [ebp - 0x1432], ecx
mov dword [ebp - 0x142e], ecx
mov word [ebp - 0x142a], cx
mov dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1464]
mov dword [ebp - 0x1418], edx
mov word [ebp - 0x141c], 0x2c
mov word [ebp - 0x141a], 0x2e
mov dword [ebp - 0x13fc], 0x40
mov dword [ebp - 0x1408], 0x18
lea eax, [ebp - 0x141c]
mov dword [ebp - 0x1400], eax
mov dword [ebp - 0x1404], 0
mov dword [ebp - 0x13f8], 0
mov dword [ebp - 0x13f4], 0
push 0x4559bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1410], eax
push str.ZwOpenSection
mov ecx, dword [ebp - 0x1410]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1428], eax
push str.ZwMapViewOfSection
mov edx, dword [ebp - 0x1410]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1424], eax
push str.ZwUnmapViewOfSection
mov eax, dword [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x140c], eax
lea ecx, [ebp - 0x1408]
push ecx
push 4
lea edx, [ebp - 0x1414]
push edx
call dword [ebp - 0x1428]
test eax, eax
jne 0x44264c
push 2
push 0
push 1
lea eax, [ebp - 0x1468]
push eax
lea ecx, [ebp - 0x1470]
push ecx
push 0xffff
push 0
lea edx, [ebp - 0x1420]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x1414]
push eax
call dword [ebp - 0x1424]
test eax, eax
jne 0x44264c
mov ecx, dword [ebp - 0x1420]
mov dword [ebp - 0x1478], ecx
lea edx, [ebp - 0x1478]
push edx
call fcn.004419c0
add esp, 4
mov dword [ebp - 0x1474], eax
cmp dword [ebp - 0x1474], 0
jne 0x442607
lea eax, [ebp - 0x1478]
push eax
call fcn.004418b0
add esp, 4
mov dword [ebp - 0x1474], eax
cmp dword [ebp - 0x1474], 0
jne 0x442607
lea ecx, [ebp - 0x1478]
push ecx
call fcn.00441770
add esp, 4
mov dword [ebp - 0x1474], eax
cmp dword [ebp - 0x1474], 0
je 0x44263d
mov edx, dword [ebp - 0x1474]
push edx
mov eax, dword [ebp - 0x1478]
push eax
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp + ecx - 0x1020]
push edx
call fcn.004290b0
add esp, 0xc
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1474]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1420]
push ecx
push 0xffffffffffffffff
call dword [ebp - 0x140c]
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.00428c24
mov esp, ebp
pop ebp
ret