Function at 0x4014c3
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x27d8
call fcn.00444920
push esi
push edi
mov eax, dword [0x52d918]
mov dword [ebp - 0x2780], eax
mov dword [ebp - 0x277c], 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.00401e17
sub eax, 6
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x2778]
push edx
lea eax, [ebp - 0x2674]
push eax
push 0
call fcn.00410d17
add esp, 0x10
test eax, eax
je 0x401dfb
mov ecx, dword [ebp - 0x266f]
and ecx, 0xff
test ecx, ecx
je 0x401563
call fcn.0040eee7
test eax, eax
je 0x401563
push 0x10
push 0x4554c4
push 0x4554cc
push 0
call fcn.0041259f
add esp, 0x10
xor eax, eax
jmp 0x401e11
push 0x2658
lea edx, [ebp - 0x2674]
push edx
push 0x52b0b0
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x27b0], 4
mov byte [ebp - 0x27af], 8
mov byte [ebp - 0x27ae], 0
mov byte [ebp - 0x27ad], 0
mov byte [ebp - 0x27ac], 0xc8
mov byte [ebp - 0x27ab], 0
mov byte [ebp - 0x27aa], 0
mov byte [ebp - 0x27a9], 0
mov byte [ebp - 0x27a8], 0x18
mov byte [ebp - 0x27a7], 0x61
mov byte [ebp - 0x27a6], 0xe
mov byte [ebp - 0x27a5], 0
mov byte [ebp - 0x27a4], 0x22
mov byte [ebp - 0x27a3], 0
mov byte [ebp - 0x27a2], 0
mov byte [ebp - 0x27a1], 0
mov byte [ebp - 0x27a0], 0x90
mov byte [ebp - 0x279f], 0x66
mov byte [ebp - 0x279e], 0xe
mov byte [ebp - 0x279d], 0
mov byte [ebp - 0x279c], pe_nt_image_headers32
mov byte [ebp - 0x279b], 2
mov byte [ebp - 0x279a], 0
mov byte [ebp - 0x2799], 0
mov byte [ebp - 0x2798], 0
mov byte [ebp - 0x2797], 0
mov byte [ebp - 0x2796], 0
mov byte [ebp - 0x2795], 0
mov byte [ebp - 0x2794], 0
mov byte [ebp - 0x2793], 0
mov byte [ebp - 0x2792], 0
mov byte [ebp - 0x2791], 0
push 0x2658
lea eax, [ebp - 0x27b0]
push eax
push 0x64
push 0x52b0b0
call fcn.00402f15
add esp, 0x10
mov ecx, dword [ebp - 0x2646]
and ecx, 0xff
test ecx, ecx
je 0x4016b6
mov edx, dword [ebp - 0x266d]
and edx, 0xff
cmp edx, 2
je 0x4016b6
mov eax, 0x2658
call fcn.00444920
mov ecx, 0x996
mov esi, 0x52b0b0
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call dword [0x52dd00]
push 0x52b0b0
call dword [0x52dd34]
mov eax, dword [ebp - 4]
sub eax, 0x2658
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x264c]
and ecx, 0xff
test ecx, ecx
je 0x401745
mov dword [ebp - 0x27d8], 0
push 4
mov edx, dword [0x52da24]
push edx
lea eax, [ebp - 0x27d8]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 4
push 0x1000
mov ecx, dword [ebp - 0x27d8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
sub edx, 4
push edx
mov eax, dword [0x52da24]
add eax, 4
push eax
lea ecx, [ebp - 0x27d8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00418580
add esp, 0x10
mov eax, dword [ebp - 0x27d8]
mov dword [ebp - 4], eax
jmp 0x401771
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 [0x52da24]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp dword [0x52b0a8], 0
je 0x40178e
push 0x8000
push 0
mov edx, dword [0x52da24]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
lea eax, [ebp - 0x2778]
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 - 0x277c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00401eb7
add esp, 0x18
test eax, eax
jne 0x4017d0
push 0x8000
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x401e11
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 - 0x27d0], eax
mov dword [ebp - 0x2784], 0x52da24
mov dword [ebp - 0x27b8], 0x52dd10
lea edx, [ebp - 0x10]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2780]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x401823
xor eax, eax
jmp 0x401e11
push 0x40
push 0x1000
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x52b0ac], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [ebp - 0x27cc], 0
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
mov byte [eax], 0x6a
mov ecx, dword [ebp - 0x27cc]
add ecx, 1
mov dword [ebp - 0x27cc], ecx
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
mov byte [edx], 0
mov eax, dword [ebp - 0x27cc]
add eax, 1
mov dword [ebp - 0x27cc], eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x27cc]
add edx, 1
mov dword [ebp - 0x27cc], edx
push 4
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x27cc]
add edx, 4
mov dword [ebp - 0x27cc], edx
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x27cc]
add ecx, 1
mov dword [ebp - 0x27cc], ecx
push 4
push 0x52d710
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x27cc]
add eax, 4
mov dword [ebp - 0x27cc], eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
mov byte [ecx], 0x68
mov edx, dword [ebp - 0x27cc]
add edx, 1
mov dword [ebp - 0x27cc], edx
push 4
lea eax, [ebp - 0x2780]
push eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x27cc]
add edx, 4
mov dword [ebp - 0x27cc], edx
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x27cc]
add ecx, 1
mov dword [ebp - 0x27cc], ecx
push 4
lea edx, [ebp - 0x27d0]
push edx
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x27cc]
add ecx, 4
mov dword [ebp - 0x27cc], ecx
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
mov byte [edx], 0xff
mov eax, dword [ebp - 0x27cc]
add eax, 1
mov dword [ebp - 0x27cc], eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
mov byte [ecx], 0x15
mov edx, dword [ebp - 0x27cc]
add edx, 1
mov dword [ebp - 0x27cc], edx
push 4
lea eax, [ebp - 0x27b8]
push eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x27cc]
add edx, 4
mov dword [ebp - 0x27cc], edx
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
mov byte [eax], 0x68
mov ecx, dword [ebp - 0x27cc]
add ecx, 1
mov dword [ebp - 0x27cc], ecx
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
mov byte [edx], 0
mov eax, dword [ebp - 0x27cc]
add eax, 1
mov dword [ebp - 0x27cc], eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
mov byte [ecx], 0x80
mov edx, dword [ebp - 0x27cc]
add edx, 1
mov dword [ebp - 0x27cc], edx
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
mov byte [eax], 0
mov ecx, dword [ebp - 0x27cc]
add ecx, 1
mov dword [ebp - 0x27cc], ecx
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
mov byte [edx], 0
mov eax, dword [ebp - 0x27cc]
add eax, 1
mov dword [ebp - 0x27cc], eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
mov byte [ecx], 0x6a
mov edx, dword [ebp - 0x27cc]
add edx, 1
mov dword [ebp - 0x27cc], edx
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
mov byte [eax], 0
mov ecx, dword [ebp - 0x27cc]
add ecx, 1
mov dword [ebp - 0x27cc], ecx
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
mov byte [edx], 0x68
mov eax, dword [ebp - 0x27cc]
add eax, 1
mov dword [ebp - 0x27cc], eax
push 4
push 0x52d710
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x27cc]
add edx, 4
mov dword [ebp - 0x27cc], edx
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x27c0], eax
push str.VirtualFree
mov eax, dword [ebp - 0x27c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x27bc], eax
lea ecx, [ebp - 0x27bc]
mov dword [ebp - 0x2790], ecx
mov edx, dword [ebp - 0x27c0]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
mov byte [eax], 0xff
mov ecx, dword [ebp - 0x27cc]
add ecx, 1
mov dword [ebp - 0x27cc], ecx
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
mov byte [edx], 0x15
mov eax, dword [ebp - 0x27cc]
add eax, 1
mov dword [ebp - 0x27cc], eax
push 4
lea ecx, [ebp - 0x2790]
push ecx
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x27cc]
add eax, 4
mov dword [ebp - 0x27cc], eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x27cc]
add edx, 1
mov dword [ebp - 0x27cc], edx
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
mov byte [eax], 0xe5
mov ecx, dword [ebp - 0x27cc]
add ecx, 1
mov dword [ebp - 0x27cc], ecx
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
mov byte [edx], 0x5d
mov eax, dword [ebp - 0x27cc]
add eax, 1
mov dword [ebp - 0x27cc], eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
mov byte [ecx], 0x8b
mov edx, dword [ebp - 0x27cc]
add edx, 1
mov dword [ebp - 0x27cc], edx
mov eax, dword [0x52b0ac]
add eax, dword [ebp - 0x27cc]
mov byte [eax], 0xe5
mov ecx, dword [ebp - 0x27cc]
add ecx, 1
mov dword [ebp - 0x27cc], ecx
mov edx, dword [0x52b0ac]
add edx, dword [ebp - 0x27cc]
mov byte [edx], 0x5d
mov eax, dword [ebp - 0x27cc]
add eax, 1
mov dword [ebp - 0x27cc], eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
mov byte [ecx], 0xe9
mov edx, dword [ebp - 0x27cc]
add edx, 1
mov dword [ebp - 0x27cc], edx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x278c], eax
mov ecx, dword [0x52b0ac]
sub ecx, dword [ebp - 0x278c]
sub ecx, 5
mov dword [0x52d708], ecx
mov edx, dword [ebp - 0x278c]
mov dword [ebp - 0x27d4], edx
mov eax, dword [ebp - 0x2668]
add eax, dword [0x52d918]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [0x52b0ac]
mov edx, dword [ebp - 0x27cc]
add edx, 4
sub ecx, edx
mov dword [ebp - 0x2788], ecx
push 4
lea eax, [ebp - 0x2788]
push eax
mov ecx, dword [0x52b0ac]
add ecx, dword [ebp - 0x27cc]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [ebp - 0x27c8], 0xe9
push 4
push 0x52d708
lea edx, [ebp - 0x27c7]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0x32
mov ecx, dword [ebp - 0x27d4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x401d5c
xor eax, eax
jmp 0x401e11
mov edx, dword [ebp - 0x27d4]
mov dword [ebp - 0x27b4], edx
mov eax, dword [ebp - 0x27b4]
mov cl, byte [ebp - 0x27c8]
mov byte [eax], cl
mov edx, dword [ebp - 0x27b4]
add edx, 1
mov dword [ebp - 0x27b4], edx
mov eax, dword [ebp - 0x27b4]
mov cl, byte [ebp - 0x27c7]
mov byte [eax], cl
mov edx, dword [ebp - 0x27b4]
add edx, 1
mov dword [ebp - 0x27b4], edx
mov eax, dword [ebp - 0x27b4]
mov cl, byte [ebp - 0x27c6]
mov byte [eax], cl
mov edx, dword [ebp - 0x27b4]
add edx, 1
mov dword [ebp - 0x27b4], edx
mov eax, dword [ebp - 0x27b4]
mov cl, byte [ebp - 0x27c5]
mov byte [eax], cl
mov edx, dword [ebp - 0x27b4]
add edx, 1
mov dword [ebp - 0x27b4], edx
mov eax, dword [ebp - 0x27b4]
mov cl, byte [ebp - 0x27c4]
mov byte [eax], cl
mov edx, dword [ebp - 0x27b4]
add edx, 1
mov dword [ebp - 0x27b4], edx
jmp 0x401e0f
push 0x10
push 0x45550c
push str.Cant___from_Res_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret