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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x46c5b5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
xor eax, eax
push ebp
push 0x46c8bc
push dword fs:[eax]
mov dword fs:[eax], esp
xor edi, edi
push 0
push 0x16
push 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00465ba4
test al, al
je 0x46c857
mov eax, dword [0x59d948]
cmp byte [eax], 0
jne 0x46c8a1
push 0
lea edx, [ebp - 0x2e]
mov eax, dword [ebx + 8]
mov ecx, 0x16
call fcn.00424f6c
mov eax, dword [ebp - 0x2e]
cmp eax, 0x6054b20
je 0x46c628
cmp eax, 0x6054b50
jne 0x46c846
cmp word [ebp - 0x24], 0
jle 0x46c8a1
cmp dword [ebp - 0x1e], 0
jbe 0x46c8a1
mov eax, dword [ebx + 0x51c]
sub eax, 0x16
mov esi, dword [ebp - 0x1e]
sub eax, esi
inc eax
mov dword [ebp - 0x10], eax
mov eax, esi
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x51c]
sub eax, 0x16
xor edx, edx
push edx
push eax
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00465ba4
test al, al
je 0x46c7fa
mov eax, dword [ebx + 8]
call fcn.00424f9c
cmp eax, dword [ebp - 0x10]
je 0x46c6dc
push 0x46c8d4
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x38]
call fcn.00421f90
push dword [ebp - 0x38]
push 0x46c900
mov eax, dword [ebx + 8]
call fcn.00424f9c
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x3c]
call fcn.00421f90
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0x34]
mov eax, 0x46c918
call fcn.0046298c
mov eax, dword [ebx + 8]
mov edx, 0x46c930
call fcn.00425030
movsx eax, word [ebp - 0x24]
dec eax
test eax, eax
jl 0x46c8a1
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
mov eax, dword [0x59d948]
cmp byte [eax], 0
jne 0x46c8a1
mov edx, dword [0x469098]
mov eax, 0x50
call fcn.00406268
mov esi, eax
push edi
lea edx, [esi + 0x18]
mov eax, dword [ebx + 8]
mov ecx, 0x2e
call fcn.00424f6c
mov eax, dword [esi + 0x18]
cmp eax, 0x2014b50
je 0x46c785
cmp eax, 0x2014b20
je 0x46c785
push 0x46c948
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 8]
inc eax
call fcn.00421f58
push dword [ebp - 0x44]
push 0x46c954
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.00405720
mov edx, dword [ebp - 0x40]
mov eax, 0x46c918
call fcn.0046298c
mov eax, dword [ebx + 8]
mov edx, 0x46c930
call fcn.00425030
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x46c8a1
movzx eax, word [esi + 0x34]
mov word [ebp - 0xa], ax
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x2e]
movzx edx, word [ebp - 0xa]
mov eax, dword [ebx + 8]
call fcn.00425340
mov edx, dword [ebp - 0x48]
lea eax, [esi + 0x46]
call fcn.004053e0
add edi, 0x2e
movzx eax, word [ebp - 0xa]
add edi, eax
movzx eax, word [esi + 0x36]
add edi, eax
movzx eax, word [esi + 0x38]
add edi, eax
xor eax, eax
mov dword [esi + 0x4c], eax
xor eax, eax
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, esi
call fcn.00418608
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0x50
push esi
call sub.kernel32.dll_VirtualProtect
inc dword [ebp - 8]
dec dword [ebp - 0x18]
jne 0x46c6f4
jmp 0x46c8a1
push 0x46c96c
mov eax, dword [ebx + 0x520]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x50]
call fcn.00421f90
push dword [ebp - 0x50]
push 0x46c990
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 0x520]
call fcn.00462648
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0x4c]
mov eax, 0x46c918
call fcn.0046298c
jmp 0x46c8a1
mov edx, 0x46c9a0
mov eax, 0x46c918
call fcn.0046298c
jmp 0x46c8a1
push 0x46c9bc
mov eax, dword [ebx + 0x520]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x5c]
call fcn.00421f90
push dword [ebp - 0x5c]
push 0x46c990
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 0x520]
call fcn.00462648
push dword [ebp - 0x60]
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405720
mov edx, dword [ebp - 0x58]
mov eax, 0x46c918
call fcn.0046298c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c8c3
lea eax, [ebp - 0x60]
mov edx, 0xc
call fcn.004053b0
ret