Function at 0x4a1feb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x2e
je 0x4a20dd
cmp dword [ebp - 0x80], 0x7d
je 0x4a210f
cmp dword [ebp - 0x80], 0xd3
je 0x4a2092
cmp dword [ebp - 0x80], 0x128
je 0x4a20c0
cmp dword [ebp - 0x80], 0x13c
je 0x4a204d
jmp 0x4a2131
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 4]
sub eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x2c]
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x2c]
or eax, ecx
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x18]
or eax, ecx
mov dword [ebp - 0x60], eax
jmp 0x4a213d
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x28]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp - 0x14]
or eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x4a213d
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x58]
add eax, dword [ebp - 8]
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
jmp 0x4a213d
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x38]
or eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 4]
or eax, ecx
mov ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x44]
and ecx, edx
or eax, ecx
mov dword [ebp - 0x58], eax
jmp 0x4a213d
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x48]
or eax, ecx
mov dword [ebp - 0x58], eax
jmp 0x4a213d
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x44]
or eax, ecx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x3c]
or eax, ecx
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x20]
or eax, ecx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x20]
or eax, ecx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x40]
add ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x1c]
or eax, ecx
or eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x4c]
or eax, ecx
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x64]
sub eax, dword [ebp - 8]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x2c]
and eax, ecx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x60]
or eax, ecx
mov ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x2c]
or eax, ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x20]
or eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x30]
and eax, ecx
or eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x4c]
add ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 4]
or eax, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x28]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 4]
or eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x58]
or eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x2c]
add eax, dword [ebp - 4]
sub eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x54]
add eax, dword [ebp - 8]
add eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0x19
je 0x4a23ae
cmp dword [ebp - 0x88], 0x54
je 0x4a232f
cmp dword [ebp - 0x88], 0x55
je 0x4a2369
cmp dword [ebp - 0x88], 0x5a
je 0x4a23bf
cmp dword [ebp - 0x88], 0x8e
je 0x4a23db
jmp 0x4a2410
mov eax, dword [ebp - 0x64]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x44]
sub ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 8]
or eax, ecx
mov dword [ebp - 0xc], eax
jmp 0x4a2438
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x20]
and eax, ecx
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x64]
or eax, ecx
mov dword [ebp - 0x38], eax
jmp 0x4a2438
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
jmp 0x4a2438
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x54]
and eax, ecx
or eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jmp 0x4a2438
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x38]
add eax, dword [ebp - 8]
sub eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x4c]
mov dword [ebp - 0x1c], eax
jmp 0x4a2438
mov eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x3c]
add ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x1c]
or eax, ecx
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x1c]
or eax, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 4]
sub eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x50]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x58]
add ecx, dword [ebp - 0x58]
sub ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x64]
or eax, ecx
mov ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x38]
or eax, ecx
mov dword [ebp - 0x40], eax
push 0x40
push 0x3000
push 0x1903d2
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x20]
and eax, ecx
or eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x28]
add ecx, dword [ebp - 0x10]
or eax, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x2c]
and ecx, dword [ebp - 0x34]
or eax, ecx
mov dword [ebp - 8], eax
inc ebp
clc