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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x4f36a0]
xor eax, ebp
mov dword [ebp - 0x48], eax
push esi
push edi
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0xffff
call fcn.0043bea0
test eax, eax
je 0x43bf66
mov eax, dword [ebp - 4]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43bf61
mov ecx, dword [ebp - 4]
push ecx
push 0xf0000
mov edx, dword [ebp - 0xc]
push edx
call fcn.0049c670
add esp, 0xc
jmp 0x43c223
mov dword [ebp - 0x90], 0xf0000
mov dword [ebp - 0x8c], 0
mov ecx, 0xb
mov esi, str.devicephysicalmemory
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
mov dword [ebp - 0x56], eax
mov dword [ebp - 0x52], eax
mov dword [ebp - 0x4e], eax
mov word [ebp - 0x4a], ax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x34], ecx
mov edx, 0x2c
mov word [ebp - 0x38], dx
mov eax, 0x2e
mov word [ebp - 0x36], ax
mov dword [ebp - 0x18], 0x40
mov dword [ebp - 0x24], 0x18
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2c], eax
push str.ZwOpenSection
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
push str.ZwMapViewOfSection
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
push str.ZwUnmapViewOfSection
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x44], 0
je 0x43c0ba
cmp dword [ebp - 0x40], 0
je 0x43c0ba
cmp dword [ebp - 0x28], 0
je 0x43c0ba
lea edx, [ebp - 0x24]
push edx
push 4
lea eax, [ebp - 0x30]
push eax
call dword [ebp - 0x44]
test eax, eax
jne 0x43c0ba
push 2
push 0
push 1
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x90]
push edx
push 0xffff
push 0
lea eax, [ebp - 0x3c]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x30]
push ecx
call dword [ebp - 0x40]
test eax, eax
jne 0x43c0ba
mov edx, dword [ebp - 4]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43c0ac
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.0049c670
add esp, 0xc
mov eax, dword [ebp - 0x3c]
push eax
push 0xffffffffffffffff
call dword [ebp - 0x28]
jmp 0x43c223
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 0x94], 0x20
jb 0x43c223
push str.GetSystemFirmwareTable
mov ecx, dword [ebp - 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x43c216
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa0]
push eax
push 0xe0000
push 0x4649524d
call dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x43c216
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0x7a
jne 0x43c216
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x9c]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x43c216
mov eax, dword [ebp - 0xa4]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
push 0xe0000
push 0x4649524d
call dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x43c209
mov edx, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0xa4]
ja 0x43c209
cmp dword [ebp - 0x9c], 0x1ffff
jb 0x43c209
mov eax, dword [ebp - 4]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43c209
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xa0]
add edx, 0x10000
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0049c670
add esp, 0xc
mov ecx, dword [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x94]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0xc], 0
je 0x43c309
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.0043c320
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x43c287
lea edx, [ebp - 0xb0]
push edx
call fcn.0043c440
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x43c287
lea eax, [ebp - 0xb0]
push eax
call fcn.0043c560
add esp, 4
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
je 0x43c2f6
mov ecx, dword [ebp - 0xac]
cmp ecx, dword [ebp + 0xc]
jae 0x43c2a9
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb8], edx
jmp 0x43c2b2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xb4], 0
jbe 0x43c2f6
mov edx, dword [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0xb0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00497ff0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x43c2f2
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xb4]
mov dword [edx], eax
mov byte [ebp - 5], 1
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov al, byte [ebp - 5]
pop edi
pop esi
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.00497c58
mov esp, ebp
pop ebp
ret