Function at 0x4682eb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2494
call fcn.0049dcc0
push esi
push edi
mov eax, dword [0x4a06f0]
mov dword [ebp - 0x2448], eax
mov dword [ebp - 0x2444], 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.00468a34
sub eax, 6
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x2440]
push edx
lea eax, [ebp - 0x233c]
push eax
push 0
call fcn.00467c48
add esp, 0x10
test eax, eax
je 0x468a18
mov ecx, dword [ebp - 0x233a]
and ecx, 0xff
test ecx, ecx
je 0x46838b
call fcn.004671ae
test eax, eax
je 0x46838b
push 0x10
push 0x45073c
push 0x450744
push 0
call fcn.00467baa
add esp, 0x10
xor eax, eax
jmp 0x468a2e
push 0x2320
lea edx, [ebp - 0x233c]
push edx
push 0x49e188
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x2474], 4
mov byte [ebp - 0x2473], 8
mov byte [ebp - 0x2472], 0
mov byte [ebp - 0x2471], 0
mov byte [ebp - 0x2470], 0xc8
mov byte [ebp - 0x246f], 0
mov byte [ebp - 0x246e], 0
mov byte [ebp - 0x246d], 0
mov byte [ebp - 0x246c], 0x18
mov byte [ebp - 0x246b], 0x61
mov byte [ebp - 0x246a], 0xe
mov byte [ebp - 0x2469], 0
mov byte [ebp - 0x2468], 0x22
mov byte [ebp - 0x2467], 0
mov byte [ebp - 0x2466], 0
mov byte [ebp - 0x2465], 0
mov byte [ebp - 0x2464], 0x90
mov byte [ebp - 0x2463], 0x66
mov byte [ebp - 0x2462], 0xe
mov byte [ebp - 0x2461], 0
mov byte [ebp - 0x2460], 0xe8
mov byte [ebp - 0x245f], 2
mov byte [ebp - 0x245e], 0
mov byte [ebp - 0x245d], 0
mov byte [ebp - 0x245c], 0
mov byte [ebp - 0x245b], 0
mov byte [ebp - 0x245a], 0
mov byte [ebp - 0x2459], 0
mov byte [ebp - 0x2458], 0
mov byte [ebp - 0x2457], 0
mov byte [ebp - 0x2456], 0
mov byte [ebp - 0x2455], 0
push 0x2320
lea eax, [ebp - 0x2474]
push eax
push 0x64
push 0x49e188
call fcn.0046b34b
add esp, 0x10
mov ecx, dword [ebp - 0x2326]
and ecx, 0xff
test ecx, ecx
je 0x4684de
mov edx, dword [ebp - 0x2338]
and edx, 0xff
cmp edx, 2
je 0x4684de
mov eax, 0x2320
call fcn.0049dcc0
mov ecx, 0x8c8
mov esi, 0x49e188
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4a06d0]
mov eax, dword [ebp - 4]
sub eax, 0x2320
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x232c]
and ecx, 0xff
test ecx, ecx
je 0x46854a
mov edx, dword [0x4a07fc]
push edx
call fcn.0049d890
add esp, 4
mov dword [ebp - 0x2494], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x2494]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x2494]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x4a07fc]
push ecx
call fcn.0049d810
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x468577
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 [0x4a07fc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [0x49e168], 0
je 0x468593
push 0x8000
push 0
mov eax, dword [0x4a07fc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [ebp - 0x2440]
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 - 0x2444]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00468ad4
add esp, 0x18
test eax, eax
jne 0x4685d5
push 0x8000
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x468a2e
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 - 0x248c], eax
mov dword [ebp - 0x244c], 0x4a07fc
mov dword [ebp - 0x247c], 0x4a06e0
lea eax, [ebp - 0x10]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x2448]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x468628
xor eax, eax
jmp 0x468a2e
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x49e180], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x2488], 0
mov ecx, dword [0x49e180]
add ecx, dword [ebp - 0x2488]
mov byte [ecx], 0x6a
mov edx, dword [ebp - 0x2488]
add edx, 1
mov dword [ebp - 0x2488], edx
mov eax, dword [0x49e180]
add eax, dword [ebp - 0x2488]
mov byte [eax], 0
mov ecx, dword [ebp - 0x2488]
add ecx, 1
mov dword [ebp - 0x2488], ecx
mov edx, dword [0x49e180]
add edx, dword [ebp - 0x2488]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x2488]
add eax, 1
mov dword [ebp - 0x2488], eax
push 4
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x49e180]
add edx, dword [ebp - 0x2488]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x2488]
add eax, 4
mov dword [ebp - 0x2488], eax
mov ecx, dword [0x49e180]
add ecx, dword [ebp - 0x2488]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x2488]
add edx, 1
mov dword [ebp - 0x2488], edx
push 4
push 0x4a04b8
mov eax, dword [0x49e180]
add eax, dword [ebp - 0x2488]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x2488]
add ecx, 4
mov dword [ebp - 0x2488], ecx
mov edx, dword [0x49e180]
add edx, dword [ebp - 0x2488]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x2488]
add eax, 1
mov dword [ebp - 0x2488], eax
push 4
lea ecx, [ebp - 0x2448]
push ecx
mov edx, dword [0x49e180]
add edx, dword [ebp - 0x2488]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x2488]
add eax, 4
mov dword [ebp - 0x2488], eax
mov ecx, dword [0x49e180]
add ecx, dword [ebp - 0x2488]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x2488]
add edx, 1
mov dword [ebp - 0x2488], edx
push 4
lea eax, [ebp - 0x248c]
push eax
mov ecx, dword [0x49e180]
add ecx, dword [ebp - 0x2488]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x2488]
add edx, 4
mov dword [ebp - 0x2488], edx
mov eax, dword [0x49e180]
add eax, dword [ebp - 0x2488]
mov byte [eax], 0xff
mov ecx, dword [ebp - 0x2488]
add ecx, 1
mov dword [ebp - 0x2488], ecx
mov edx, dword [0x49e180]
add edx, dword [ebp - 0x2488]
mov byte [edx], 0x15
mov eax, dword [ebp - 0x2488]
add eax, 1
mov dword [ebp - 0x2488], eax
push 4
lea ecx, [ebp - 0x247c]
push ecx
mov edx, dword [0x49e180]
add edx, dword [ebp - 0x2488]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x2488]
add eax, 4
mov dword [ebp - 0x2488], eax
mov ecx, dword [0x49e180]
add ecx, dword [ebp - 0x2488]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x2488]
add edx, 1
mov dword [ebp - 0x2488], edx
mov eax, dword [0x49e180]
add eax, dword [ebp - 0x2488]
mov byte [eax], 0xe5
mov ecx, dword [ebp - 0x2488]
add ecx, 1
mov dword [ebp - 0x2488], ecx
mov edx, dword [0x49e180]
add edx, dword [ebp - 0x2488]
mov byte [edx], 0x5d
mov eax, dword [ebp - 0x2488]
add eax, 1
mov dword [ebp - 0x2488], eax
mov ecx, dword [0x49e180]
add ecx, dword [ebp - 0x2488]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x2488]
add edx, 1
mov dword [ebp - 0x2488], edx
mov eax, dword [0x49e180]
add eax, dword [ebp - 0x2488]
mov byte [eax], 0xe5
mov ecx, dword [ebp - 0x2488]
add ecx, 1
mov dword [ebp - 0x2488], ecx
mov edx, dword [0x49e180]
add edx, dword [ebp - 0x2488]
mov byte [edx], 0x5d
mov eax, dword [ebp - 0x2488]
add eax, 1
mov dword [ebp - 0x2488], eax
mov ecx, dword [0x49e180]
add ecx, dword [ebp - 0x2488]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 0x2488]
add edx, 1
mov dword [ebp - 0x2488], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2454], eax
mov ecx, dword [0x49e180]
sub ecx, dword [ebp - 0x2454]
sub ecx, 5
mov dword [0x4a04ac], ecx
mov edx, dword [ebp - 0x2454]
mov dword [ebp - 0x2490], edx
mov eax, dword [ebp - 0x2334]
add eax, dword [0x4a06f0]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [0x49e180]
mov edx, dword [ebp - 0x2488]
add edx, 4
sub ecx, edx
mov dword [ebp - 0x2450], ecx
push 4
lea eax, [ebp - 0x2450]
push eax
mov ecx, dword [0x49e180]
add ecx, dword [ebp - 0x2488]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x2484], 0xe9
push 4
push 0x4a04ac
lea edx, [ebp - 0x2483]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x2490]
mov dword [ebp - 0x2478], eax
mov ecx, dword [ebp - 0x2478]
mov dl, byte [ebp - 0x2484]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2478]
add eax, 1
mov dword [ebp - 0x2478], eax
mov ecx, dword [ebp - 0x2478]
mov dl, byte [ebp - 0x2483]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2478]
add eax, 1
mov dword [ebp - 0x2478], eax
mov ecx, dword [ebp - 0x2478]
mov dl, byte [ebp - 0x2482]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2478]
add eax, 1
mov dword [ebp - 0x2478], eax
mov ecx, dword [ebp - 0x2478]
mov dl, byte [ebp - 0x2481]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2478]
add eax, 1
mov dword [ebp - 0x2478], eax
mov ecx, dword [ebp - 0x2478]
mov dl, byte [ebp - 0x2480]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2478]
add eax, 1
mov dword [ebp - 0x2478], eax
jmp 0x468a2c
push 0x10
push 0x450768
push 0x450770
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret