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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba9f9
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4dcac0]
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.0040e340
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 0x4c2f64
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 0x45a5bf
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 0x45a5bf
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x114], edx
lea eax, [ebp - 0x114]
push eax
call fcn.0040a400
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x45a59e
lea ecx, [ebp - 0x114]
push ecx
call fcn.0040a500
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x45a59e
lea edx, [ebp - 0x114]
push edx
call fcn.0040a600
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x45a5bf
mov eax, dword [ebp - 0x114]
push eax
push 0x4c2fac
lea ecx, [ebp - 0x60]
push ecx
call fcn.0040ef80
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.0040e470
mov dword [ebp - 0x54], eax
push 0xd6d80
call fcn.00482070
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 0x45a643
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x54]
jge 0x45a6d1
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x60]
call fcn.0040d4a0
movsx eax, al
sub eax, 0x61
mov dword [ebp - 0x11c], eax
jns 0x45a677
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 0x45a6cc
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x38], 0
jmp 0x45a63a
mov eax, dword [ebp - 0xa4]
cdq
add eax, 0x38012ad2
adc edx, 1
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jge 0x45a6fd
mov eax, dword [ebp - 0xa4]
neg eax
mov dword [ebp - 0xa4], eax
push 0x20
push 0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.004a47d0
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, 9
mov eax, dword [ebp - 0x7c]
imul eax, eax, 3
add edx, dword [ebp - 0xa4]
add eax, edx
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0xb0], eax
jns 0x45a7bd
mov ecx, dword [ebp - 0xb0]
neg ecx
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0x7c]
imul edx, edx, 6
mov eax, dword [ebp - 0x14]
imul eax, eax, 7
add edx, dword [ebp - 0xa4]
add eax, edx
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x44], eax
jns 0x45a7e4
mov ecx, dword [ebp - 0x44]
neg ecx
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x15
mov eax, dword [ebp - 0x80]
imul eax, eax, 0xf
add edx, dword [ebp - 0xa4]
add eax, edx
add eax, dword [ebp - 0x34]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], eax
jns 0x45a80b
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.0040ef80
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 0x45a88b
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 3
jge 0x45a8b0
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 0x45a882
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x124], edx
mov eax, dword [ebp - 0x124]
push eax
call fcn.0048207b
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call fcn.0040e3c0
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.004a47ba
mov esp, ebp
pop ebp
ret