Function at 0x11004c50
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x11001476
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xd8
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x110013f8
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
lea eax, [ebp - 0x30]
mov dword [ebp - 0x9c], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], 0xc
mov dword [ebp - 4], 5
mov edx, dword [ebp - 0x9c]
mov dword [edx + 8], 1
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x9c]
mov dword [eax + 4], 0
mov dword [ebp - 4], 7
mov dword [ebp - 0x9c], 0
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 9
mov edx, dword [ebp - 0xa0]
mov dword [edx], 0x44
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0xa0]
mov dword [eax + 0x2c], 1
mov dword [ebp - 4], 0xb
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ecx, dword [ebp - 0xa0]
mov word [ecx + 0x30], ax
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 0xd
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0xe4]
push ecx
push 0x110021f8
call dword [sym.imp.MSVBVM60.DLL___vbaRecUniToAnsi]
push eax
push 0
push 0
push 0x20
push 1
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0x11002774
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
lea edx, [ebp - 0x94]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.11002254
mov dword [ebp - 0x98], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push 0x110021f8
call dword [sym.imp.MSVBVM60.DLL___vbaRecAnsiToUni]
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x90]
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
lea edx, [ebp - 0xe4]
push edx
push 0x110021f8
call dword [sym.imp.MSVBVM60.DLL___vbaRecDestructAnsi]
mov dword [ebp - 4], 0xe
movsx eax, word [ebp + 0xc]
test eax, eax
je 0x11004e59
mov dword [ebp - 4], 0xf
push 0xffff
mov ecx, dword [ebp - 0x8c]
push ecx
call fcn.110022e4
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0x12
mov eax, dword [ebp - 0x8c]
push eax
call fcn.11002298
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.11002298
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x11004ee7
jmp 0x11004ebc
lea ecx, [ebp - 0xe4]
push ecx
push 0x110021f8
call dword [sym.imp.MSVBVM60.DLL___vbaRecDestructAnsi]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x7c]
push edx
push 0x110021f8
call dword [sym.imp.MSVBVM60.DLL___vbaRecDestruct]
ret