Function at 0x404910
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x401396
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4012a0
mov ecx, 6
xor eax, eax
lea edi, [ebp - 0x44]
mov ebx, dword [sym.imp.MSVBVM60.DLL_GetMem4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
xor esi, esi
mov ecx, edi
lea eax, [ebp - 0x2c]
add ecx, 0x3c
push eax
jo 0x404bb2
push ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
call ebx
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x14]
add eax, 0x80
push edx
jo 0x404bb2
add eax, edi
jo 0x404bb2
push eax
call ebx
mov eax, dword [ebp - 0x14]
mov ecx, eax
add ecx, edi
jo 0x404bb2
sub ecx, 4
jo 0x404bb2
mov dword [ebp - 0x20], ecx
add eax, 0x10
lea ecx, [ebp - 0x2c]
jo 0x404bb2
add eax, edi
push ecx
jo 0x404bb2
push eax
call ebx
mov ecx, dword [ebp - 0x2c]
cmp ecx, esi
jle 0x4049da
mov esi, ecx
mov eax, dword [ebp - 0x14]
add eax, 0x14
jo 0x404bb2
test ecx, ecx
mov dword [ebp - 0x14], eax
jne 0x4049b9
mov eax, esi
lea edx, [ebp - 0x2c]
add eax, edi
push edx
jo 0x404bb2
push eax
call ebx
mov eax, dword [ebp - 0x2c]
add esi, 4
jo 0x404bb2
test eax, eax
jne 0x4049ed
add esi, edi
jo 0x404bb2
mov edi, esi
mov esi, dword [ebp - 0x20]
cmp esi, edi
mov dword [ebp - 0x24], edi
jl 0x404b5a
mov ecx, 1
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x44], cx
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
sub esi, edi
lea ecx, [ebp - 0x44]
jo 0x404bb2
add esi, 5
push ecx
jo 0x404bb2
mov word [ebp - 0x42], ax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], esi
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
mov dword [ebp - 0x60], eax
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x18]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryMove]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x18]
sub eax, 5
jo 0x404bb2
mov dword [ebp - 0x6c], eax
xor esi, esi
cmp esi, eax
jg 0x404b5a
test ecx, ecx
je 0x404ab2
cmp word [ecx], 1
jne 0x404ab2
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov edi, esi
sub edi, edx
cmp edi, eax
jb 0x404aab
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x18]
mov eax, edi
mov edi, dword [ebp - 0x24]
jmp 0x404abb
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
cmp byte [edx + eax], 0x68
jne 0x404b41
lea eax, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryLock]
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x404b03
cmp word [ecx], 1
jne 0x404b03
mov edx, dword [ecx + 0x14]
mov eax, dword [ecx + 0x10]
mov edi, esi
add edi, 1
jo 0x404bb2
sub edi, edx
cmp edi, eax
jb 0x404afc
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x4c]
mov eax, edi
mov edi, dword [ebp - 0x24]
jmp 0x404b0c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0xc]
lea edx, [ebp - 0x2c]
add ecx, eax
push edx
push ecx
call ebx
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaAryUnlock]
mov eax, dword [ebp - 0x2c]
cmp eax, edi
jl 0x404b3e
cmp eax, dword [ebp - 0x20]
jge 0x404b3e
lea ecx, [ebp - 0x1c]
push ecx
push eax
call ebx
cmp dword [ebp - 0x1c], 0x21354256
je 0x404b54
mov ecx, dword [ebp - 0x18]
mov eax, 1
add eax, esi
jo 0x404bb2
mov esi, eax
mov eax, dword [ebp - 0x6c]
jmp 0x404a82
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], edx
push 0x404b9c
jmp 0x404b8f
lea edx, [ebp - 0x18]
push edx
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop
nop
nop