Function at 0x4a6b80
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Check for peb ntglobalflag flag
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x408d86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4056d0
push 0
lea eax, [ebp - 0x2c]
push 0x4268e0
push eax
mov dword [ebp - 0x34], 0
call dword [sym.imp.MSVBVM60.DLL___vbaAryConstruct2]
mov eax, dword [ebp - 0x20]
mov ecx, 0x44
mov word [eax + 4], 0x3e8
mov word [eax], 0xb
mov word [eax + 2], cx
mov edx, dword [ebp - 0x20]
mov word [edx + 0xa], 0x3e9
mov word [edx + 6], 0xb
lea eax, [edx + 6]
mov word [eax + 2], 0x42
mov eax, dword [ebp - 0x20]
add eax, 0xc
mov word [eax + 4], 0x3ea
mov word [eax], 3
mov word [eax + 2], 0x7a
mov edx, dword [ebp - 0x20]
mov word [edx + 0x16], 0x3eb
mov word [edx + 0x12], 3
lea eax, [edx + 0x12]
mov word [eax + 2], 0x7b
mov eax, dword [ebp - 0x20]
add eax, 0x18
mov word [eax + 4], 0x3ec
mov word [eax], 0xb
mov word [eax + 2], 0x54
mov edx, dword [ebp - 0x20]
mov word [edx + 0x22], 0x3ed
mov word [edx + 0x1e], 0xb
lea eax, [edx + 0x1e]
mov word [eax + 2], 0x48
mov eax, dword [ebp - 0x20]
add eax, 0x24
mov word [eax + 4], 0x3ee
mov word [eax], 3
mov word [eax + 2], 0x74
mov edx, dword [ebp - 0x20]
mov word [edx + 0x2e], 0x3ef
mov word [edx + 0x2a], 3
lea eax, [edx + 0x2a]
mov word [eax + 2], 0x75
mov eax, dword [ebp - 0x20]
add eax, 0x30
mov word [eax + 4], 0x3f0
mov word [eax], 3
mov word [eax + 2], 0x76
mov edx, dword [ebp - 0x20]
mov word [edx + 0x3a], 0x3f1
mov word [edx + 0x36], 3
lea eax, [edx + 0x36]
mov word [eax + 2], 0x77
mov eax, dword [ebp - 0x20]
add eax, 0x3c
mov word [eax + 4], 0x3f2
mov word [eax], 3
mov word [eax + 2], 0x78
mov edx, dword [ebp - 0x20]
mov word [edx + 0x46], 0x3f3
mov word [edx + 0x42], 0xb
lea eax, [edx + 0x42]
mov word [eax + 2], 0x52
mov eax, dword [ebp - 0x20]
add eax, 0x48
mov word [eax + 4], 0x3f4
mov word [eax], 3
mov word [eax + 2], 0x72
mov edx, dword [ebp - 0x20]
mov word [edx + 0x52], 0x3f5
mov word [edx + 0x4e], 3
lea eax, [edx + 0x4e]
mov word [eax + 2], 0x73
mov eax, dword [ebp - 0x20]
mov word [eax + 0x58], 0x3f6
add eax, 0x54
mov word [eax], 0xb
mov word [eax + 2], 0x4d
mov edx, dword [ebp - 0x20]
mov word [edx + 0x5e], 0x3f7
mov word [edx + 0x5a], 0xb
mov word [edx + 0x5c], 0x47
lea eax, [edx + 0x5a]
mov eax, dword [ebp - 0x20]
mov word [eax + 0x64], 0x3f8
add eax, 0x60
mov word [eax], 0xb
mov word [eax + 2], 0x49
mov edx, dword [ebp - 0x20]
mov word [edx + 0x6a], 0x3f9
mov word [edx + 0x66], 3
mov word [edx + 0x68], 0x70
lea eax, [edx + 0x66]
mov eax, dword [ebp - 0x20]
mov word [eax + 0x70], 0x3fa
add eax, 0x6c
mov word [eax], 0xb
mov word [eax + 2], 0x50
mov edx, dword [ebp - 0x20]
mov word [edx + 0x76], 0x3fb
mov word [edx + 0x72], 0xb
mov word [edx + 0x74], 0x57
lea eax, [edx + 0x72]
mov eax, dword [ebp - 0x20]
mov word [eax + 0x7c], 0x3fc
add eax, 0x78
mov word [eax], 0xb
mov word [eax + 2], 0x25
mov edx, dword [ebp - 0x20]
mov word [edx + 0x82], 0x3fd
mov word [edx + 0x7e], 0xb
mov word [edx + 0x80], 0x27
lea eax, [edx + 0x7e]
mov eax, dword [ebp - 0x20]
mov word [eax + 0x88], 0x3fe
add eax, 0x84
mov word [eax], 0x13
mov word [eax + 2], cx
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.MSVBVM60.DLL_VarPtr]
push 0x17
push eax
call fcn.0041ac1c
mov dword [ebp - 0x34], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x34]
push 0x4a6e22
mov dword [ebp - 0x14], edx
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x2c]
push ecx
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.MSVBVM60.DLL___vbaAryDestruct]
ret