Function at 0x4d59b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5753a9
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5abc48]
xor eax, ebp
mov dword [ebp - 0xbc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x128], ecx
push str.stfhklmopqyuhgljlkopydstre
lea ecx, [ebp - 0x60]
call fcn.00415530
mov dword [ebp - 4], 0
mov dword [ebp - 0x10c], 0xf0000
mov dword [ebp - 0x108], 0
mov dword [ebp - 0xfc], 0xffff
mov ecx, 0xb
mov esi, str.devicephysicalmemory
lea edi, [ebp - 0xf8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov dword [ebp - 0xca], eax
mov dword [ebp - 0xc6], eax
mov dword [ebp - 0xc2], eax
mov word [ebp - 0xbe], ax
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x6c], ecx
mov edx, 0x2c
mov word [ebp - 0x70], dx
mov eax, 0x2e
mov word [ebp - 0x6e], ax
mov dword [ebp - 0x20], 0x40
mov dword [ebp - 0x2c], 0x18
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x5882d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x58], eax
push str.ZwOpenSection
mov edx, dword [ebp - 0x58]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb8], eax
push str.ZwMapViewOfSection
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xb4], eax
push str.ZwUnmapViewOfSection
mov ecx, dword [ebp - 0x58]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
lea edx, [ebp - 0x2c]
push edx
push 4
lea eax, [ebp - 0x5c]
push eax
call dword [ebp - 0xb8]
test eax, eax
jne 0x4d5b9f
push 2
push 0
push 1
lea ecx, [ebp - 0xfc]
push ecx
lea edx, [ebp - 0x10c]
push edx
push 0xffff
push 0
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [ebp - 0xb4]
test eax, eax
jne 0x4d5b9f
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x114], edx
lea eax, [ebp - 0x114]
push eax
call fcn.0040ab90
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4d5b7e
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040ac90
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4d5b7e
lea edx, [ebp - 0x114]
push edx
call fcn.0040ad90
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x4d5b9f
mov eax, dword [ebp - 0x114]
push eax
push 0x58831c
lea ecx, [ebp - 0x60]
push ecx
call fcn.00416090
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.00415630
mov dword [ebp - 0x54], eax
push 0xd6d80
call fcn.00534acf
add esp, 4
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x48], 0xc8320
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 9
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x68], 1
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x30], 0
jmp 0x4d5c23
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x54]
jge 0x4d5cb1
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x60]
call fcn.00413d00
movsx eax, al
sub eax, 0x61
mov dword [ebp - 0x11c], eax
jns 0x4d5c57
mov ecx, dword [ebp - 0x11c]
neg ecx
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x11c]
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x118], edx
mov edx, dword [ebp - 0x118]
imul edx, dword [ebp - 0x68]
add edx, dword [ebp - 0xa4]
mov dword [ebp - 0xa4], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x68]
imul ecx, ecx, 0xa
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x38]
cmp edx, dword [ebp - 0xa8]
jl 0x4d5cac
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x38], 0
jmp 0x4d5c1a
mov eax, dword [ebp - 0xa4]
cdq
add eax, 0x38012ad2
adc edx, 1
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jge 0x4d5cdd
mov eax, dword [ebp - 0xa4]
neg eax
mov dword [ebp - 0xa4], eax
push 0x20
push 0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00556a10
add esp, 0xc
mov dword [ebp - 0xa0], 0x20
lea edx, [ebp - 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x80], 0xbb
mov dword [ebp - 0x7c], 0x100
mov dword [ebp - 0x14], 0x4b4
mov eax, 1
xor edx, edx
cpuid
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x14], ecx
mov eax, 3
xor ecx, ecx
xor edx, edx
cpuid
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 0x13ec41b
mov edx, dword [ebp - 0x80]
imul edx, edx, 3
mov eax, dword [ebp - 0x7c]
imul eax, eax, 5
add edx, dword [ebp - 0xa4]
add eax, edx
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0xb0], eax
jns 0x4d5d9d
mov ecx, dword [ebp - 0xb0]
neg ecx
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xa4]
lea ecx, [eax + edx*8]
mov edx, dword [ebp - 0x7c]
lea eax, [ecx + edx*4]
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
jns 0x4d5dc2
mov ecx, dword [ebp - 0x44]
neg ecx
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xb
mov eax, dword [ebp - 0x80]
imul eax, eax, 0xc
add edx, dword [ebp - 0xa4]
add eax, edx
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], eax
jns 0x4d5de9
mov ecx, dword [ebp - 0x4c]
neg ecx
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
push str._d_d_d
mov edx, dword [ebp - 0x128]
add edx, 0x88
push edx
call fcn.00416090
add esp, 0x14
mov eax, dword [ebp - 0xb0]
cdq
mov ecx, 0xf4240
idiv ecx
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 0x44]
cdq
mov ecx, 0xf4240
idiv ecx
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x80], edx
mov eax, dword [ebp - 0x4c]
cdq
mov ecx, 0xf4240
idiv ecx
mov eax, dword [ebp - 0x128]
mov dword [eax + 0x84], edx
mov dword [ebp - 0x30], 0
jmp 0x4d5e69
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 3
jge 0x4d5e8e
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x128]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x128]
mov ecx, dword [esi + ecx*4 + 0x7c]
mov dword [eax + edx*4 + 0x2ec], ecx
jmp 0x4d5e60
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x124]
push eax
call fcn.00534ac4
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0052ee60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xbc]
xor ecx, ebp
call fcn.00556710
mov esp, ebp
pop ebp
ret