Function at 0x40bd88
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x40bd8c
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x64]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
neg edi
add esp, 0xc
test di, di
je 0x40bfbd
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcGetPresentDate]
mov ecx, dword [esi]
push 0x406038
push 0
push 3
push esi
call dword [ecx + 0x31c]
lea edx, [ebp - 0x6c]
push eax
push edx
call ebx
push eax
lea eax, [ebp - 0xe4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea ecx, [ebp - 0x70]
push eax
push ecx
call ebx
mov edi, eax
mov eax, 2
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf4], eax
mov edx, dword [edi]
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0xf4]
push eax
push ecx
push edi
call dword [edx + 0x24]
test eax, eax
fnclex
jge 0x40be31
push 0x24
push 0x406038
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edi, dword [ebp - 0x74]
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xfc], 0x40618c
mov dword [ebp - 0x104], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 1
lea edx, [ebp - 0x94]
push 1
lea eax, [ebp - 0x84]
push edx
lea ecx, [ebp - 0xa4]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
mov edx, dword [esi]
push esi
call dword [edx + 0x314]
push eax
lea eax, [ebp - 0x64]
push eax
call ebx
mov esi, eax
lea edx, [ebp - 0x68]
push edx
push 6
mov ecx, dword [esi]
push esi
call dword [ecx + 0x40]
test eax, eax
fnclex
jge 0x40beac
push 0x40
push 0x40609c
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x40bed0
push 0x50
push 0x406284
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov dword [ebp - 0xac], eax
mov eax, 8
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xb4]
push eax
lea edx, [ebp - 0xc4]
push ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x10c], 0x4062ac
mov ebx, dword [edi]
push edx
call esi
push eax
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0xd4]
push eax
push ecx
call esi
lea edx, [ebp - 0x4c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push edi
call dword [ebx + 0x20]
test eax, eax
fnclex
jge 0x40bf50
push 0x20
push 0x406048
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x70]
push eax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x64]
push eax
push ecx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0xd4]
lea eax, [ebp - 0xf4]
push edx
lea ecx, [ebp - 0xe4]
push eax
lea edx, [ebp - 0xc4]
push ecx
lea eax, [ebp - 0xb4]
push edx
lea ecx, [ebp - 0xa4]
push eax
lea edx, [ebp - 0x94]
push ecx
lea eax, [ebp - 0x84]
push edx
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x3c
jmp 0x40dc90
mov eax, dword [0x4114c0]
test eax, eax
jne 0x40bfd6
push 0x4114c0
push 0x406010
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x4114c0]
lea edx, [ebp - 0x64]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x40bffb
push 0x14
push 0x406000
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x40c01f
push 0x50
push 0x406020
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [esi]
push esi
call dword [eax + 0x300]
lea ecx, [ebp - 0x68]
push eax
push ecx
call ebx
mov ebx, eax
lea eax, [ebp - 0x4c]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0xa8]
test eax, eax
fnclex
jge 0x40c056
push 0xa8
push 0x4060bc
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x48]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push ecx
push 0x406220
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x50]
call edi
mov edx, dword [ebp - 0x4c]
push eax
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
push eax
push 0x4061fc
call ebx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x84]
push 0
push eax
mov dword [ebp - 0x84], 8
call dword [sym.imp.MSVBVM60.DLL_rtcDir]
mov edx, eax
lea ecx, [ebp - 0x58]
call edi
push eax
push 0x405f70
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov edi, eax
lea ecx, [ebp - 0x58]
lea edx, [ebp - 0x54]
push ecx
neg edi
lea eax, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x50]
push eax
sbb edi, edi
lea edx, [ebp - 0x48]
push ecx
push edx
neg edi
push 5
neg edi
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x64]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0x24
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
test di, di
je 0x40c224
mov eax, dword [0x4114c0]
test eax, eax
jne 0x40c120
push 0x4114c0
push 0x406010
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x4114c0]
lea eax, [ebp - 0x64]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x40c145
push 0x14
push 0x406000
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x40c169
push 0x50
push 0x406020
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [esi]
push esi
call dword [eax + 0x300]
lea ecx, [ebp - 0x68]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0xa8]
test eax, eax
fnclex
jge 0x40c1a4
push 0xa8
push 0x4060bc
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x48]
push ecx
push 0x406220
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x50]
call edi
mov edx, dword [ebp - 0x4c]
push eax
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
push eax
push 0x4061fc
call ebx
mov edx, eax
lea ecx, [ebp - 0x30]
call edi
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
push ecx
lea eax, [ebp - 0x48]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x64]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0x20
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x104], 0x4008
push ecx
mov dword [ebp - 0xfc], eax
call dword [sym.imp.MSVBVM60.DLL_rtcKillFiles]
mov eax, dword [0x4114c0]
test eax, eax
jne 0x40c23d
push 0x4114c0
push 0x406010
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x4114c0]
lea eax, [ebp - 0x64]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x40c262
push 0x14
push 0x406000
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x40c286
push 0x50
push 0x406020
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [esi]
push esi
call dword [eax + 0x300]
lea ecx, [ebp - 0x68]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0xa8]
test eax, eax
fnclex
jge 0x40c2c1
push 0xa8
push 0x4060bc
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x48]
push ecx
push 0x406220
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x50]
call edi
mov edx, dword [ebp - 0x4c]
push eax
push edx
call ebx
mov edx, eax
lea ecx, [ebp - 0x54]
call edi
push eax
push 0x4061fc
call ebx
mov edx, eax
lea ecx, [ebp - 0x58]
call edi
push eax
push 1
mov edi, 8
push 0xffffffffffffffff
push edi
call dword [sym.imp.MSVBVM60.DLL___vbaFileOpen]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x54]
push eax
lea edx, [ebp - 0x4c]
push ecx
lea eax, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x48]
push eax
push ecx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x64]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0x24
mov eax, 2
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x124], eax
lea edx, [ebp - 0x114]
push ecx
lea eax, [ebp - 0x124]
push edx
lea ecx, [ebp - 0x1b4]
push eax
lea edx, [ebp - 0x1a4]
push ecx
lea eax, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0xfc], 1
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x11c], 0
call dword [sym.imp.MSVBVM60.DLL___vbaVarForInit]
test eax, eax
je 0x40c4d7
mov ecx, dword [esi]
push esi
call dword [ecx + 0x314]
lea edx, [ebp - 0x64]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov ebx, eax
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x24]
push eax
mov edi, dword [ebx]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
push eax
push ebx
call dword [edi + 0x40]
test eax, eax
fnclex
jge 0x40c3dc
push 0x40
push 0x40609c
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x48]
push ecx
push eax
mov edx, dword [eax]
mov edi, eax
call dword [edx + 0x50]
test eax, eax
fnclex
jge 0x40c400
push 0x50
push 0x406284
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [esi]
push esi
call dword [edx + 0x2fc]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x70]
mov edi, eax
lea edx, [ebp - 0x24]
push ecx
mov ebx, dword [edi]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaI2Var]
push eax
push edi
call dword [ebx + 0x40]
test eax, eax
fnclex
jge 0x40c440
push 0x40
push 0x40609c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x4c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0xa0]
test eax, eax
fnclex
jge 0x40c46a
push 0xa0
push 0x4060ac
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
push eax
push 0x406244
push ecx
push 1
push 0x4062d0
call dword [sym.imp.MSVBVM60.DLL___vbaPrintFile]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x48]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x68]
push edx
lea ecx, [ebp - 0x64]
push eax
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0x34
lea edx, [ebp - 0x1b4]
lea eax, [ebp - 0x1a4]
lea ecx, [ebp - 0x24]
push edx
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForNext]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
mov edi, 8
jmp 0x40c394
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaFileClose]
lea edx, [ebp - 0x104]
lea ecx, [esi + 0xf4]
mov dword [ebp - 0xfc], 0x405f70
mov dword [ebp - 0x104], edi
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
lea edx, [esi + 0x6c]
lea eax, [ebp - 0x104]
push edx
push eax
mov dword [ebp - 0xfc], 0x406068
mov dword [ebp - 0x104], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x40dab5
mov ecx, dword [esi]
push esi
mov dword [ebp - 0xfc], 0x4061bc
mov dword [ebp - 0x104], edi
mov dword [ebp - 0x10c], 0x4061c8
mov dword [ebp - 0x114], edi
call dword [ecx + 0x300]
lea edx, [ebp - 0x64]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, eax
lea ecx, [ebp - 0x48]
push ecx
push edi
mov eax, dword [edi]
call dword [eax + 0xa8]
test eax, eax
fnclex
jge 0x40c58a
push 0xa8
push 0x4060bc
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov dword [ebp - 0x9c], eax
mov eax, 8
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x124], eax
lea edx, [ebp - 0x104]
lea eax, [esi + 0x7c]
push 0
push edx
push eax
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x11c], 0x4061fc
call edi
lea ecx, [ebp - 0x114]
push eax
lea edx, [ebp - 0x94]
push ecx
push edx
call edi
push eax
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xb4]
push eax
push ecx
call edi
push eax
lea edx, [ebp - 0x124]
lea eax, [ebp - 0xc4]
push edx
push eax
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcDir]
mov edx, eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x405f70
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov edi, eax
lea ecx, [ebp - 0x4c]
neg edi
sbb edi, edi
neg edi
neg edi
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x94]
push eax
lea edx, [ebp - 0x84]
push ecx
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
test di, di
je 0x40c7b6
mov eax, 8
push esi
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x114], eax
mov eax, dword [esi]
mov dword [ebp - 0xfc], 0x4061bc
mov dword [ebp - 0x10c], 0x4061c8
call dword [eax + 0x300]
lea ecx, [ebp - 0x64]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0xa8]
test eax, eax
fnclex
jge 0x40c6d5
push 0xa8
push 0x4060bc
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov dword [ebp - 0x9c], eax
mov eax, 8
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x104]
lea eax, [esi + 0x7c]
push ecx
lea edx, [ebp - 0x84]
push eax
push edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x11c], 0x4061fc
call edi
push eax
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x94]
push eax
push ecx
call edi
push eax
lea edx, [ebp - 0xa4]
lea eax, [ebp - 0xb4]
push edx
push eax
call edi
lea ecx, [ebp - 0x124]
push eax
lea edx, [ebp - 0xc4]
push ecx
push edx
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0xc4]
lea ecx, [ebp - 0xb4]
push eax
lea edx, [ebp - 0xa4]
push ecx
lea eax, [ebp - 0x94]
push edx
lea ecx, [ebp - 0x84]
push eax
push ecx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x104], 0x4008
push eax
mov dword [ebp - 0xfc], edx
call dword [sym.imp.MSVBVM60.DLL_rtcKillFiles]
mov eax, dword [0x4114c0]
test eax, eax
jne 0x40c7cf
push 0x4114c0
push 0x406010
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x4114c0]
lea edx, [ebp - 0x64]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x40c7f4
push 0x14
push 0x406000
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x40c818
push 0x50
push 0x406020
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [esi]
push esi
call dword [eax + 0x300]
lea ecx, [ebp - 0x68]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0xa8]
test eax, eax
fnclex
jge 0x40c853
push 0xa8
push 0x4060bc
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [esi]
mov eax, 8
push esi
mov dword [ebp - 0xfc], 0x4061bc
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], 0x4061c8
mov dword [ebp - 0x114], eax
call dword [ecx + 0x300]
lea edx, [ebp - 0x6c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, eax
lea ecx, [ebp - 0x58]
push ecx
push edi
mov eax, dword [edi]
call dword [eax + 0xa8]
test eax, eax
fnclex
jge 0x40c8b3
push 0xa8
push 0x4060bc
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x58]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov dword [ebp - 0x9c], eax
mov eax, 8
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x124], eax
lea edx, [ebp - 0x104]
lea eax, [esi + 0x7c]
push edx
push eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x58], 0
push eax
mov dword [ebp - 0x11c], 0x4061fc
call edi
lea ecx, [ebp - 0x114]
push eax
lea edx, [ebp - 0x94]
push ecx
push edx
call edi
push eax
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xb4]
push eax
push ecx
call edi
push eax
lea edx, [ebp - 0x124]
lea eax, [ebp - 0xc4]
push edx
push eax
call edi
lea ecx, [ebp - 0x60]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
mov edx, dword [ebp - 0x48]
push eax
push edx
push 0x406220
call ebx
mov edx, eax
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x54]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
push 0x4061fc
call ebx
mov edx, eax
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcFileCopy]
lea ecx, [ebp - 0x60]
lea edx, [ebp - 0x5c]
push ecx
lea eax, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
push ecx
lea eax, [ebp - 0x48]
push edx
push eax
push 6
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x64]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0xb4]
push ecx
lea eax, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x94]
push eax
lea edx, [ebp - 0x84]
push ecx
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x44
lea edx, [ebp - 0x104]
lea ecx, [esi + 0x114]
mov dword [ebp - 0xfc], 0x4062dc
mov dword [ebp - 0x104], 8
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
mov eax, 2
mov ecx, 1
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0x11c], ecx
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x114]
push eax
lea edx, [ebp - 0x124]
push ecx
lea eax, [ebp - 0x1d4]
push edx
lea ecx, [ebp - 0x1c4]
push eax
lea edx, [ebp - 0x24]
push ecx
push edx
mov dword [ebp - 0x10c], 0x3e8
call dword [sym.imp.MSVBVM60.DLL___vbaVarForInit]
test eax, eax
mov eax, dword [esi]
push esi
je 0x40cb93
call dword [eax + 0x300]
lea ecx, [ebp - 0x64]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0xa8]
test eax, eax
fnclex
jge 0x40caa3
push 0xa8
push 0x4060bc
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaI4Var]
mov edi, eax
dec edi
cmp edi, 0x3e8
jb 0x40cad5
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
lea edx, [ebp - 0x84]
push edx
mov edx, dword [esi + 0xcc]
shl edi, 4
add edi, edx
push edi
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x64]
mov di, ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
test di, di
je 0x40cb70
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
lea edi, [esi + 0x114]
lea eax, [esi + 0x104]
push edi
lea ecx, [ebp - 0x84]
push eax
push ecx
mov dword [ebp - 0xfc], 0x406244
mov dword [ebp - 0x104], 8
call ebx
push eax
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x94]
push edx
push eax
call ebx
mov edx, eax
mov ecx, edi
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x94]
lea edx, [ebp - 0x84]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
lea eax, [ebp - 0x1d4]
lea ecx, [ebp - 0x1c4]
push eax
lea edx, [ebp - 0x24]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForNext]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
jmp 0x40ca60
call dword [eax + 0x710]
test eax, eax
jge 0x40cbaf
push 0x710
push 0x405b84
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [esi + 0x114]
lea ecx, [esi + 0x104]
push ebx
lea edx, [ebp - 0x84]
push ecx
push edx
mov dword [ebp - 0xfc], 0x4062e4
mov dword [ebp - 0x104], 8
call edi
push eax
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x94]
push eax
push ecx
call edi
mov edx, eax
mov ecx, ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x84]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [0x411088]
add esp, 0xc
test eax, eax
jne 0x40cc27
push 0x411088
push 0x4064d8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x411088]
mov ecx, 8
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0xfc], 0x406314
mov dword [ebp - 0x10c], 0x406350
mov ebx, dword [eax]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x134], eax
lea edx, [esi + 0x8c]
push ecx
lea eax, [ebp - 0x84]
push edx
push eax
call edi
lea ecx, [ebp - 0x114]
push eax
lea edx, [ebp - 0x94]
push ecx
push edx
call edi
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
mov edi, dword [ebp - 0x134]
push eax
push edi
call dword [ebx + 0x24]
test eax, eax
fnclex
jge 0x40ccac
push 0x24
push 0x4062e8
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x94]
lea edx, [ebp - 0x84]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [0x411088]
add esp, 0xc
test eax, eax
jne 0x40cceb
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0x411088
push 0x4064d8
call ebx
jmp 0x40ccf1
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411088]
push 0x14
push edi
mov eax, dword [edi]
call dword [eax + 0x34]
test eax, eax
fnclex
jge 0x40cd14
push 0x34
push 0x4062e8
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x411088]
test eax, eax
jne 0x40cd29
push 0x411088
push 0x4064d8
call ebx
mov edi, dword [0x411088]
lea edx, [ebp - 0x128]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x88]
test eax, eax
fnclex
jge 0x40cd57
push 0x88
push 0x4062e8
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
cmp dword [ebp - 0x128], 1
jne 0x40cd96
mov eax, dword [0x411088]
test eax, eax
jne 0x40cd75
push 0x411088
push 0x4064d8
call ebx
mov edi, dword [0x411088]
push edi
mov eax, dword [edi]
call dword [eax + 0x3c]
test eax, eax
fnclex
jge 0x40cd96
push 0x3c
push 0x4062e8
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x411088]
test eax, eax
jne 0x40cdab
push 0x411088
push 0x4064d8
call ebx
mov edi, dword [0x411088]
push 0xffffffffffffffff
push 0x405f70
push 0x405f70
mov ecx, dword [edi]
push 0x405f70
push edi
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x40cddd
push 0x50
push 0x4062e8
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x411104]
test eax, eax
jne 0x40cdf2
push 0x411104
push 0x406548
call ebx
mov eax, dword [0x411088]
mov edi, dword [0x411104]
test eax, eax
jne 0x40ce0d
push 0x411088
push 0x4064d8
call ebx
push 0xffffffffffffffff
push 3
push 1
mov eax, dword [0x411088]
sub esp, 0x10
mov ecx, 9
mov ebx, esp
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x10c], eax
sub esp, 0x10
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x104], 8
mov dword [ebp - 0xfc], 0x4064f8
mov dword [ebx + 4], ecx
mov ecx, esp
mov edx, dword [edi]
push edi
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x108]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xfc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ecx + 0xc], eax
call dword [edx + 0xa0]
test eax, eax
fnclex
jge 0x40cea2
push 0xa0
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x411104]
test eax, eax
jne 0x40cebb
push 0x411104
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411104]
lea edx, [ebp - 0x64]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x40cee0
push 0x54
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x68]
mov eax, dword [ebp - 0x64]
push ebx
mov edx, 2
sub esp, 0x10
mov dword [ebp - 0x104], edx
mov ebx, esp
xor ecx, ecx
mov dword [ebp - 0xfc], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x100]
push eax
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x40cf3d
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x40656c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x84]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x40cf64
push 0x34
push 0x40657c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x68]
lea edx, [ebp - 0x64]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x411094]
test eax, eax
jne 0x40cfb4
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x411088]
mov edi, dword [0x411094]
test eax, eax
jne 0x40cfd3
push 0x411088
push 0x4064d8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
push 0xffffffffffffffff
push 3
push 1
mov eax, dword [0x411088]
sub esp, 0x10
mov ecx, 9
mov ebx, esp
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x10c], eax
sub esp, 0x10
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x104], 8
mov dword [ebp - 0xfc], 0x406590
mov dword [ebx + 4], ecx
mov ecx, esp
mov edx, dword [edi]
push edi
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x108]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xfc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ecx + 0xc], eax
call dword [edx + 0xa0]
test eax, eax
fnclex
jge 0x40d068
push 0xa0
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x411094]
test eax, eax
jne 0x40d081
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
sub esp, 0x10
mov ecx, 0xa
mov ebx, esp
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x104], ecx
mov eax, 0x80020004
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xfc], eax
mov dword [ebx + 4], ecx
sub esp, 0x10
mov edi, dword [0x411094]
mov ecx, esp
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x108]
mov edx, dword [edi]
push edi
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xfc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ecx + 0xc], eax
call dword [edx + 0x78]
test eax, eax
fnclex
jge 0x40d108
push 0x78
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x411094]
test eax, eax
jne 0x40d121
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411094]
lea edx, [ebp - 0x64]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x40d146
push 0x54
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x68]
mov eax, dword [ebp - 0x64]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x104], edx
mov ebx, esp
mov ecx, 0x4065cc
mov dword [ebp - 0xfc], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x100]
push eax
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x40d1a6
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x40656c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [esi + 0x9c]
sub esp, 0x10
mov eax, dword [ebp - 0x68]
mov edi, esp
mov ebx, dword [edx]
push eax
mov ecx, dword [eax]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [ebp - 0x144], eax
mov dword [edi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edi + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
call dword [ecx + 0x38]
test eax, eax
fnclex
jge 0x40d1f1
mov ecx, dword [ebp - 0x144]
push 0x38
push 0x40657c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x64]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [0x411094]
add esp, 0xc
test eax, eax
jne 0x40d21d
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411094]
lea edx, [ebp - 0x64]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x40d242
push 0x54
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x68]
mov eax, dword [ebp - 0x64]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x104], edx
mov ebx, esp
mov ecx, 0x4065d8
mov dword [ebp - 0xfc], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x100]
push eax
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x40d2a2
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x40656c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [esi + 0xac]
sub esp, 0x10
mov eax, dword [ebp - 0x68]
mov edi, esp
mov ebx, dword [edx]
push eax
mov ecx, dword [eax]
mov dword [edi], ebx
mov ebx, dword [edx + 4]
mov dword [ebp - 0x144], eax
mov dword [edi + 4], ebx
mov ebx, dword [edx + 8]
mov dword [edi + 8], ebx
mov edx, dword [edx + 0xc]
mov dword [edi + 0xc], edx
call dword [ecx + 0x38]
test eax, eax
fnclex
jge 0x40d2ed
mov ecx, dword [ebp - 0x144]
push 0x38
push 0x40657c
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x64]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [0x411094]
add esp, 0xc
test eax, eax
jne 0x40d319
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411094]
lea edx, [ebp - 0x68]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x40d33e
push 0x54
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x104], edx
mov ebx, esp
mov ecx, 0x4065e8
mov dword [ebp - 0xfc], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x100]
push eax
mov dword [ebp - 0x144], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x40d39e
mov edx, dword [ebp - 0x144]
push 0x28
push 0x40656c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [esi]
mov ebx, dword [ebp - 0x6c]
push esi
call dword [eax + 0x300]
lea ecx, [ebp - 0x64]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, eax
lea eax, [ebp - 0x48]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0xa8]
test eax, eax
fnclex
jge 0x40d3dc
push 0xa8
push 0x4060bc
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub esp, 0x10
mov eax, dword [ebp - 0x48]
mov edi, esp
mov ecx, 8
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x48], 0
mov dword [edi], ecx
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
mov edx, dword [ebx]
mov dword [edi + 4], ecx
push ebx
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x78]
mov dword [edi + 0xc], eax
call dword [edx + 0x38]
test eax, eax
fnclex
jge 0x40d425
push 0x38
push 0x40657c
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x64]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0x10
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x411094]
test eax, eax
jne 0x40d461
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411094]
lea edx, [ebp - 0x64]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x40d486
push 0x54
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x68]
mov eax, dword [ebp - 0x64]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x104], edx
mov ebx, esp
mov ecx, 0x4065f8
mov dword [ebp - 0xfc], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x100]
push eax
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x40d4e6
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x40656c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub esp, 0x10
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x34]
mov ebx, esp
mov edx, 8
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], edx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x110]
push eax
mov dword [ebp - 0x144], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x38]
test eax, eax
fnclex
jge 0x40d540
mov edx, dword [ebp - 0x144]
push 0x38
push 0x40657c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x64]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [0x411094]
add esp, 0xc
test eax, eax
jne 0x40d56c
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411094]
lea eax, [ebp - 0x64]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x40d591
push 0x54
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x68]
mov eax, dword [ebp - 0x64]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x104], edx
mov ebx, esp
mov ecx, 0x40660c
mov dword [ebp - 0xfc], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x100]
push eax
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x40d5f1
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x40656c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub esp, 0x10
mov eax, dword [ebp - 0x68]
mov ecx, dword [esi + 0x124]
mov ebx, esp
mov edx, 8
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x114], edx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x110]
push eax
mov dword [ebp - 0x144], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x38]
test eax, eax
fnclex
jge 0x40d64e
mov edx, dword [ebp - 0x144]
push 0x38
push 0x40657c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x64]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [0x411094]
add esp, 0xc
test eax, eax
jne 0x40d67a
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411094]
lea eax, [ebp - 0x64]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x40d69f
push 0x54
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x68]
mov eax, dword [ebp - 0x64]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x104], edx
mov ebx, esp
mov ecx, 0x40661c
mov dword [ebp - 0xfc], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x100]
push eax
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x40d6ff
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x40656c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub esp, 0x10
mov eax, dword [ebp - 0x68]
mov ebx, esp
mov edx, 8
mov dword [ebp - 0x114], edx
mov ecx, 0x405f10
mov dword [ebx], edx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
mov edi, dword [eax]
mov dword [ebx + 4], edx
push eax
mov dword [ebp - 0x144], eax
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x38]
test eax, eax
fnclex
jge 0x40d75b
mov edx, dword [ebp - 0x144]
push 0x38
push 0x40657c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x64]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [0x411094]
add esp, 0xc
test eax, eax
jne 0x40d787
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411094]
lea eax, [ebp - 0x64]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x40d7ac
push 0x54
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x68]
mov eax, dword [ebp - 0x64]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x104], edx
mov ebx, esp
mov ecx, 0x406644
mov dword [ebp - 0xfc], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x100]
push eax
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x40d80c
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x40656c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
sub esp, 0x10
mov eax, dword [ebp - 0x68]
mov ebx, esp
mov edx, 8
mov dword [ebp - 0x114], edx
mov ecx, 0x406638
mov dword [ebx], edx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], ecx
mov edi, dword [eax]
mov dword [ebx + 4], edx
push eax
mov dword [ebp - 0x144], eax
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x38]
test eax, eax
fnclex
jge 0x40d868
mov edx, dword [ebp - 0x144]
push 0x38
push 0x40657c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x64]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [0x411094]
add esp, 0xc
test eax, eax
jne 0x40d894
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411094]
lea eax, [ebp - 0x64]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x54]
test eax, eax
fnclex
jge 0x40d8b9
push 0x54
push 0x40655c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x68]
mov eax, dword [ebp - 0x64]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0x104], edx
mov ebx, esp
mov ecx, 0x406654
mov dword [ebp - 0xfc], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0x100]
push eax
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x28]
test eax, eax
fnclex
jge 0x40d919
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x40656c
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ebx, dword [esi + 0x114]
sub esp, 0x10
mov eax, dword [ebp - 0x68]
mov edx, esp
push eax
mov edi, eax
mov ecx, dword [eax]
mov dword [edx], ebx
mov ebx, dword [esi + 0x118]
mov dword [edx + 4], ebx
mov ebx, dword [esi + 0x11c]
mov dword [edx + 8], ebx
mov ebx, dword [esi + 0x120]
mov dword [edx + 0xc], ebx
call dword [ecx + 0x38]
test eax, eax
fnclex
jge 0x40d961
push 0x38
push 0x40657c
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x64]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov eax, dword [0x411094]
add esp, 0xc
test eax, eax
jne 0x40d98d
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
sub esp, 0x10
mov ecx, 0xa
mov ebx, esp
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x104], ecx
mov eax, 0x80020004
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0xfc], eax
mov dword [ebx + 4], ecx
sub esp, 0x10
mov edi, dword [0x411094]
mov ecx, esp
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x108]
mov edx, dword [edi]
push edi
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x104]
mov dword [ecx], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xfc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ecx + 0xc], eax
call dword [edx + 0xac]
test eax, eax
fnclex
jge 0x40da1e
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xac
push 0x40655c
push edi
push eax
call ebx
jmp 0x40da24
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [0x411094]
test eax, eax
jne 0x40da3d
push 0x411094
push 0x406548
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411094]
push edi
mov ecx, dword [edi]
call dword [ecx + 0x80]
test eax, eax
fnclex
jge 0x40da60
push 0x80
push 0x40655c
push edi
push eax
call ebx
mov eax, dword [0x411088]
test eax, eax
jne 0x40da79
push 0x411088
push 0x4064d8
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x411088]
push edi
mov edx, dword [edi]
call dword [edx + 0x3c]
test eax, eax
fnclex
jge 0x40da96
push 0x3c
push 0x4062e8
push edi
push eax
call ebx
mov eax, dword [esi]
push esi
call dword [eax + 0x700]
test eax, eax
jge 0x40dab5
push 0x700
push 0x405b84
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x84]
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcGetPresentDate]
mov edx, dword [esi]
push 0x406038
push 0
push 3
push esi
call dword [edx + 0x31c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
lea eax, [ebp - 0x64]
push eax
call edi
lea ecx, [ebp - 0xc4]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaCastObjVar]
lea edx, [ebp - 0x68]
push eax
push edx
call edi
mov edi, eax
mov eax, 2
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xd4], eax
mov eax, dword [edi]
push ecx
push edx
push edi
call dword [eax + 0x24]
test eax, eax
fnclex
jge 0x40db39
push 0x24
push 0x406038
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edi, dword [ebp - 0x6c]
mov ebx, 8
lea edx, [ebp - 0x104]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0xfc], 0x40618c
mov dword [ebp - 0x104], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
push 1
lea eax, [ebp - 0x94]
push 1
lea ecx, [ebp - 0x84]
push eax
lea edx, [ebp - 0xa4]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromFormatVar]
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x114]
push eax
lea edx, [ebp - 0xb4]
push ecx
mov dword [ebp - 0x10c], 0x406664
mov dword [ebp - 0x114], ebx
mov ebx, dword [edi]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
push edi
call dword [ebx + 0x20]
test eax, eax
fnclex
jge 0x40dbd8
push 0x20
push 0x406048
push edi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push eax
call edi
jmp 0x40dbde
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x68]
push ecx
lea eax, [ebp - 0x64]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea ecx, [ebp - 0xb4]
lea edx, [ebp - 0xd4]
push ecx
lea eax, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0xa4]
push eax
lea edx, [ebp - 0x94]
push ecx
lea eax, [ebp - 0x84]
push edx
push eax
push 6
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov ecx, dword [esi]
add esp, 0x2c
push esi
call dword [ecx + 0x6f8]
test eax, eax
jge 0x40dc4b
push 0x6f8
push 0x405b84
push esi
push eax
call edi
lea edx, [esi + 0x6c]
lea eax, [ebp - 0x104]
push edx
push eax
mov dword [ebp - 0xfc], 0x40605c
mov dword [ebp - 0x104], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
test ax, ax
je 0x40dc90
mov ecx, dword [esi]
push esi
call dword [ecx + 0x6fc]
test eax, eax
jge 0x40dc90
push 0x6fc
push 0x405b84
push esi
push eax
call edi
mov dword [ebp - 4], 0
wait
push 0x40dd8f
jmp 0x40dd26
lea ecx, [ebp - 0x1d4]
lea edx, [ebp - 0x1c4]
push ecx
lea eax, [ebp - 0x1b4]
push edx
lea ecx, [ebp - 0x1a4]
push eax
lea edx, [ebp - 0x194]
push ecx
lea eax, [ebp - 0x184]
push edx
lea ecx, [ebp - 0x174]
push eax
lea edx, [ebp - 0x164]
push ecx
push edx
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
add esp, 0x24
lea ecx, [ebp - 0x24]
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x28]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x34]
call esi
lea ecx, [ebp - 0x44]
call edi
ret