Function at 0x434fef
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], esp
push 1
push 0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x435050
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4353b5
mov dword [ebp - 0x1c], esp
push str.ZwOpenProcess
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x435084
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x435393
mov dword [ebp - 0x1c], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4350b0
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0x40
push 0x1000
push 0x18
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4350e9
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x435393
mov dword [ebp - 0x1c], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x435115
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push 0x18
push 1
mov ebx, 0x9dc
call fcn.00457ad0
add esp, 0x10
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x198
call fcn.00455430
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x10]
push eax
push 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x435169
add eax, 8
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x43518c
push 6
call fcn.00454cec
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x43519c
push ebx
call fcn.00454ce0
add esp, 4
cmp dword [ebp - 0x10], 4
jne 0x435342
mov dword [ebp - 0x1c], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4351c5
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0x40
push 0x1000
push 8
push 0
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x4351fe
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x435342
mov dword [ebp - 0x1c], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x43522a
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x198
call fcn.00455430
add esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x10]
push eax
push 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x435262
add eax, 8
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x28], esp
je 0x435285
push 6
call fcn.00454cec
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x435295
push ebx
call fcn.00454ce0
add esp, 4
cmp dword [ebp - 0x10], 4
jne 0x4352f1
mov dword [ebp - 0x1c], esp
push 0
mov eax, 0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4352d3
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x24], eax
push 0
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push 0x1f0fff
push dword [ebp - 0x24]
push dword [ebp - 8]
call fcn.004353c3
mov dword [ebp - 0x1c], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x435310
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0x8000
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x435342
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x1c], esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x435361
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], esp
push 0x8000
push 0
push dword [ebp - 0xc]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
nop
nop
nop
cmp dword [ebp - 0x24], esp
je 0x435393
push 6
call fcn.00454cec
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4353b5
push 6
call fcn.00454cec
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x4353bd
mov esp, ebp
pop ebp
ret 4