Function at 0x4be140
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x402ed6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x402988
xor eax, eax
cmp word [0x504f5a], ax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x180], eax
jne 0x4bfdf4
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov eax, 8
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0xfc]
lea ecx, [ebp - 0x5c]
push eax
push 0x503bd8
push ecx
mov dword [ebp - 0xf4], 0x40b340
mov dword [ebp - 0x104], 0x40b394
call esi
push eax
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x6c]
push edx
push eax
call esi
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea ebx, [ebp - 0x48]
mov ecx, 0xa
push ebx
mov dword [ebp - 0x11c], ecx
sub esp, 0x10
mov esi, ecx
mov ebx, esp
mov eax, 0x80020004
sub esp, 0x10
mov dword [ebp - 0x114], eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0x118]
mov edx, eax
mov dword [ebp - 0xfc], 3
mov dword [ebx + 4], ecx
mov ecx, esp
mov dword [ebp - 0x104], edx
sub esp, 0x10
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xf4], 4
mov edi, dword [0x503224]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x108]
mov dword [ecx], esi
mov dword [ebp - 0x10c], esi
mov edi, dword [edi]
mov dword [ecx + 4], eax
mov eax, esp
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x100]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ebp - 0xf8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xf0]
mov dword [eax + 8], ecx
lea ecx, [ebp - 0x44]
mov dword [eax + 0xc], edx
lea eax, [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
mov edx, dword [0x503224]
push eax
push edx
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x4be339
mov ecx, dword [0x503224]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407108
push ecx
push eax
call esi
jmp 0x4be33f
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x503244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x503244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4be387
mov edx, dword [0x503244]
push 0x20
push 0x407118
push edx
push eax
call esi
mov eax, dword [0x503244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4be3b0
mov ecx, dword [0x503244]
push 0x34
push 0x407118
push ecx
push eax
call esi
xor edx, edx
cmp word [ebp - 0x144], dx
sete dl
xor eax, eax
cmp word [ebp - 0x140], ax
sete al
or edx, eax
je 0x4bea4f
mov eax, dword [0x503244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405be4
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4be410
mov ecx, dword [0x503244]
push 0xb4
push 0x407118
push ecx
push eax
call esi
lea ebx, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], edx
mov ebx, esp
mov ecx, 0x40b39c
mov dword [ebp - 0xf4], ecx
mov edi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xf8]
push eax
mov esi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [ebx + 0xc], ecx
call dword [edi + 0x30]
test eax, eax
fnclex
jge 0x4be46a
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x407144
push esi
push eax
call edi
jmp 0x4be470
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x44]
test eax, eax
fnclex
jge 0x4be490
push 0x44
push 0x407154
push esi
push eax
call edi
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x6c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x503be8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0x4c]
lea eax, [ebp - 0x48]
push edx
mov ebx, 2
push eax
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x503244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405be4
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4be512
mov ecx, dword [0x503244]
push 0xb4
push 0x407118
push ecx
push eax
call edi
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], edx
mov edi, esp
mov ecx, 0x40b3cc
mov dword [ebp - 0xf4], ecx
mov esi, dword [eax]
mov dword [edi], edx
mov edx, dword [ebp - 0xf8]
push eax
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4be576
mov edx, dword [ebp - 0x14c]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x30
push 0x407144
push edx
push eax
call edi
jmp 0x4be57c
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4be59c
push 0x44
push 0x407154
push esi
push eax
call edi
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x503bf8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x503244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405be4
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4be619
mov edx, dword [0x503244]
push 0xb4
push 0x407118
push edx
push eax
call edi
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], edx
mov edi, esp
mov ecx, 0x40b3ec
mov dword [ebp - 0xf4], ecx
mov esi, dword [eax]
mov dword [edi], edx
mov edx, dword [ebp - 0xf8]
push eax
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], edx
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [esi + 0x30]
test eax, eax
fnclex
jge 0x4be679
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x407144
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4be69d
push 0x44
push 0x407154
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x5057a0
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push ebx
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push edx
push eax
push ebx
call edi
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
add esp, 0x18
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x5032e8
push edx
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], ebx
call esi
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x10c]
push eax
push ecx
mov dword [ebp - 0x104], 0x40a4f4
mov dword [ebp - 0x10c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x5c]
push edx
push eax
push ebx
call edi
add esp, 0xc
cmp word [ebp - 0x148], 0
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], ebx
je 0x4be8d9
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x503be8
push edx
call esi
lea eax, [ebp - 0x7c]
push 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
push 3
call edi
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x4bea55
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x503be8
push ecx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], ebx
call esi
lea edx, [ebp - 0x8c]
lea eax, [ebp - 0x9c]
push edx
push 4
push 0x503be8
push eax
mov dword [ebp - 0x104], 0x40598c
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x8c], ebx
call esi
lea ecx, [ebp - 0xcc]
lea edx, [ebp - 0xdc]
push ecx
push 7
push 0x503be8
push edx
mov dword [ebp - 0x124], 0x40598c
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 3
mov dword [ebp - 0xcc], ebx
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xac]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0xbc]
push edx
push eax
call ebx
lea ecx, [ebp - 0xdc]
push eax
lea edx, [ebp - 0xec]
push ecx
push edx
call ebx
mov edx, eax
mov ecx, 0x503be8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xbc]
push eax
lea edx, [ebp - 0xcc]
push ecx
lea eax, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
push 9
call edi
add esp, 0x28
jmp 0x4bea5b
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x503be8
push ecx
call esi
lea edx, [ebp - 0x7c]
push 0x20
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x7c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
push 3
call edi
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x4bea55
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x503be8
push eax
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], ebx
call esi
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x9c]
push ecx
push 4
push 0x503be8
push edx
mov dword [ebp - 0x104], 0x40598c
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x8c], ebx
call esi
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0xdc]
push eax
push 6
push 0x503be8
push ecx
mov dword [ebp - 0x124], 0x40598c
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0xcc], ebx
call esi
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0xac]
push edx
push eax
call ebx
lea ecx, [ebp - 0x12c]
push eax
lea edx, [ebp - 0xbc]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xec]
push eax
push ecx
call ebx
mov edx, eax
mov ecx, 0x503be8
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xcc]
push eax
lea edx, [ebp - 0xac]
push ecx
lea eax, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x8c]
push ecx
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
push 9
call edi
add esp, 0x28
jmp 0x4bea5b
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
mov eax, dword [0x503244]
push eax
mov edx, dword [eax]
call dword [edx + 0xc4]
test eax, eax
fnclex
jge 0x4bea87
mov ecx, dword [0x503244]
push 0xc4
push 0x407118
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x407118
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x503244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov eax, 8
lea edx, [ebp - 0xfc]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
push edx
lea eax, [ebp - 0x5c]
push 0x503c08
push eax
mov dword [ebp - 0xf4], 0x40b340
mov dword [ebp - 0x104], 0x40b394
call edi
lea ecx, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [0x503224]
mov eax, 0x80020004
mov ecx, 0xa
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xf4], 4
mov dword [ebp - 0xfc], 3
mov edi, dword [edx]
lea edx, [ebp - 0x48]
push edx
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], ecx
mov ecx, dword [ebp - 0x118]
mov dword [edx + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x108]
mov dword [ecx], edx
mov edx, dword [ebp - 0x104]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xfc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xf8]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp - 0xf4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 8], edx
lea edx, [ebp - 0x44]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [0x503224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x4bebea
mov ecx, dword [0x503224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407108
push ecx
push eax
call edi
jmp 0x4bebf0
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x503244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x503244]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4bec38
mov edx, dword [0x503244]
push 0x20
push 0x407118
push edx
push eax
call edi
mov eax, dword [0x503244]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4bec61
mov ecx, dword [0x503244]
push 0x34
push 0x407118
push ecx
push eax
call edi
xor edx, edx
cmp word [ebp - 0x144], dx
sete dl
xor eax, eax
cmp word [ebp - 0x140], ax
sete al
or edx, eax
je 0x4bf30f
mov eax, dword [0x503244]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405be4
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4becc1
mov ecx, dword [0x503244]
push 0xb4
push 0x407118
push ecx
push eax
call edi
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b39c
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x4bed26
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x407144
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4bed4a
push 0x44
push 0x407154
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x503c18
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x503244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405be4
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4bedcc
mov edx, dword [0x503244]
push 0xb4
push 0x407118
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b3cc
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x4bee31
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x407144
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4bee55
push 0x44
push 0x407154
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x503c28
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x503244]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405be4
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4beed7
mov edx, dword [0x503244]
push 0xb4
push 0x407118
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b3ec
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x4bef3c
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x407144
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4bef60
push 0x44
push 0x407154
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x5032e8
push eax
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], 2
call esi
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x10c]
push ecx
push edx
mov dword [ebp - 0x104], 0x40a4f4
mov dword [ebp - 0x10c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x5c]
push eax
push ecx
push 2
call edi
add esp, 0xc
cmp word [ebp - 0x148], 0
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], 2
je 0x4bf194
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x503c18
push eax
call esi
lea ecx, [ebp - 0x7c]
push 0x20
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x7c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
lea ecx, [ebp - 0x7c]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
push 3
call edi
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x4bf30f
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x503c18
push edx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], 2
call esi
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x9c]
push eax
push 4
push 0x503c18
push ecx
mov dword [ebp - 0x104], 0x40598c
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x8c], 2
call esi
lea edx, [ebp - 0xcc]
lea eax, [ebp - 0xdc]
push edx
push 7
push 0x503c18
push eax
mov dword [ebp - 0x124], 0x40598c
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 3
mov dword [ebp - 0xcc], 2
call esi
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x10c]
push ecx
lea eax, [ebp - 0x7c]
push edx
push eax
call ebx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xac]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0xbc]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0xec]
push edx
push eax
call ebx
mov edx, eax
mov ecx, 0x503c18
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xdc]
lea edx, [ebp - 0xbc]
push ecx
lea eax, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xac]
push eax
lea edx, [ebp - 0x9c]
push ecx
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
jmp 0x4bf308
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x503c18
push edx
call esi
lea eax, [ebp - 0x7c]
push 0x20
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x7c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
mov word [ebp - 0x148], ax
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
push 3
call edi
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x4bf30f
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x503c18
push ecx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], 2
call esi
mov eax, 2
lea edx, [ebp - 0x8c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x8c], eax
push edx
push 4
lea eax, [ebp - 0x9c]
push 0x503c18
push eax
mov dword [ebp - 0x104], 0x40598c
mov dword [ebp - 0x10c], 8
call esi
lea ecx, [ebp - 0xcc]
lea edx, [ebp - 0xdc]
push ecx
push 6
push 0x503c18
push edx
mov dword [ebp - 0x124], 0x40598c
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0xcc], 2
call esi
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x7c]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xac]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0x12c]
lea eax, [ebp - 0xbc]
push edx
push eax
call ebx
lea ecx, [ebp - 0xdc]
push eax
lea edx, [ebp - 0xec]
push ecx
push edx
call ebx
mov edx, eax
mov ecx, 0x503c18
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xbc]
push eax
lea edx, [ebp - 0xcc]
push ecx
lea eax, [ebp - 0xac]
push edx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0x7c]
push ecx
lea eax, [ebp - 0x8c]
push edx
lea ecx, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x5c]
push ecx
push edx
push 9
call edi
add esp, 0x28
mov eax, dword [0x503244]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x4bf33b
mov edx, dword [0x503244]
push 0xc4
push 0x407118
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x407118
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x503244
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov eax, 8
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0xfc]
lea ecx, [ebp - 0x5c]
push eax
push 0x503c38
push ecx
mov dword [ebp - 0xf4], 0x40b414
mov dword [ebp - 0x104], 0x40b394
call edi
push eax
lea edx, [ebp - 0x10c]
lea eax, [ebp - 0x6c]
push edx
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [0x503224]
mov eax, 0x80020004
mov ecx, 0xa
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0xf4], 4
mov dword [ebp - 0xfc], 3
mov edi, dword [edx]
lea edx, [ebp - 0x48]
push edx
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], ecx
mov ecx, dword [ebp - 0x118]
mov dword [edx + 4], ecx
mov ecx, esp
sub esp, 0x10
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x110]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x108]
mov dword [ecx], edx
mov edx, dword [ebp - 0x104]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x100]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0xfc]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0xf8]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [ebp - 0xf4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 8], edx
lea edx, [ebp - 0x44]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x40]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarVal]
push eax
mov eax, dword [0x503224]
push eax
call dword [edi + 0xbc]
test eax, eax
fnclex
jge 0x4bf49e
mov ecx, dword [0x503224]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0xbc
push 0x407108
push ecx
push eax
call edi
jmp 0x4bf4a4
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x48], 0
push eax
push 0x503248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x44]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov eax, dword [0x503248]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
fnclex
jge 0x4bf4ec
mov edx, dword [0x503248]
push 0x20
push 0x407118
push edx
push eax
call edi
mov eax, dword [0x503248]
lea edx, [ebp - 0x144]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x4bf515
mov ecx, dword [0x503248]
push 0x34
push 0x407118
push ecx
push eax
call edi
xor edx, edx
cmp word [ebp - 0x144], dx
sete dl
xor eax, eax
cmp word [ebp - 0x140], ax
sete al
or edx, eax
je 0x4bfdaf
mov eax, dword [0x503248]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405be4
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4bf579
mov ecx, dword [0x503248]
push 0xb4
push 0x407118
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b39c
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x4bf5de
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x407144
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4bf602
push 0x44
push 0x407154
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x503c48
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [0x503248]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405be4
mov dword [ebp - 0x10c], 8
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xb4]
test eax, eax
fnclex
jge 0x4bf684
mov edx, dword [0x503248]
push 0xb4
push 0x407118
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b468
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x4bf6e9
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x407144
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4bf70d
push 0x44
push 0x407154
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x503c58
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov edx, dword [0x503248]
lea eax, [ebp - 0x160]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x48]
mov dword [ebp - 0xf4], 1
mov dword [ebp - 0xfc], 2
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4bf7a4
mov ecx, dword [ebp - 0x160]
push 0xb4
push 0x407118
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x140]
push ecx
push eax
mov edx, dword [eax]
mov edi, eax
call dword [edx + 0x1c]
test eax, eax
fnclex
jge 0x4bf7cb
push 0x1c
push 0x40b480
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov dx, word [ebp - 0x140]
mov eax, 2
sub dx, 1
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0xfc]
jo 0x4bfea9
mov word [ebp - 0x104], dx
lea ecx, [ebp - 0x10c]
push eax
lea edx, [ebp - 0x11c]
push ecx
lea eax, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x170]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
mov dword [ebp - 0x114], 0
call dword [0x40109c]
lea ecx, [ebp - 0x48]
mov edi, eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
test edi, edi
je 0x4bfa40
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x48]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4bf86f
mov ecx, dword [ebp - 0x160]
push 0xb4
push 0x407118
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edi, dword [ebp - 0x20]
lea ecx, [ebp - 0x4c]
push ecx
mov eax, dword [ebp - 0x48]
sub esp, 0x10
mov dword [ebp - 0x14c], eax
mov ecx, esp
mov edx, dword [eax]
push eax
mov dword [ecx], edi
mov edi, dword [ebp - 0x1c]
mov dword [ecx + 4], edi
mov edi, dword [ebp - 0x18]
mov dword [ecx + 8], edi
mov edi, dword [ebp - 0x14]
mov dword [ecx + 0xc], edi
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x4bf8b9
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x407144
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x44]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x2c]
test eax, eax
fnclex
jge 0x4bf8dd
push 0x2c
push 0x407154
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x44]
push eax
push 0x40b494
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov edi, eax
lea ecx, [ebp - 0x44]
neg edi
sbb edi, edi
inc edi
neg edi
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x4c]
lea edx, [ebp - 0x48]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
test di, di
jne 0x4bf935
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x170]
push eax
lea edx, [ebp - 0x20]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarForNext]
mov edi, eax
jmp 0x4bf836
mov eax, dword [0x503248]
lea edx, [ebp - 0x48]
mov dword [ebp - 0x104], 0x405be4
mov dword [ebp - 0x10c], 8
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xb4]
test eax, eax
fnclex
jge 0x4bf979
mov ecx, dword [0x503248]
push 0xb4
push 0x407118
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edi, [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
push edi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xfc], ecx
mov edi, esp
mov dword [ebp - 0xf4], 0x40b494
mov edx, dword [eax]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x14c], eax
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xf4]
mov dword [edi + 8], ecx
mov ecx, dword [ebp - 0xf0]
mov dword [edi + 0xc], ecx
call dword [edx + 0x30]
test eax, eax
fnclex
jge 0x4bf9de
mov edx, dword [ebp - 0x14c]
push 0x30
push 0x407144
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x5c]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x44]
test eax, eax
fnclex
jge 0x4bfa02
push 0x44
push 0x407154
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x10c]
lea ecx, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x6c]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarCat]
mov edx, eax
mov ecx, 0x503c68
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x48]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
lea edx, [ebp - 0x160]
push 0
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
mov edi, 2
push 0x5032e8
push ecx
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x5c], edi
call esi
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x10c]
push edx
push eax
mov dword [ebp - 0x104], 0x40a4f4
mov dword [ebp - 0x10c], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
push ecx
push edx
push edi
mov word [ebp - 0x148], ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
cmp word [ebp - 0x148], 0
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], edi
je 0x4bfc39
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x6c]
push eax
push 1
push 0x503c48
push ecx
call esi
lea edx, [ebp - 0x7c]
push 0x20
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea eax, [ebp - 0x6c]
lea ecx, [ebp - 0x7c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x7c]
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x4bfdaf
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x503c48
push eax
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], edi
call esi
lea ecx, [ebp - 0x8c]
lea edx, [ebp - 0x9c]
push ecx
push 4
push 0x503c48
push edx
mov dword [ebp - 0x104], 0x40598c
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], 3
mov dword [ebp - 0x8c], edi
call esi
lea eax, [ebp - 0xcc]
lea ecx, [ebp - 0xdc]
push eax
push 7
push 0x503c48
push ecx
mov dword [ebp - 0x124], 0x40598c
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 3
mov dword [ebp - 0xcc], edi
call esi
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x10c]
push edx
lea ecx, [ebp - 0x7c]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0x9c]
lea eax, [ebp - 0xac]
push edx
push eax
call ebx
lea ecx, [ebp - 0x12c]
push eax
lea edx, [ebp - 0xbc]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0xec]
push eax
push ecx
call ebx
mov edx, eax
mov ecx, 0x503c48
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xcc]
push eax
lea edx, [ebp - 0xac]
push ecx
lea eax, [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x7c]
push eax
lea edx, [ebp - 0x8c]
push ecx
lea eax, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x5c]
push eax
push ecx
jmp 0x4bfda4
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
push edx
push 1
push 0x503c48
push eax
call esi
lea ecx, [ebp - 0x7c]
push 0x20
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x7c]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstGt]
lea ecx, [ebp - 0x7c]
mov word [ebp - 0x148], ax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp word [ebp - 0x148], 0
je 0x4bfdaf
lea ecx, [ebp - 0x5c]
lea edx, [ebp - 0x6c]
push ecx
push 1
push 0x503c48
push edx
mov dword [ebp - 0x54], 3
mov dword [ebp - 0x5c], edi
call esi
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x9c]
push eax
push 4
push 0x503c48
push ecx
mov dword [ebp - 0x104], 0x40598c
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], edi
call esi
lea edx, [ebp - 0xcc]
lea eax, [ebp - 0xdc]
push edx
push 6
push 0x503c48
push eax
mov dword [ebp - 0x124], 0x40598c
mov dword [ebp - 0x12c], 8
mov dword [ebp - 0xc4], 4
mov dword [ebp - 0xcc], edi
call esi
lea ecx, [ebp - 0x6c]
lea edx, [ebp - 0x10c]
push ecx
lea eax, [ebp - 0x7c]
push edx
push eax
call ebx
lea ecx, [ebp - 0x9c]
push eax
lea edx, [ebp - 0xac]
push ecx
push edx
call ebx
push eax
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0xbc]
push eax
push ecx
call ebx
push eax
lea edx, [ebp - 0xdc]
lea eax, [ebp - 0xec]
push edx
push eax
call ebx
mov edx, eax
mov ecx, 0x503c48
call dword [sym.imp.MSVBVM60.DLL___vbaVarMove]
lea ecx, [ebp - 0xdc]
lea edx, [ebp - 0xbc]
push ecx
lea eax, [ebp - 0xcc]
push edx
lea ecx, [ebp - 0xac]
push eax
lea edx, [ebp - 0x9c]
push ecx
lea eax, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x5c]
push edx
push eax
push 9
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x28
mov eax, dword [0x503248]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
test eax, eax
fnclex
jge 0x4bfddb
mov edx, dword [0x503248]
push 0xc4
push 0x407118
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
push 0x407118
push 0
call dword [sym.imp.MSVBVM60.DLL___vbaCastObj]
push eax
push 0x503248
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push 0x4bfe98
jmp 0x4bfe5d
lea ecx, [ebp - 0x160]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0x180]
lea ecx, [ebp - 0x170]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
add esp, 0xc
lea ecx, [ebp - 0x20]
call esi
lea ecx, [ebp - 0x30]
call esi
lea ecx, [ebp - 0x40]
call esi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop