Function at 0x4742d5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x24a8
call fcn.004afd90
push esi
push edi
mov eax, dword [0x4b27e0]
mov dword [ebp - 0x2450], eax
mov dword [ebp - 0x244c], 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
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x2448]
push edx
lea eax, [ebp - 0x2344]
push eax
push 0
call fcn.00473cc8
add esp, 0x10
test eax, eax
je 0x474be2
mov ecx, dword [ebp - 0x2342]
and ecx, 0xff
test ecx, ecx
je 0x47436a
call fcn.0047322e
test eax, eax
je 0x47436a
push 0x10
push 0x45075c
push 0x450764
push 0
call fcn.00473c2a
add esp, 0x10
xor eax, eax
jmp 0x474bf8
push 0x232c
lea edx, [ebp - 0x2344]
push edx
push 0x4b0268
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x2480], 4
mov byte [ebp - 0x247f], 8
mov byte [ebp - 0x247e], 0
mov byte [ebp - 0x247d], 0
mov byte [ebp - 0x247c], 0xc8
mov byte [ebp - 0x247b], 0
mov byte [ebp - 0x247a], 0
mov byte [ebp - 0x2479], 0
mov byte [ebp - 0x2478], 0x18
mov byte [ebp - 0x2477], 0x61
mov byte [ebp - 0x2476], 0xe
mov byte [ebp - 0x2475], 0
mov byte [ebp - 0x2474], 0x22
mov byte [ebp - 0x2473], 0
mov byte [ebp - 0x2472], 0
mov byte [ebp - 0x2471], 0
mov byte [ebp - 0x2470], 0x90
mov byte [ebp - 0x246f], 0x66
mov byte [ebp - 0x246e], 0xe
mov byte [ebp - 0x246d], 0
mov byte [ebp - 0x246c], 0xe8
mov byte [ebp - 0x246b], 2
mov byte [ebp - 0x246a], 0
mov byte [ebp - 0x2469], 0
mov byte [ebp - 0x2468], 0
mov byte [ebp - 0x2467], 0
mov byte [ebp - 0x2466], 0
mov byte [ebp - 0x2465], 0
mov byte [ebp - 0x2464], 0
mov byte [ebp - 0x2463], 0
mov byte [ebp - 0x2462], 0
mov byte [ebp - 0x2461], 0
push 0x232c
lea eax, [ebp - 0x2480]
push eax
push 0x64
push 0x4b0268
call fcn.004773db
add esp, 0x10
mov ecx, dword [ebp - 0x232e]
and ecx, 0xff
test ecx, ecx
je 0x4744bd
mov edx, dword [ebp - 0x2340]
and edx, 0xff
cmp edx, 2
je 0x4744bd
mov eax, 0x232c
call fcn.004afd90
mov ecx, 0x8cb
mov esi, 0x4b0268
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x4b27bc]
mov eax, dword [ebp - 4]
sub eax, 0x232c
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x2334]
and ecx, 0xff
test ecx, ecx
je 0x474529
mov edx, dword [0x4b28ec]
push edx
call fcn.004af960
add esp, 4
mov dword [ebp - 0x24a8], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x24a8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24a8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x4b28ec]
push ecx
call fcn.004af8e0
add esp, 0x10
mov dword [ebp - 4], eax
jmp 0x474556
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 [0x4b28ec]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [0x4b0248], 0
je 0x474572
push 0x8000
push 0
mov eax, dword [0x4b28ec]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea ecx, [ebp - 0x2448]
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 - 0x244c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00474bfe
add esp, 0x18
test eax, eax
jne 0x4745b4
push 0x8000
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x474bf8
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 - 0x24a0], eax
mov dword [ebp - 0x2454], 0x4b28ec
mov dword [ebp - 0x2488], 0x4b27cc
lea eax, [ebp - 0x10]
push eax
push 0x40
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x2450]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x474607
xor eax, eax
jmp 0x474bf8
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x4b0260], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x249c], 0
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
mov byte [ecx], 0x6a
mov edx, dword [ebp - 0x249c]
add edx, 1
mov dword [ebp - 0x249c], edx
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x249c]
add ecx, 1
mov dword [ebp - 0x249c], ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x249c]
add eax, 1
mov dword [ebp - 0x249c], eax
push 4
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x249c]
add eax, 4
mov dword [ebp - 0x249c], eax
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x249c]
add edx, 1
mov dword [ebp - 0x249c], edx
push 4
push 0x4b25a4
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x249c]
add ecx, 4
mov dword [ebp - 0x249c], ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x249c]
add eax, 1
mov dword [ebp - 0x249c], eax
push 4
lea ecx, [ebp - 0x2450]
push ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x249c]
add eax, 4
mov dword [ebp - 0x249c], eax
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x249c]
add edx, 1
mov dword [ebp - 0x249c], edx
push 4
lea eax, [ebp - 0x24a0]
push eax
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x249c]
add edx, 4
mov dword [ebp - 0x249c], edx
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
mov byte [eax], 0xff
mov ecx, dword [ebp - 0x249c]
add ecx, 1
mov dword [ebp - 0x249c], ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
mov byte [edx], 0x15
mov eax, dword [ebp - 0x249c]
add eax, 1
mov dword [ebp - 0x249c], eax
push 4
lea ecx, [ebp - 0x2488]
push ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x249c]
add eax, 4
mov dword [ebp - 0x249c], eax
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x249c]
add edx, 1
mov dword [ebp - 0x249c], edx
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x249c]
add ecx, 1
mov dword [ebp - 0x249c], ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
mov byte [edx], 0x80
mov eax, dword [ebp - 0x249c]
add eax, 1
mov dword [ebp - 0x249c], eax
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x249c]
add edx, 1
mov dword [ebp - 0x249c], edx
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x249c]
add ecx, 1
mov dword [ebp - 0x249c], ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
mov byte [edx], 0x6a
mov eax, dword [ebp - 0x249c]
add eax, 1
mov dword [ebp - 0x249c], eax
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
mov byte [ecx], 0
mov edx, dword [ebp - 0x249c]
add edx, 1
mov dword [ebp - 0x249c], edx
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x249c]
add ecx, 1
mov dword [ebp - 0x249c], ecx
push 4
push 0x4b25a4
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x249c]
add eax, 4
mov dword [ebp - 0x249c], eax
push 0x450788
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2490], eax
push 0x450798
mov ecx, dword [ebp - 0x2490]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x248c], eax
lea edx, [ebp - 0x248c]
mov dword [ebp - 0x2460], edx
mov eax, dword [ebp - 0x2490]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
mov byte [ecx], 0xff
mov edx, dword [ebp - 0x249c]
add edx, 1
mov dword [ebp - 0x249c], edx
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
mov byte [eax], 0x15
mov ecx, dword [ebp - 0x249c]
add ecx, 1
mov dword [ebp - 0x249c], ecx
push 4
lea edx, [ebp - 0x2460]
push edx
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x249c]
add ecx, 4
mov dword [ebp - 0x249c], ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
mov byte [edx], 0x8b
mov eax, dword [ebp - 0x249c]
add eax, 1
mov dword [ebp - 0x249c], eax
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
mov byte [ecx], 0xe5
mov edx, dword [ebp - 0x249c]
add edx, 1
mov dword [ebp - 0x249c], edx
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
mov byte [eax], 0x5d
mov ecx, dword [ebp - 0x249c]
add ecx, 1
mov dword [ebp - 0x249c], ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
mov byte [edx], 0x8b
mov eax, dword [ebp - 0x249c]
add eax, 1
mov dword [ebp - 0x249c], eax
mov ecx, dword [0x4b0260]
add ecx, dword [ebp - 0x249c]
mov byte [ecx], 0xe5
mov edx, dword [ebp - 0x249c]
add edx, 1
mov dword [ebp - 0x249c], edx
mov eax, dword [0x4b0260]
add eax, dword [ebp - 0x249c]
mov byte [eax], 0x5d
mov ecx, dword [ebp - 0x249c]
add ecx, 1
mov dword [ebp - 0x249c], ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
mov byte [edx], 0xe9
mov eax, dword [ebp - 0x249c]
add eax, 1
mov dword [ebp - 0x249c], eax
mov ecx, dword [0x4b27d4]
mov dword [ebp - 0x245c], ecx
mov edx, dword [0x4b0260]
sub edx, dword [ebp - 0x245c]
sub edx, 5
mov dword [0x4b2598], edx
mov eax, dword [ebp - 0x245c]
mov dword [ebp - 0x24a4], eax
mov ecx, dword [ebp - 0x233c]
add ecx, dword [0x4b27e0]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
sub edx, dword [0x4b0260]
mov eax, dword [ebp - 0x249c]
add eax, 4
sub edx, eax
mov dword [ebp - 0x2458], edx
push 4
lea ecx, [ebp - 0x2458]
push ecx
mov edx, dword [0x4b0260]
add edx, dword [ebp - 0x249c]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x2498], 0xe9
push 4
push 0x4b2598
lea eax, [ebp - 0x2497]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
push 0x40
push 0x32
mov edx, dword [ebp - 0x24a4]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x474b43
xor eax, eax
jmp 0x474bf8
mov eax, dword [ebp - 0x24a4]
mov dword [ebp - 0x2484], eax
mov ecx, dword [ebp - 0x2484]
mov dl, byte [ebp - 0x2498]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2484]
add eax, 1
mov dword [ebp - 0x2484], eax
mov ecx, dword [ebp - 0x2484]
mov dl, byte [ebp - 0x2497]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2484]
add eax, 1
mov dword [ebp - 0x2484], eax
mov ecx, dword [ebp - 0x2484]
mov dl, byte [ebp - 0x2496]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2484]
add eax, 1
mov dword [ebp - 0x2484], eax
mov ecx, dword [ebp - 0x2484]
mov dl, byte [ebp - 0x2495]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2484]
add eax, 1
mov dword [ebp - 0x2484], eax
mov ecx, dword [ebp - 0x2484]
mov dl, byte [ebp - 0x2494]
mov byte [ecx], dl
mov eax, dword [ebp - 0x2484]
add eax, 1
mov dword [ebp - 0x2484], eax
jmp 0x474bf6
push 0x10
push 0x4507a4
push 0x4507ac
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret