Function at 0x403be9
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2484
call fcn.0040bc80
mov eax, dword [0x411578]
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.00403b1b
add esp, 0x10
test eax, eax
je 0x4042ff
push 4
push 0x1000
mov ecx, dword [ebp - 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [0x411684]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040b860
add esp, 0xc
cmp dword [0x40efe0], 0
je 0x403c8f
push 0x8000
push 0
mov edx, dword [0x411684]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea eax, [ebp - 0x2448]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x244c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00404319
add esp, 0x18
test eax, eax
jne 0x403cd1
push 0x8000
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x404315
push 0x8000
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x2480], eax
mov dword [ebp - 0x2454], 0x411684
call fcn.00403bc4
mov dword [0x411334], eax
mov dword [ebp - 0x2468], 0x411334
lea edx, [ebp - 0x10]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2450]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x403d2e
xor eax, eax
jmp 0x404315
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x40eff8], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x247c], 0
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
mov byte [eax], 0x6a
mov ecx, dword [ebp - 0x247c]
add ecx, 1
mov dword [ebp - 0x247c], ecx
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
mov byte [edx], 0
mov eax, dword [ebp - 0x247c]
add eax, 1
mov dword [ebp - 0x247c], eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x247c]
add edx, 1
mov dword [ebp - 0x247c], edx
push 4
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
push ecx
call fcn.0040b860
add esp, 0xc
mov edx, dword [ebp - 0x247c]
add edx, 4
mov dword [ebp - 0x247c], edx
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x247c]
add ecx, 1
mov dword [ebp - 0x247c], ecx
push 4
push 0x41133c
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
push edx
call fcn.0040b860
add esp, 0xc
mov eax, dword [ebp - 0x247c]
add eax, 4
mov dword [ebp - 0x247c], eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x247c]
add edx, 1
mov dword [ebp - 0x247c], edx
push 4
lea eax, [ebp - 0x2450]
push eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
push ecx
call fcn.0040b860
add esp, 0xc
mov edx, dword [ebp - 0x247c]
add edx, 4
mov dword [ebp - 0x247c], edx
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x247c]
add ecx, 1
mov dword [ebp - 0x247c], ecx
push 4
lea edx, [ebp - 0x2480]
push edx
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
push eax
call fcn.0040b860
add esp, 0xc
mov ecx, dword [ebp - 0x247c]
add ecx, 4
mov dword [ebp - 0x247c], ecx
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
mov byte [edx], 0xff
mov eax, dword [ebp - 0x247c]
add eax, 1
mov dword [ebp - 0x247c], eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
mov byte [ecx], 0x15
mov edx, dword [ebp - 0x247c]
add edx, 1
mov dword [ebp - 0x247c], edx
push 4
lea eax, [ebp - 0x2468]
push eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
push ecx
call fcn.0040b860
add esp, 0xc
mov edx, dword [ebp - 0x247c]
add edx, 4
mov dword [ebp - 0x247c], edx
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x247c]
add ecx, 1
mov dword [ebp - 0x247c], ecx
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
mov byte [edx], 0
mov eax, dword [ebp - 0x247c]
add eax, 1
mov dword [ebp - 0x247c], eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
mov byte [ecx], 0x80
mov edx, dword [ebp - 0x247c]
add edx, 1
mov dword [ebp - 0x247c], edx
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x247c]
add ecx, 1
mov dword [ebp - 0x247c], ecx
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
mov byte [edx], 0
mov eax, dword [ebp - 0x247c]
add eax, 1
mov dword [ebp - 0x247c], eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
mov byte [ecx], 0x6a
mov edx, dword [ebp - 0x247c]
add edx, 1
mov dword [ebp - 0x247c], edx
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x247c]
add ecx, 1
mov dword [ebp - 0x247c], ecx
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x247c]
add eax, 1
mov dword [ebp - 0x247c], eax
push 4
push 0x41133c
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
push ecx
call fcn.0040b860
add esp, 0xc
mov edx, dword [ebp - 0x247c]
add edx, 4
mov dword [ebp - 0x247c], edx
push 0x401484
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x2470], eax
push 0x401494
mov eax, dword [ebp - 0x2470]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x246c], eax
lea ecx, [ebp - 0x246c]
mov dword [ebp - 0x2460], ecx
mov edx, dword [ebp - 0x2470]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
mov byte [eax], 0xff
mov ecx, dword [ebp - 0x247c]
add ecx, 1
mov dword [ebp - 0x247c], ecx
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
mov byte [edx], 0x15
mov eax, dword [ebp - 0x247c]
add eax, 1
mov dword [ebp - 0x247c], eax
push 4
lea ecx, [ebp - 0x2460]
push ecx
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
push edx
call fcn.0040b860
add esp, 0xc
mov eax, dword [ebp - 0x247c]
add eax, 4
mov dword [ebp - 0x247c], eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x247c]
add edx, 1
mov dword [ebp - 0x247c], edx
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
mov byte [eax], 0xe5
mov ecx, dword [ebp - 0x247c]
add ecx, 1
mov dword [ebp - 0x247c], ecx
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
mov byte [edx], 0x5d
mov eax, dword [ebp - 0x247c]
add eax, 1
mov dword [ebp - 0x247c], eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x247c]
add edx, 1
mov dword [ebp - 0x247c], edx
mov eax, dword [0x40eff8]
add eax, dword [ebp - 0x247c]
mov byte [eax], 0xe5
mov ecx, dword [ebp - 0x247c]
add ecx, 1
mov dword [ebp - 0x247c], ecx
mov edx, dword [0x40eff8]
add edx, dword [ebp - 0x247c]
mov byte [edx], 0x5d
mov eax, dword [ebp - 0x247c]
add eax, 1
mov dword [ebp - 0x247c], eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 0x247c]
add edx, 1
mov dword [ebp - 0x247c], edx
mov eax, dword [0x41156c]
mov dword [ebp - 0x245c], eax
mov ecx, dword [0x40eff8]
sub ecx, dword [ebp - 0x245c]
sub ecx, 5
mov dword [0x411330], ecx
mov edx, dword [ebp - 0x245c]
mov dword [ebp - 0x2484], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [0x40eff8]
mov edx, dword [ebp - 0x247c]
add edx, 4
sub ecx, edx
mov dword [ebp - 0x2458], ecx
push 4
lea eax, [ebp - 0x2458]
push eax
mov ecx, dword [0x40eff8]
add ecx, dword [ebp - 0x247c]
push ecx
call fcn.0040b860
add esp, 0xc
mov byte [ebp - 0x2478], 0xe9
push 4
push 0x411330
lea edx, [ebp - 0x2477]
push edx
call fcn.0040b860
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0x32
mov ecx, dword [ebp - 0x2484]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x404260
xor eax, eax
jmp 0x404315
mov edx, dword [ebp - 0x2484]
mov dword [ebp - 0x2464], edx
mov eax, dword [ebp - 0x2464]
mov cl, byte [ebp - 0x2478]
mov byte [eax], cl
mov edx, dword [ebp - 0x2464]
add edx, 1
mov dword [ebp - 0x2464], edx
mov eax, dword [ebp - 0x2464]
mov cl, byte [ebp - 0x2477]
mov byte [eax], cl
mov edx, dword [ebp - 0x2464]
add edx, 1
mov dword [ebp - 0x2464], edx
mov eax, dword [ebp - 0x2464]
mov cl, byte [ebp - 0x2476]
mov byte [eax], cl
mov edx, dword [ebp - 0x2464]
add edx, 1
mov dword [ebp - 0x2464], edx
mov eax, dword [ebp - 0x2464]
mov cl, byte [ebp - 0x2475]
mov byte [eax], cl
mov edx, dword [ebp - 0x2464]
add edx, 1
mov dword [ebp - 0x2464], edx
mov eax, dword [ebp - 0x2464]
mov cl, byte [ebp - 0x2474]
mov byte [eax], cl
mov edx, dword [ebp - 0x2464]
add edx, 1
mov dword [ebp - 0x2464], edx
jmp 0x404313
push 0x10
push 0x4014a0
push 0x4014a8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov esp, ebp
pop ebp
ret