Function at 0x46892e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x44b0
call fcn.0049e150
push esi
push edi
mov eax, dword [0x4a2ba0]
mov dword [ebp - 0x4458], eax
mov dword [ebp - 0x4454], 0
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x18], eax
call fcn.0046925f
sub eax, 6
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x4450]
push edx
lea eax, [ebp - 0x434c]
push eax
push 0
call fcn.00468339
add esp, 0x10
test eax, eax
je 0x469243
mov ecx, dword [ebp - 0x434a]
and ecx, 0xff
test ecx, ecx
je 0x4689ce
call fcn.00467b3e
test eax, eax
je 0x4689ce
push 0x10
push 0x4507dc
push 0x4507e4
push 0
call fcn.0046ab40
add esp, 0x10
xor eax, eax
jmp 0x469259
push 0x4330
lea edx, [ebp - 0x434c]
push edx
push 0x49e628
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x4488], 4
mov byte [ebp - 0x4487], 8
mov byte [ebp - 0x4486], 0
mov byte [ebp - 0x4485], 0
mov byte [ebp - 0x4484], 0xc8
mov byte [ebp - 0x4483], 0
mov byte [ebp - 0x4482], 0
mov byte [ebp - 0x4481], 0
mov byte [ebp - 0x4480], 0x18
mov byte [ebp - 0x447f], 0x61
mov byte [ebp - 0x447e], 0xe
mov byte [ebp - 0x447d], 0
mov byte [ebp - 0x447c], 0x22
mov byte [ebp - 0x447b], 0
mov byte [ebp - 0x447a], 0
mov byte [ebp - 0x4479], 0
mov byte [ebp - 0x4478], 0x90
mov byte [ebp - 0x4477], 0x66
mov byte [ebp - 0x4476], 0xe
mov byte [ebp - 0x4475], 0
mov byte [ebp - 0x4474], 0xe8
mov byte [ebp - 0x4473], 2
mov byte [ebp - 0x4472], 0
mov byte [ebp - 0x4471], 0
mov byte [ebp - 0x4470], 0
mov byte [ebp - 0x446f], 0
mov byte [ebp - 0x446e], 0
mov byte [ebp - 0x446d], 0
mov byte [ebp - 0x446c], 0
mov byte [ebp - 0x446b], 0
mov byte [ebp - 0x446a], 0
mov byte [ebp - 0x4469], 0
push 0x4330
lea eax, [ebp - 0x4488]
push eax
push 0x64
push 0x49e628
call fcn.0046b3d4
add esp, 0x10
mov ecx, dword [ebp - 0x4336]
and ecx, 0xff
test ecx, ecx
je 0x468b21
mov edx, dword [ebp - 0x4348]
and edx, 0xff
cmp edx, 2
je 0x468b21
mov eax, 0x4330
call fcn.0049e150
mov ecx, 0x10cc
mov esi, 0x49e628
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4a2b80]
mov eax, dword [ebp - 4]
sub eax, 0x4330
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x433c]
and ecx, 0xff
test ecx, ecx
je 0x468b8d
mov edx, dword [0x4a2cac]
push edx
call fcn.0049dc60
add esp, 4
mov dword [ebp - 0x44b0], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x44b0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x44b0]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x4a2cac]
push ecx
call fcn.0049dbe0
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x468bba
push 4
push 0x1000
mov edx, dword [ebp - 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x4a2cac]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [0x49e608], 0
je 0x468bd6
push 0x8000
push 0
mov eax, dword [0x4a2cac]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [ebp - 0x4450]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x4454]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.004692ff
add esp, 0x18
test eax, eax
jne 0x468c18
push 0x8000
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x469259
push 0x8000
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x44a8], eax
mov dword [ebp - 0x445c], 0x4a2cac
mov dword [ebp - 0x4490], 0x4a2b90
lea eax, [ebp - 0x10]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x4458]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x468c6b
xor eax, eax
jmp 0x469259
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x49e620], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x44a4], 0
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
mov byte [ecx], 0x6a
mov edx, dword [ebp - 0x44a4]
add edx, 1
mov dword [ebp - 0x44a4], edx
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
mov byte [eax], 0
mov ecx, dword [ebp - 0x44a4]
add ecx, 1
mov dword [ebp - 0x44a4], ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x44a4]
add eax, 1
mov dword [ebp - 0x44a4], eax
push 4
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x44a4]
add eax, 4
mov dword [ebp - 0x44a4], eax
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x44a4]
add edx, 1
mov dword [ebp - 0x44a4], edx
push 4
push 0x4a2968
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x44a4]
add ecx, 4
mov dword [ebp - 0x44a4], ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x44a4]
add eax, 1
mov dword [ebp - 0x44a4], eax
push 4
lea ecx, [ebp - 0x4458]
push ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x44a4]
add eax, 4
mov dword [ebp - 0x44a4], eax
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x44a4]
add edx, 1
mov dword [ebp - 0x44a4], edx
push 4
lea eax, [ebp - 0x44a8]
push eax
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x44a4]
add edx, 4
mov dword [ebp - 0x44a4], edx
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
mov byte [eax], 0xff
mov ecx, dword [ebp - 0x44a4]
add ecx, 1
mov dword [ebp - 0x44a4], ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
mov byte [edx], 0x15
mov eax, dword [ebp - 0x44a4]
add eax, 1
mov dword [ebp - 0x44a4], eax
push 4
lea ecx, [ebp - 0x4490]
push ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x44a4]
add eax, 4
mov dword [ebp - 0x44a4], eax
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x44a4]
add edx, 1
mov dword [ebp - 0x44a4], edx
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
mov byte [eax], 0
mov ecx, dword [ebp - 0x44a4]
add ecx, 1
mov dword [ebp - 0x44a4], ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
mov byte [edx], 0x80
mov eax, dword [ebp - 0x44a4]
add eax, 1
mov dword [ebp - 0x44a4], eax
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
mov byte [ecx], 0
mov edx, dword [ebp - 0x44a4]
add edx, 1
mov dword [ebp - 0x44a4], edx
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
mov byte [eax], 0
mov ecx, dword [ebp - 0x44a4]
add ecx, 1
mov dword [ebp - 0x44a4], ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
mov byte [edx], 0x6a
mov eax, dword [ebp - 0x44a4]
add eax, 1
mov dword [ebp - 0x44a4], eax
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
mov byte [ecx], 0
mov edx, dword [ebp - 0x44a4]
add edx, 1
mov dword [ebp - 0x44a4], edx
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x44a4]
add ecx, 1
mov dword [ebp - 0x44a4], ecx
push 4
push 0x4a2968
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x44a4]
add eax, 4
mov dword [ebp - 0x44a4], eax
push 0x450808
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x4498], eax
push 0x450818
mov ecx, dword [ebp - 0x4498]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4494], eax
lea edx, [ebp - 0x4494]
mov dword [ebp - 0x4468], edx
mov eax, dword [ebp - 0x4498]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
mov byte [ecx], 0xff
mov edx, dword [ebp - 0x44a4]
add edx, 1
mov dword [ebp - 0x44a4], edx
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
mov byte [eax], 0x15
mov ecx, dword [ebp - 0x44a4]
add ecx, 1
mov dword [ebp - 0x44a4], ecx
push 4
lea edx, [ebp - 0x4468]
push edx
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x44a4]
add ecx, 4
mov dword [ebp - 0x44a4], ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
mov byte [edx], 0x8b
mov eax, dword [ebp - 0x44a4]
add eax, 1
mov dword [ebp - 0x44a4], eax
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
mov byte [ecx], 0xe5
mov edx, dword [ebp - 0x44a4]
add edx, 1
mov dword [ebp - 0x44a4], edx
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
mov byte [eax], 0x5d
mov ecx, dword [ebp - 0x44a4]
add ecx, 1
mov dword [ebp - 0x44a4], ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
mov byte [edx], 0x8b
mov eax, dword [ebp - 0x44a4]
add eax, 1
mov dword [ebp - 0x44a4], eax
mov ecx, dword [0x49e620]
add ecx, dword [ebp - 0x44a4]
mov byte [ecx], 0xe5
mov edx, dword [ebp - 0x44a4]
add edx, 1
mov dword [ebp - 0x44a4], edx
mov eax, dword [0x49e620]
add eax, dword [ebp - 0x44a4]
mov byte [eax], 0x5d
mov ecx, dword [ebp - 0x44a4]
add ecx, 1
mov dword [ebp - 0x44a4], ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
mov byte [edx], 0xe9
mov eax, dword [ebp - 0x44a4]
add eax, 1
mov dword [ebp - 0x44a4], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x4464], ecx
mov edx, dword [0x49e620]
sub edx, dword [ebp - 0x4464]
sub edx, 5
mov dword [0x4a295c], edx
mov eax, dword [ebp - 0x4464]
mov dword [ebp - 0x44ac], eax
mov ecx, dword [ebp - 0x4344]
add ecx, dword [0x4a2ba0]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
sub edx, dword [0x49e620]
mov eax, dword [ebp - 0x44a4]
add eax, 4
sub edx, eax
mov dword [ebp - 0x4460], edx
push 4
lea ecx, [ebp - 0x4460]
push ecx
mov edx, dword [0x49e620]
add edx, dword [ebp - 0x44a4]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x44a0], 0xe9
push 4
push 0x4a295c
lea eax, [ebp - 0x449f]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push 0x32
mov edx, dword [ebp - 0x44ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x4691a4
xor eax, eax
jmp 0x469259
mov eax, dword [ebp - 0x44ac]
mov dword [ebp - 0x448c], eax
mov ecx, dword [ebp - 0x448c]
mov dl, byte [ebp - 0x44a0]
mov byte [ecx], dl
mov eax, dword [ebp - 0x448c]
add eax, 1
mov dword [ebp - 0x448c], eax
mov ecx, dword [ebp - 0x448c]
mov dl, byte [ebp - 0x449f]
mov byte [ecx], dl
mov eax, dword [ebp - 0x448c]
add eax, 1
mov dword [ebp - 0x448c], eax
mov ecx, dword [ebp - 0x448c]
mov dl, byte [ebp - 0x449e]
mov byte [ecx], dl
mov eax, dword [ebp - 0x448c]
add eax, 1
mov dword [ebp - 0x448c], eax
mov ecx, dword [ebp - 0x448c]
mov dl, byte [ebp - 0x449d]
mov byte [ecx], dl
mov eax, dword [ebp - 0x448c]
add eax, 1
mov dword [ebp - 0x448c], eax
mov ecx, dword [ebp - 0x448c]
mov dl, byte [ebp - 0x449c]
mov byte [ecx], dl
mov eax, dword [ebp - 0x448c]
add eax, 1
mov dword [ebp - 0x448c], eax
jmp 0x469257
push 0x10
push 0x450824
push 0x45082c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret