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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x41a6d3
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
cmp eax, edi
je 0x41a6dc
mov dword [eax], edi
mov ebx, dword [ebp + 0x18]
cmp ebx, edi
je 0x41a6e5
mov dword [ebx], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4289bc], eax
je 0x41a6fd
mov eax, 0x10dd
jmp 0x41a8f4
mov eax, dword [0x4289c0]
cmp eax, edi
jne 0x41a8f4
mov ecx, dword [ebp + 8]
cmp ecx, edi
jne 0x41a719
push 6
pop eax
jmp 0x41a8f4
mov eax, dword [ecx]
cmp eax, edi
push esi
jne 0x41a72d
push 6
pop eax
mov dword [0x4289c0], eax
jmp 0x41a8a8
push edi
push eax
mov dword [ebp + 0x18], edi
call fcn.0041a2e6
push 0
push dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 8], esi
call fcn.0041a2e6
cmp eax, esi
mov dword [ebp + 0xc], eax
jne 0x41a75f
cmp dword [0x4289b8], 0
jne 0x41a8a2
jmp 0x41a882
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x41a768
mov dword [ecx], esi
test ebx, ebx
je 0x41a76e
mov dword [ebx], eax
push 0x18
call fcn.00418d33
test eax, eax
pop ecx
mov dword [ebp + 0x18], eax
je 0x41a78a
mov eax, esi
call fcn.0041a078
mov edi, eax
test edi, edi
jne 0x41a796
mov dword [ebp - 4], 8
jmp 0x41a882
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41a79f
mov dword [eax], edi
mov eax, esi
xor ebx, ebx
jmp 0x41a7a8
mov eax, dword [ebp + 0x10]
and dword [ebp + 0x14], 0
lea ecx, [ebp + 0x14]
push ecx
push 0
push eax
mov dword [ebp - 4], eax
lea eax, [ebx + edi]
push eax
call fcn.0041ab29
cmp dword [ebp + 0x14], 0
mov dword [ebp + 0x10], eax
jne 0x41a7de
push dword [ebp - 4]
mov ebx, eax
sub ebx, esi
call fcn.0041a002
test eax, eax
pop ecx
jne 0x41a7de
cmp ebx, 5
jl 0x41a7a5
cmp ebx, 5
jge 0x41a7fc
cmp dword [0x4289b8], 0
mov dword [ebp - 4], 9
jne 0x41a88a
jmp 0x41a882
cmp ebx, 0x12
jbe 0x41a80a
mov dword [ebp - 4], 6
jmp 0x41a882
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x1c], eax
lea ecx, [ebx + esi]
lea edx, [edi + 0x17]
lea eax, [ebx + edi]
mov dword [edi + 0x18], ecx
lea esi, [eax + 5]
mov byte [edx], bl
mov byte [eax], 0xe9
inc eax
sub ecx, esi
mov dword [eax], ecx
push edx
add eax, 4
push eax
call fcn.00419f7c
and dword [ebp - 0xc], 0
pop ecx
pop ecx
lea eax, [ebp - 0xc]
push eax
push 0x40
push ebx
push dword [ebp - 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
test eax, eax
je 0x41a879
push dword [ebp - 8]
call fcn.0041a283
mov esi, eax
test esi, esi
pop ecx
je 0x41a8c8
cmp word [esi + 0x1c], 0x6544
je 0x41a8c8
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x40
push 0x40
push esi
call ebx
test eax, eax
jne 0x41a8b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [0x4289c0], eax
test edi, edi
je 0x41a893
call fcn.0041a262
cmp dword [ebp + 0x18], 0
je 0x41a8a2
push dword [ebp + 0x18]
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [0x4289c4], ecx
jmp 0x41a8f3
mov word [esi + 0x1c], 0x6544
mov word [esi + 0x1e], 0x6f74
mov word [esi + 0x20], 0x7275
mov word [esi + 0x22], 0x2173
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
and dword [eax + 4], 0
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x4289cc]
mov dword [eax], ecx
mov dword [0x4289cc], eax
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret 0x14