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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b0
mov eax, dword [0x44000c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x114
mov dword [ebp - 0x180], eax
push esi
xor ebx, ebx
mov dword [ebp - 0x17c], ecx
lea eax, [ebp - 0x15c]
mov byte [ebp - 0x15d], 0
push ebx
push eax
mov dword [ebp - 0x168], 0xffff
call fcn.00419740
add esp, 0xc
mov dword [ebp - 0x15c], esi
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x14c], 1
jne 0x4144e5
push dword [ebp - 0x168]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x414793
push dword [ebp - 0x168]
push 0xf0000
push ebx
call fcn.0042d5d0
add esp, 0xc
jmp 0x41471c
push 0xb
pop ecx
mov esi, str.devicephysicalmemory
mov dword [ebp - 0x194], 0xf0000
lea edi, [ebp - 0x44]
mov dword [ebp - 0x1a0], 0x40
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x1ac], 0x18
push 0x2c
xor edx, edx
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x16]
mov dword [ebp - 0x190], edx
stosd dword es:[edi], eax
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x19c], edx
stosd dword es:[edi], eax
mov dword [ebp - 0x198], edx
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x184], eax
pop eax
push 0x2e
mov word [ebp - 0x188], ax
pop eax
mov word [ebp - 0x186], ax
lea eax, [ebp - 0x188]
push str.ntdll.dll
mov dword [ebp - 0x1a4], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.ZwOpenSection
push esi
call edi
push str.ZwMapViewOfSection
push esi
mov dword [ebp - 0x164], eax
call edi
push str.ZwUnmapViewOfSection
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x414642
test edi, edi
je 0x414642
test esi, esi
je 0x414642
lea ecx, [ebp - 0x1ac]
push ecx
push 4
lea ecx, [ebp - 0x170]
push ecx
call eax
test eax, eax
jne 0x414642
push 2
push eax
push 1
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x194]
push eax
push 0xffff
push 0
lea eax, [ebp - 0x16c]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x170]
call edi
test eax, eax
jne 0x414642
push dword [ebp - 0x168]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x414633
push dword [ebp - 0x168]
push dword [ebp - 0x16c]
push ebx
call fcn.0042d5d0
add esp, 0xc
push dword [ebp - 0x16c]
push 0xffffffffffffffff
call esi
jmp 0x41471c
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x178], eax
cmp eax, 0x20
jb 0x414793
push str.GetSystemFirmwareTable
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x174], eax
test eax, eax
je 0x414710
push 0
push 0
push 0xe0000
push 0x4649524d
call eax
mov esi, eax
mov dword [ebp - 0x164], esi
test esi, esi
je 0x414710
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x414710
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x414710
push dword [ebp - 0x164]
push esi
push 0xe0000
push 0x4649524d
call dword [ebp - 0x174]
test eax, eax
je 0x414709
cmp eax, dword [ebp - 0x164]
ja 0x414709
cmp eax, 0x1ffff
jb 0x414709
push dword [ebp - 0x168]
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x414709
push dword [ebp - 0x168]
lea eax, [esi + 0x10000]
push eax
push ebx
call fcn.0042d5d0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x178]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x414793
lea ecx, [ebp - 0x164]
mov dword [ebp - 0x164], ebx
call fcn.004147aa
test eax, eax
jne 0x414753
lea ecx, [ebp - 0x164]
call fcn.00414864
test eax, eax
jne 0x414753
lea ecx, [ebp - 0x164]
call fcn.0041491e
test eax, eax
je 0x414787
push 0x31
pop esi
cmp eax, esi
cmovb esi, eax
test esi, esi
je 0x414787
push esi
push dword [ebp - 0x164]
push dword [ebp - 0x17c]
call fcn.00418dd0
mov eax, dword [ebp - 0x180]
add esp, 0xc
test eax, eax
je 0x414780
mov dword [eax], esi
mov byte [ebp - 0x15d], 1
push ebx
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 0x15d]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004171a2
mov esp, ebp
pop ebp
ret