Function at 0x10004c30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100211ec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x11c0
call fcn.1001d330
push esi
push edi
mov dword [ebp - 0x11c4], ecx
mov byte [ebp - 0x1014], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x1013]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x10ac], 0
mov ecx, 0x24
xor eax, eax
lea edi, [ebp - 0x10a8]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x10ac], 0x94
lea eax, [ebp - 0x10ac]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x109c], 2
je 0x10004cba
xor eax, eax
jmp 0x10004f69
push 0x400
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1014]
push edx
call fcn.10004600
add esp, 0xc
test eax, eax
jne 0x10004cee
push 0x400
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1014]
push ecx
call fcn.10004280
add esp, 0xc
mov dword [ebp - 0x112c], 0xf0000
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0xffff
mov ecx, 0xb
mov esi, str.devicephysicalmemory
lea edi, [ebp - 0x1120]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edx, edx
mov dword [ebp - 0x10f2], edx
mov dword [ebp - 0x10ee], edx
mov dword [ebp - 0x10ea], edx
mov word [ebp - 0x10e6], dx
mov dword [ebp - 0x10dc], 0
lea eax, [ebp - 0x1120]
mov dword [ebp - 0x10d4], eax
mov word [ebp - 0x10d8], 0x2c
mov word [ebp - 0x10d6], 0x2e
mov dword [ebp - 0x10b8], 0x40
mov dword [ebp - 0x10c4], 0x18
lea ecx, [ebp - 0x10d8]
mov dword [ebp - 0x10bc], ecx
mov dword [ebp - 0x10c0], 0
mov dword [ebp - 0x10b4], 0
mov dword [ebp - 0x10b0], 0
push 0x100234cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10cc], eax
push str.ZwOpenSection
mov edx, dword [ebp - 0x10cc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10e4], eax
push str.ZwMapViewOfSection
mov eax, dword [ebp - 0x10cc]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10e0], eax
push str.ZwUnmapViewOfSection
mov ecx, dword [ebp - 0x10cc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10c8], eax
lea edx, [ebp - 0x10c4]
push edx
push 4
lea eax, [ebp - 0x10d0]
push eax
call dword [ebp - 0x10e4]
test eax, eax
jne 0x10004ef3
push 2
push 0
push 1
lea ecx, [ebp - 0x1124]
push ecx
lea edx, [ebp - 0x112c]
push edx
push 0xffff
push 0
lea eax, [ebp - 0x10dc]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10d0]
push ecx
call dword [ebp - 0x10e0]
test eax, eax
jne 0x10004ef3
mov edx, dword [ebp - 0x10dc]
mov dword [ebp - 0x1134], edx
lea eax, [ebp - 0x1134]
push eax
call fcn.10004920
add esp, 4
mov dword [ebp - 0x1130], eax
cmp dword [ebp - 0x1130], 0
jne 0x10004eae
lea ecx, [ebp - 0x1134]
push ecx
call fcn.10004a00
add esp, 4
mov dword [ebp - 0x1130], eax
cmp dword [ebp - 0x1130], 0
jne 0x10004eae
lea edx, [ebp - 0x1134]
push edx
call fcn.10004ae0
add esp, 4
mov dword [ebp - 0x1130], eax
cmp dword [ebp - 0x1130], 0
je 0x10004ee4
mov eax, dword [ebp - 0x1130]
push eax
mov ecx, dword [ebp - 0x1134]
push ecx
mov edx, dword [ebp - 0x10]
lea eax, [ebp + edx - 0x1014]
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x1130]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10dc]
push edx
push 0xffffffffffffffff
call dword [ebp - 0x10c8]
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x11a4]
call fcn.10018200
lea edx, [ebp - 0x11c0]
push edx
lea ecx, [ebp - 0x11a4]
call fcn.10019650
mov dword [ebp - 0x11c8], eax
mov eax, dword [ebp - 0x11c8]
mov dword [ebp - 0x11cc], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x11cc]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10005010
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c0]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8