Function at 0x453460
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402546
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402118
mov ecx, dword [0x475170]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
xor edi, edi
mov edx, 0x41b5a4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x6c], edi
call esi
mov eax, dword [0x475170]
mov edx, 0x41b650
lea ecx, [eax + 4]
call esi
mov ecx, dword [0x475170]
mov edx, 0x41b67c
add ecx, 8
call esi
mov eax, dword [0x475170]
mov edx, 0x41b6a0
lea ecx, [eax + 0xc]
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea ecx, [ebp - 0x2c]
push 0x22
push ecx
mov dword [ebp - 0x64], 0x41b6d0
mov dword [ebp - 0x6c], 8
call ebx
lea edx, [ebp - 0x4c]
push 0x22
push edx
call ebx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x3c]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
push eax
push ecx
call ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x14]
call ebx
mov edx, eax
mov eax, dword [0x475170]
lea ecx, [eax + 0x10]
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x2c]
push eax
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [0x475170]
add esp, 0x14
mov edx, 0x41b6f4
lea ecx, [eax + 0x14]
call esi
mov ecx, dword [0x475170]
mov edx, 0x41b718
add ecx, 0x18
call esi
mov eax, dword [0x475170]
mov edx, 0x417d60
lea ecx, [eax + 0x1c]
call esi
mov ecx, dword [0x475170]
mov edx, 0x41b730
add ecx, 0x20
call esi
mov eax, dword [0x475170]
mov edx, 0x417d70
lea ecx, [eax + 0x24]
call esi
mov ecx, dword [0x475170]
mov edx, 0x417d40
add ecx, 0x28
call esi
mov edx, dword [ebp + 8]
push 0x41b74c
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrI4]
mov edx, eax
lea ecx, [ebp - 0x14]
call ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edx, eax
lea ecx, [ebp - 0x18]
call ebx
mov edx, eax
mov eax, dword [0x475170]
lea ecx, [eax + 0x2c]
call esi
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x14]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
mov eax, dword [0x475170]
add esp, 0xc
mov edx, 0x41b778
lea ecx, [eax + 0x30]
call esi
mov ecx, dword [0x475170]
mov edx, 0x417d40
add ecx, 0x34
call esi
mov eax, dword [0x475170]
mov edx, 0x417ad8
lea ecx, [eax + 0x38]
call esi
mov eax, dword [0x475010]
mov dword [0x47517c], 0xffffffff
cmp eax, edi
jne 0x453661
push 0x475010
push 0x410828
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x475010]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x314]
lea edx, [ebp - 0x1c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov esi, eax
push 0xffffffffffffffff
push esi
mov eax, dword [esi]
call dword [eax + 0x5c]
cmp eax, edi
fnclex
jge 0x453694
push 0x5c
push 0x4178dc
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x4536dd
jmp 0x4536dc
ret