Function at 0x4764d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402f16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x24c
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401ac0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
movsx eax, word [0x501f5a]
test eax, eax
je 0x47652c
jmp 0x477ee7
mov dword [ebp - 4], 5
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x6c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x1ec]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
mov dword [ebp - 4], 6
mov dword [ebp - 0xb4], 0x407cec
mov dword [ebp - 0xbc], 0x8008
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x47681b
mov dword [ebp - 4], 7
mov dword [ebp - 0xb4], 0x407d04
mov dword [ebp - 0xbc], 8
mov dword [ebp - 0xd4], 0x407d5c
mov dword [ebp - 0xdc], 8
lea eax, [ebp - 0xbc]
push eax
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xcc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
push eax
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov dword [ebp - 4], 8
mov dword [ebp - 0xd4], 0x80020004
mov dword [ebp - 0xdc], 0xa
mov dword [ebp - 0xc4], 0x80020004
mov dword [ebp - 0xcc], 0xa
mov dword [ebp - 0xb4], 4
mov dword [ebp - 0xbc], 3
lea ecx, [ebp - 0x48]
push ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xdc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xd8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xd4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xd0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xcc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xbc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xb8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xb4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0xc], ecx
push 0x407d64
mov edx, dword [0x500220]
mov eax, dword [edx]
mov ecx, dword [0x500220]
push ecx
call dword [eax + 0xbc]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x476725
push 0xbc
push 0x407160
mov edx, dword [0x500220]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x20c], eax
jmp 0x47672f
mov dword [ebp - 0x20c], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x48], 0
mov edx, dword [ebp - 0x204]
push edx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x190]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0x20]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x47679b
push 0x20
push 0x407170
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x210], eax
jmp 0x4767a5
mov dword [ebp - 0x210], 0
lea ecx, [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0x34]
fnclex
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
jge 0x4767e9
push 0x34
push 0x407170
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1a4]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x214], eax
jmp 0x4767f3
mov dword [ebp - 0x214], 0
movsx ecx, word [ebp - 0x190]
neg ecx
sbb ecx, ecx
inc ecx
movsx edx, word [ebp - 0x194]
neg edx
sbb edx, edx
inc edx
or ecx, edx
test ecx, ecx
jne 0x476816
jmp 0x477ee7
jmp 0x4775cb
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xb4], 0x407d7c
mov dword [ebp - 0xbc], 0x8008
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x476c86
mov dword [ebp - 4], 0xd
mov eax, dword [0x500230]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0xe
mov dword [ebp - 0x184], 0x80020004
mov dword [ebp - 0x18c], 0xa
mov dword [ebp - 0x174], 0x80020004
mov dword [ebp - 0x17c], 0xa
mov dword [ebp - 0x164], 0x80020004
mov dword [ebp - 0x16c], 0xa
mov dword [ebp - 0x154], 0x80020004
mov dword [ebp - 0x15c], 0xa
mov dword [ebp - 0x144], 0x80020004
mov dword [ebp - 0x14c], 0xa
mov dword [ebp - 0x134], 0x80020004
mov dword [ebp - 0x13c], 0xa
mov dword [ebp - 0x124], 0x80020004
mov dword [ebp - 0x12c], 0xa
mov dword [ebp - 0x114], 0x80020004
mov dword [ebp - 0x11c], 0xa
mov dword [ebp - 0x104], 0x80020004
mov dword [ebp - 0x10c], 0xa
mov dword [ebp - 0xf4], 0x80020004
mov dword [ebp - 0xfc], 0xa
mov dword [ebp - 0xe4], 0x80020004
mov dword [ebp - 0xec], 0xa
mov dword [ebp - 0xd4], 0x80020004
mov dword [ebp - 0xdc], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x18c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x188]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x184]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x180]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x17c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x178]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x174]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x170]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x16c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x168]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x164]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x160]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x15c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x158]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x154]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x150]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x14c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x148]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x144]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x140]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x13c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x138]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x134]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x130]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x12c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x128]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x124]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x120]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x11c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x118]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x114]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x110]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x10c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x108]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x104]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x100]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xfc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xf8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xf4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xf0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xec]
mov dword [edx], eax
mov ecx, dword [ebp - 0xe8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xe4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xe0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xdc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xd8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xd4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xd0]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov edx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
push 0x407d94
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
call dword [ecx + 0xf4]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x476c12
push 0xf4
push 0x407170
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1a0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x218], eax
jmp 0x476c1c
mov dword [ebp - 0x218], 0
mov dword [ebp - 4], 0xf
lea edx, [ebp - 0x190]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
call dword [ecx + 0x5c]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x476c67
push 0x5c
push 0x407170
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1a0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x21c], eax
jmp 0x476c71
mov dword [ebp - 0x21c], 0
movsx edx, word [ebp - 0x190]
test edx, edx
je 0x476c81
jmp 0x477ee7
jmp 0x4775cb
mov dword [ebp - 4], 0x12
mov dword [ebp - 0xb4], 0x407d9c
mov dword [ebp - 0xbc], 0x8008
lea eax, [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx edx, ax
test edx, edx
je 0x4770eb
mov dword [ebp - 4], 0x13
mov eax, dword [0x500238]
push eax
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x164], 0x80020004
mov dword [ebp - 0x16c], 0xa
mov dword [ebp - 0x154], 0x80020004
mov dword [ebp - 0x15c], 0xa
mov dword [ebp - 0x144], 0x80020004
mov dword [ebp - 0x14c], 0xa
mov dword [ebp - 0x134], 0x80020004
mov dword [ebp - 0x13c], 0xa
mov dword [ebp - 0x124], 0x80020004
mov dword [ebp - 0x12c], 0xa
mov dword [ebp - 0x114], 0x80020004
mov dword [ebp - 0x11c], 0xa
mov dword [ebp - 0x104], 0x80020004
mov dword [ebp - 0x10c], 0xa
mov dword [ebp - 0xf4], 0x80020004
mov dword [ebp - 0xfc], 0xa
mov dword [ebp - 0xe4], 0x80020004
mov dword [ebp - 0xec], 0xa
mov dword [ebp - 0xd4], 0x80020004
mov dword [ebp - 0xdc], 0xa
mov dword [ebp - 0xc4], 0x80020004
mov dword [ebp - 0xcc], 0xa
mov dword [ebp - 0xb4], 0x80020004
mov dword [ebp - 0xbc], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x16c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x168]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x164]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x160]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x15c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x158]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x154]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x150]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x14c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x148]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x144]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x140]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x13c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x138]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x134]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x130]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x12c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x128]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x124]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x120]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x11c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x118]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x114]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x110]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0x10c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x108]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x104]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x100]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xfc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xf8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xf4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xf0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xec]
mov dword [edx], eax
mov ecx, dword [ebp - 0xe8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xe4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xe0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xdc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xd8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xd4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xd0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xcc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xc4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ebp - 0xbc]
mov dword [edx], eax
mov ecx, dword [ebp - 0xb8]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0xb4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0xc], ecx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [0x500274]
mov dword [edx], eax
mov ecx, dword [0x500278]
mov dword [edx + 4], ecx
mov eax, dword [0x50027c]
mov dword [edx + 8], eax
mov ecx, dword [0x500280]
mov dword [edx + 0xc], ecx
push 0x407d94
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0xf4]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x477077
push 0xf4
push 0x407170
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x220], eax
jmp 0x477081
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 0x15
lea ecx, [ebp - 0x190]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0x5c]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x4770cc
push 0x5c
push 0x407170
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x224], eax
jmp 0x4770d6
mov dword [ebp - 0x224], 0
movsx ecx, word [ebp - 0x190]
test ecx, ecx
je 0x4770e6
jmp 0x477ee7
jmp 0x4775cb
mov dword [ebp - 4], 0x18
mov dword [ebp - 0xb4], 0x407dac
mov dword [ebp - 0xbc], 0x8008
lea edx, [ebp - 0x1ec]
push edx
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx ecx, ax
test ecx, ecx
je 0x47713e
mov dword [ebp - 4], 0x19
mov edx, dword [0x50023c]
push edx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
jmp 0x4775cb
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0xb4], 0x407dc0
mov dword [ebp - 0xbc], 0x8008
lea ecx, [ebp - 0x1ec]
push ecx
lea edx, [ebp - 0xbc]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
movsx eax, ax
test eax, eax
je 0x4775a7
mov dword [ebp - 4], 0x1b
mov ecx, dword [0x500240]
push ecx
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov dword [ebp - 4], 0x1c
mov dword [ebp - 0x184], 0x80020004
mov dword [ebp - 0x18c], 0xa
mov dword [ebp - 0x174], 0x80020004
mov dword [ebp - 0x17c], 0xa
mov dword [ebp - 0x164], 0x80020004
mov dword [ebp - 0x16c], 0xa
mov dword [ebp - 0x154], 0x80020004
mov dword [ebp - 0x15c], 0xa
mov dword [ebp - 0x144], 0x80020004
mov dword [ebp - 0x14c], 0xa
mov dword [ebp - 0x134], 0x80020004
mov dword [ebp - 0x13c], 0xa
mov dword [ebp - 0x124], 0x80020004
mov dword [ebp - 0x12c], 0xa
mov dword [ebp - 0x114], 0x80020004
mov dword [ebp - 0x11c], 0xa
mov dword [ebp - 0x104], 0x80020004
mov dword [ebp - 0x10c], 0xa
mov dword [ebp - 0xf4], 0x80020004
mov dword [ebp - 0xfc], 0xa
mov dword [ebp - 0xe4], 0x80020004
mov dword [ebp - 0xec], 0xa
mov dword [ebp - 0xd4], 0x80020004
mov dword [ebp - 0xdc], 0xa
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x18c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x188]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x184]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x180]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x17c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x178]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x174]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x170]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x16c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x168]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x164]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x160]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x15c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x158]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x154]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x150]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x14c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x148]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x144]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x140]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x13c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x138]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x134]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x130]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x12c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x128]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x124]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x120]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x11c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x118]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x114]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x110]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0x10c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x108]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x104]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x100]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xfc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xf8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xf0]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xec]
mov dword [eax], ecx
mov edx, dword [ebp - 0xe8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xe4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xe0]
mov dword [eax + 0xc], edx
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [ebp - 0xdc]
mov dword [eax], ecx
mov edx, dword [ebp - 0xd8]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xd4]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xd0]
mov dword [eax + 0xc], edx
mov edx, dword [ebp + 0x14]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
push 0x407d94
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0xf4]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x477536
push 0xf4
push 0x407170
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x228], eax
jmp 0x477540
mov dword [ebp - 0x228], 0
mov dword [ebp - 4], 0x1d
lea ecx, [ebp - 0x190]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0x5c]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x47758b
push 0x5c
push 0x407170
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x22c], eax
jmp 0x477595
mov dword [ebp - 0x22c], 0
movsx ecx, word [ebp - 0x190]
test ecx, ecx
je 0x4775a5
jmp 0x477ee7
jmp 0x4775cb
mov dword [ebp - 4], 0x21
push 0x407170
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
jmp 0x477ee7
mov dword [ebp - 4], 0x24
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 0x25
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0xb4]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x477628
push 0xb4
push 0x407170
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1a0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x230], eax
jmp 0x477632
mov dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1a4], eax
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov edx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1a4]
push edx
call dword [ecx + 0x30]
fnclex
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jge 0x4776b8
push 0x30
push 0x40719c
mov eax, dword [ebp - 0x1a4]
push eax
mov ecx, dword [ebp - 0x1a8]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x234], eax
jmp 0x4776c2
mov dword [ebp - 0x234], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x1ac], edx
lea eax, [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x1ac]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1ac]
push eax
call dword [edx + 0x24]
fnclex
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
jge 0x477718
push 0x24
push 0x4071ac
mov ecx, dword [ebp - 0x1ac]
push ecx
mov edx, dword [ebp - 0x1b0]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x238], eax
jmp 0x477722
mov dword [ebp - 0x238], 0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0xb4]
fnclex
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
jge 0x477769
push 0xb4
push 0x407170
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1b4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x23c], eax
jmp 0x477773
mov dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1b8], eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov edx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1b8]
push edx
call dword [ecx + 0x30]
fnclex
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 0
jge 0x4777f9
push 0x30
push 0x40719c
mov eax, dword [ebp - 0x1b8]
push eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x240], eax
jmp 0x477803
mov dword [ebp - 0x240], 0
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x1c0], edx
lea eax, [ebp - 0x194]
push eax
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c0]
push eax
call dword [edx + 0x24]
fnclex
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0
jge 0x477859
push 0x24
push 0x4071ac
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp - 0x1c4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x244], eax
jmp 0x477863
mov dword [ebp - 0x244], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 0xb4]
fnclex
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0
jge 0x4778aa
push 0xb4
push 0x407170
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x248], eax
jmp 0x4778b4
mov dword [ebp - 0x248], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x1cc], eax
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xfc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov edx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, esp
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1cc]
push edx
call dword [ecx + 0x30]
fnclex
mov dword [ebp - 0x1d0], eax
cmp dword [ebp - 0x1d0], 0
jge 0x47793a
push 0x30
push 0x40719c
mov eax, dword [ebp - 0x1cc]
push eax
mov ecx, dword [ebp - 0x1d0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x24c], eax
jmp 0x477944
mov dword [ebp - 0x24c], 0
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x1d4], edx
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x1d4]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1d4]
push eax
call dword [edx + 0x24]
fnclex
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 0
jge 0x47799a
push 0x24
push 0x4071ac
mov ecx, dword [ebp - 0x1d4]
push ecx
mov edx, dword [ebp - 0x1d8]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x250], eax
jmp 0x4779a4
mov dword [ebp - 0x250], 0
xor eax, eax
cmp word [ebp - 0x190], 0xa
sete al
neg eax
xor ecx, ecx
cmp word [ebp - 0x194], 8
sete cl
neg ecx
or ax, cx
xor edx, edx
cmp word [ebp - 0x198], 0xc
sete dl
neg edx
or ax, dx
mov word [ebp - 0x1dc], ax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push edx
push 6
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0x1c
movsx eax, word [ebp - 0x1dc]
test eax, eax
je 0x477baa
mov dword [ebp - 4], 0x26
mov dword [ebp - 0xd4], 0x405c3c
mov dword [ebp - 0xdc], 8
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0xb4]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x477a72
push 0xb4
push 0x407170
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x254], eax
jmp 0x477a7c
mov dword [ebp - 0x254], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1a4], ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1a4]
push ecx
call dword [eax + 0x30]
fnclex
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jge 0x477b02
push 0x30
push 0x40719c
mov edx, dword [ebp - 0x1a4]
push edx
mov eax, dword [ebp - 0x1a8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x258], eax
jmp 0x477b0c
mov dword [ebp - 0x258], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x1ac], ecx
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x1ac]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1ac]
push edx
call dword [ecx + 0x44]
fnclex
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
jge 0x477b5f
push 0x44
push 0x4071ac
mov eax, dword [ebp - 0x1ac]
push eax
mov ecx, dword [ebp - 0x1b0]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x25c], eax
jmp 0x477b69
mov dword [ebp - 0x25c], 0
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x48]
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
jmp 0x477cc7
mov dword [ebp - 4], 0x28
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [eax + 0xb4]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x477bf8
push 0xb4
push 0x407170
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x260], eax
jmp 0x477c02
mov dword [ebp - 0x260], 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1a4], ecx
lea edx, [ebp - 0x4c]
push edx
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVBVM60.DLL___vbaVarVargNofree]
mov ecx, eax
mov eax, 0x10
call sub.MSVBVM60.DLL___vbaChkstk
mov edx, esp
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dword [edx + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1a4]
push ecx
call dword [eax + 0x30]
fnclex
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jge 0x477c88
push 0x30
push 0x40719c
mov edx, dword [ebp - 0x1a4]
push edx
mov eax, dword [ebp - 0x1a8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x264], eax
jmp 0x477c92
mov dword [ebp - 0x264], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x6c], 9
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x2a
push 0x407170
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 4], 0x2b
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x1a0], eax
lea edx, [ebp - 0x19c]
push edx
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1a0]
push edx
call dword [ecx + 0x1c]
fnclex
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
jge 0x477d51
push 0x1c
push 0x405848
mov eax, dword [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x1a4]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x268], eax
jmp 0x477d5b
mov dword [ebp - 0x268], 0
xor edx, edx
cmp dword [ebp - 0x19c], 0xbca
sete dl
neg edx
mov word [ebp - 0x1a8], dx
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
movsx eax, word [ebp - 0x1a8]
test eax, eax
je 0x477ed8
mov dword [ebp - 4], 0x2c
mov dword [ebp - 0xa4], 0x80020004
mov dword [ebp - 0xac], 0xa
mov dword [ebp - 0x94], 0x80020004
mov dword [ebp - 0x9c], 0xa
mov dword [ebp - 0x84], 0x80020004
mov dword [ebp - 0x8c], 0xa
mov dword [ebp - 0x64], 0x80020004
mov dword [ebp - 0x6c], 0xa
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x7c]
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarFromError]
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x8c]
push edx
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea ecx, [ebp - 0xac]
push ecx
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x6c]
push edx
push 5
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x18
mov dword [ebp - 4], 0x2d
call dword [sym.imp.MSVBVM60.DLL_rtcErrObj]
push eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov dword [ebp - 0x1a0], eax
push 0
mov ecx, dword [ebp - 0x1a0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1a0]
push eax
call dword [edx + 0x20]
fnclex
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
jge 0x477e99
push 0x20
push 0x405848
mov ecx, dword [ebp - 0x1a0]
push ecx
mov edx, dword [ebp - 0x1a4]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x26c], eax
jmp 0x477ea3
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov dword [ebp - 4], 0x2e
mov dword [ebp - 0xb4], 0x405c3c
mov dword [ebp - 0xbc], 8
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
jmp 0x477ee7
mov dword [ebp - 4], 0x31
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push 0x477f6c
jmp 0x477f4d
lea ecx, [ebp - 0x1ec]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
ret