Function at 0x50e520
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x402ee6
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], 0x401aa0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
movsx eax, word [0x597f4a]
test eax, eax
je 0x50e57c
jmp 0x50ff37
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], 0x407c84
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 0x50e86b
mov dword [ebp - 4], 7
mov dword [ebp - 0xb4], 0x407c9c
mov dword [ebp - 0xbc], 8
mov dword [ebp - 0xd4], 0x407cf4
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 0x407cfc
mov edx, dword [0x596220]
mov eax, dword [edx]
mov ecx, dword [0x596220]
push ecx
call dword [eax + 0xbc]
fnclex
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
jge 0x50e775
push 0xbc
push 0x407114
mov edx, dword [0x596220]
push edx
mov eax, dword [ebp - 0x1a0]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dword [ebp - 0x20c], eax
jmp 0x50e77f
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 0x50e7eb
push 0x20
push 0x407124
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 0x50e7f5
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 0x50e839
push 0x34
push 0x407124
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 0x50e843
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 0x50e866
jmp 0x50ff37
jmp 0x50f61b
mov dword [ebp - 4], 0xc
mov dword [ebp - 0xb4], 0x407d14
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 0x50ecd6
mov dword [ebp - 4], 0xd
mov eax, dword [0x596230]
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 0x407d2c
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 0x50ec62
push 0xf4
push 0x407124
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 0x50ec6c
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 0x50ecb7
push 0x5c
push 0x407124
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 0x50ecc1
mov dword [ebp - 0x21c], 0
movsx edx, word [ebp - 0x190]
test edx, edx
je 0x50ecd1
jmp 0x50ff37
jmp 0x50f61b
mov dword [ebp - 4], 0x12
mov dword [ebp - 0xb4], 0x407d34
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 0x50f13b
mov dword [ebp - 4], 0x13
mov eax, dword [0x596238]
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 [0x596274]
mov dword [edx], eax
mov ecx, dword [0x596278]
mov dword [edx + 4], ecx
mov eax, dword [0x59627c]
mov dword [edx + 8], eax
mov ecx, dword [0x596280]
mov dword [edx + 0xc], ecx
push 0x407d2c
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 0x50f0c7
push 0xf4
push 0x407124
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 0x50f0d1
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 0x50f11c
push 0x5c
push 0x407124
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 0x50f126
mov dword [ebp - 0x224], 0
movsx ecx, word [ebp - 0x190]
test ecx, ecx
je 0x50f136
jmp 0x50ff37
jmp 0x50f61b
mov dword [ebp - 4], 0x18
mov dword [ebp - 0xb4], 0x407d44
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 0x50f18e
mov dword [ebp - 4], 0x19
mov edx, dword [0x59623c]
push edx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
jmp 0x50f61b
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0xb4], 0x407d58
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 0x50f5f7
mov dword [ebp - 4], 0x1b
mov ecx, dword [0x596240]
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 0x407d2c
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 0x50f586
push 0xf4
push 0x407124
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 0x50f590
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 0x50f5db
push 0x5c
push 0x407124
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 0x50f5e5
mov dword [ebp - 0x22c], 0
movsx ecx, word [ebp - 0x190]
test ecx, ecx
je 0x50f5f5
jmp 0x50ff37
jmp 0x50f61b
mov dword [ebp - 4], 0x21
push 0x407124
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 0x50ff37
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 0x50f678
push 0xb4
push 0x407124
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 0x50f682
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 0x50f708
push 0x30
push 0x407150
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 0x50f712
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 0x50f768
push 0x24
push 0x407160
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 0x50f772
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 0x50f7b9
push 0xb4
push 0x407124
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 0x50f7c3
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 0x50f849
push 0x30
push 0x407150
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 0x50f853
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 0x50f8a9
push 0x24
push 0x407160
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 0x50f8b3
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 0x50f8fa
push 0xb4
push 0x407124
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 0x50f904
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 0x50f98a
push 0x30
push 0x407150
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 0x50f994
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 0x50f9ea
push 0x24
push 0x407160
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 0x50f9f4
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 0x50fbfa
mov dword [ebp - 4], 0x26
mov dword [ebp - 0xd4], 0x405be8
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 0x50fac2
push 0xb4
push 0x407124
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 0x50facc
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 0x50fb52
push 0x30
push 0x407150
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 0x50fb5c
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 0x50fbaf
push 0x44
push 0x407160
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 0x50fbb9
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 0x50fd17
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 0x50fc48
push 0xb4
push 0x407124
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 0x50fc52
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 0x50fcd8
push 0x30
push 0x407150
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 0x50fce2
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 0x407124
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 0x50fda1
push 0x1c
push 0x4057f4
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 0x50fdab
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 0x50ff28
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 0x50fee9
push 0x20
push 0x4057f4
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 0x50fef3
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], 0x405be8
mov dword [ebp - 0xbc], 8
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVBVM60.DLL___vbaVarCopy]
jmp 0x50ff37
mov dword [ebp - 4], 0x31
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
push 0x50ffbc
jmp 0x50ff9d
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