Function at 0x4682fb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2494
call fcn.0049dcf0
push esi
push edi
mov eax, dword [0x4a0720]
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.00468a6b
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.00467c58
add esp, 0x10
test eax, eax
je 0x468a4f
mov ecx, dword [ebp - 0x233a]
and ecx, 0xff
test ecx, ecx
je 0x46839b
call fcn.004671be
test eax, eax
je 0x46839b
push 0x10
push 0x45074c
push 0x450754
push 0
call fcn.00467bba
add esp, 0x10
xor eax, eax
jmp 0x468a65
push 0x2320
lea edx, [ebp - 0x233c]
push edx
push 0x49e1b8
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 0x49e1b8
call fcn.0046b37b
add esp, 0x10
mov ecx, dword [ebp - 0x2326]
and ecx, 0xff
test ecx, ecx
je 0x4684ee
mov edx, dword [ebp - 0x2338]
and edx, 0xff
cmp edx, 2
je 0x4684ee
mov eax, 0x2320
call fcn.0049dcf0
mov ecx, 0x8c8
mov esi, 0x49e1b8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4a0700]
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 0x46855a
mov edx, dword [0x4a082c]
push edx
call fcn.0049d8c0
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 [0x4a082c]
push ecx
call fcn.0049d840
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x468587
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 [0x4a082c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [0x49e198], 0
je 0x4685a3
push 0x8000
push 0
mov eax, dword [0x4a082c]
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.00468b0b
add esp, 0x18
test eax, eax
jne 0x4685e5
push 0x8000
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x468a65
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], 0x4a082c
mov dword [ebp - 0x247c], 0x4a0710
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 0x468638
xor eax, eax
jmp 0x468a65
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x49e1b0], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x2488], 0
mov ecx, dword [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 0x4a04e8
mov eax, dword [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
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 [0x49e1b0]
sub ecx, dword [ebp - 0x2454]
sub ecx, 5
mov dword [0x4a04dc], ecx
mov edx, dword [ebp - 0x2454]
mov dword [ebp - 0x2490], edx
mov eax, dword [ebp - 0x2334]
add eax, dword [0x4a0720]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [0x49e1b0]
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 [0x49e1b0]
add ecx, dword [ebp - 0x2488]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x2484], 0xe9
push 4
push 0x4a04dc
lea edx, [ebp - 0x2483]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0x32
mov ecx, dword [ebp - 0x2490]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x4689b0
xor eax, eax
jmp 0x468a65
mov edx, dword [ebp - 0x2490]
mov dword [ebp - 0x2478], edx
mov eax, dword [ebp - 0x2478]
mov cl, byte [ebp - 0x2484]
mov byte [eax], cl
mov edx, dword [ebp - 0x2478]
add edx, 1
mov dword [ebp - 0x2478], edx
mov eax, dword [ebp - 0x2478]
mov cl, byte [ebp - 0x2483]
mov byte [eax], cl
mov edx, dword [ebp - 0x2478]
add edx, 1
mov dword [ebp - 0x2478], edx
mov eax, dword [ebp - 0x2478]
mov cl, byte [ebp - 0x2482]
mov byte [eax], cl
mov edx, dword [ebp - 0x2478]
add edx, 1
mov dword [ebp - 0x2478], edx
mov eax, dword [ebp - 0x2478]
mov cl, byte [ebp - 0x2481]
mov byte [eax], cl
mov edx, dword [ebp - 0x2478]
add edx, 1
mov dword [ebp - 0x2478], edx
mov eax, dword [ebp - 0x2478]
mov cl, byte [ebp - 0x2480]
mov byte [eax], cl
mov edx, dword [ebp - 0x2478]
add edx, 1
mov dword [ebp - 0x2478], edx
jmp 0x468a63
push 0x10
push 0x450778
push 0x450780
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret