Function at 0x853020
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x403156
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402de8
xor eax, eax
mov ecx, 0xc
mov dword [ebp - 0x20], eax
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
mov ecx, 0xc
lea edi, [ebp - 0x17c]
mov edx, dword [ebp + 0xc]
xor esi, esi
rep stosd dword es:[edi], eax
mov ecx, 0xa
lea edi, [ebp - 0x1a4]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x90], esi
mov dword [ebp - 0xa0], esi
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0x100], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x134], esi
call edi
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x5c]
call edi
mov edx, 0x418d4c
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x20], si
call edi
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x58]
push edx
push eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xe0], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea ecx, [ebp - 0x80]
lea edx, [ebp - 0xf0]
push ecx
push edx
mov dword [ebp - 0xe8], 0x41e98c
mov dword [ebp - 0xf0], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x80]
mov bx, ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp bx, si
je 0x853160
mov edx, 0x41e9a0
mov ecx, 0x86a01c
call edi
jmp 0x853f0c
mov eax, dword [ebp - 0x58]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x41ea40
push eax
call ebx
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x60]
call edi
push eax
push 0x41ea94
call ebx
mov edx, eax
lea ecx, [ebp - 0x64]
call edi
mov ecx, dword [ebp - 0x5c]
push eax
push ecx
call ebx
mov edx, eax
lea ecx, [ebp - 0x68]
call edi
push eax
push 0x41bb7c
call ebx
mov edx, eax
mov ecx, 0x86a2f8
call edi
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x60]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea edx, [ebp - 0x17c]
push edx
push 0x41af30
call dword [sym.imp.MSVBVM60.DLL___vbaRecDestruct]
mov ecx, dword [0x86a2f8]
lea eax, [ebp - 0x134]
push 0xffffffffffffffff
push eax
push 1
lea edx, [ebp - 0x17c]
push ecx
push edx
mov dword [ebp - 0x134], 1
call fcn.0082f590
lea eax, [ebp - 0x17c]
lea ecx, [ebp - 0x54]
push eax
push ecx
push 0x41af30
call dword [sym.imp.MSVBVM60.DLL___vbaRecAssign]
cmp word [ebp - 0x28], si
je 0x853f24
fld qword [ebp - 0x4c]
fcomp qword [0x4013d8]
fnstsw ax
test ah, 0x41
je 0x8532e7
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov ecx, 0xa
mov eax, 0x80020004
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xa0], ecx
mov edi, 8
lea edx, [ebp - 0xf0]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xe8], 0x41b9ec
mov dword [ebp - 0xf0], edi
call esi
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xd8], 0x4297e8
mov dword [ebp - 0xe0], edi
call esi
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x90]
push eax
push ecx
lea edx, [ebp - 0x80]
push 0x40
push edx
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x90]
push ecx
lea eax, [ebp - 0x80]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
wait
push 0x853fdb
jmp 0x853f98
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp eax, esi
fnclex
jge 0x85330c
mov ecx, dword [ebp - 0x50]
push 0x54
push 0x41b010
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, dword [ebp - 0x6c]
mov eax, 8
mov dword [ebp - 0xd8], 0x41eab8
mov dword [ebp - 0xe0], eax
mov edx, dword [ecx]
mov dword [ebp - 0x13c], ecx
lea ecx, [ebp - 0x70]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [ebp - 0xdc]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xd8]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x6c]
push ecx
call dword [edx + 0x28]
cmp eax, esi
fnclex
jge 0x853374
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x41b034
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x80]
push edx
push eax
mov ecx, dword [eax]
mov dword [ebp - 0x144], eax
call dword [ecx + 0x34]
cmp eax, esi
fnclex
jge 0x8533a2
mov ecx, dword [ebp - 0x144]
push 0x34
push 0x41b044
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x80]
lea eax, [ebp - 0xf0]
push edx
push eax
mov dword [ebp - 0xe8], 1
mov dword [ebp - 0xf0], 0x8002
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x6c]
push ecx
push edx
push 2
mov dword [ebp - 0x14c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp word [ebp - 0x14c], si
je 0x8534ac
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
mov ecx, 0xa
mov eax, 0x80020004
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xa0], ecx
mov edi, 8
lea edx, [ebp - 0xf0]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xe8], 0x41b9ec
mov dword [ebp - 0xf0], edi
call esi
lea edx, [ebp - 0xe0]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0xd8], 0x41eacc
mov dword [ebp - 0xe0], edi
call esi
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x90]
push ecx
push edx
lea eax, [ebp - 0x80]
push 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea ecx, [ebp - 0xb0]
lea edx, [ebp - 0xa0]
push ecx
lea eax, [ebp - 0x90]
push edx
lea ecx, [ebp - 0x80]
push eax
push ecx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
wait
push 0x853fdb
jmp 0x853f98
mov eax, dword [0x86a404]
cmp eax, esi
jne 0x8534e3
push 0x86a404
push 0x407114
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x86a404]
cmp eax, esi
jne 0x8534e3
push 0x86a404
push 0x407114
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x86a404]
mov edx, dword [eax]
push esi
push 6
push eax
call dword [edx + 0x32c]
push eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x80]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x60]
call edi
push eax
push 0x41eb40
call ebx
mov edx, eax
lea ecx, [ebp - 0x64]
call edi
push eax
mov eax, dword [0x86a404]
push esi
push 5
mov edx, dword [eax]
push eax
call dword [edx + 0x32c]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
lea ecx, [ebp - 0x90]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x68]
call edi
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x60]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x6c]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x80]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov eax, dword [ebp - 0x50]
add esp, 0x28
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x54]
cmp eax, esi
fnclex
jge 0x8535ca
mov ecx, dword [ebp - 0x50]
push 0x54
push 0x41b010
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
push ebx
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xe0], ecx
mov ebx, esp
mov dword [ebp - 0xd8], 0x41eb4c
mov edx, dword [eax]
push eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0xd8]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
cmp eax, esi
fnclex
jge 0x85362f
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x41b034
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
push eax
push ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], 9
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea edx, [ebp - 0x90]
lea eax, [ebp - 0xa0]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0xf0]
push ecx
push edx
mov dword [ebp - 0xe8], 0x41eb60
mov dword [ebp - 0xf0], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
lea ecx, [ebp - 0x6c]
mov bx, ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0xa0]
lea ecx, [ebp - 0x90]
push eax
lea edx, [ebp - 0x80]
push ecx
push edx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
cmp bx, si
je 0x853cfc
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp eax, esi
fnclex
jge 0x8536e3
mov ecx, dword [ebp - 0x50]
push 0x54
push 0x41b010
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
push ebx
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xe0], ecx
mov ebx, esp
mov dword [ebp - 0xd8], 0x41eb4c
mov edx, dword [eax]
push eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0xd8]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
cmp eax, esi
fnclex
jge 0x853748
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x41b034
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x70]
mov ebx, dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x90]
push eax
push ecx
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x80], 9
call ebx
lea eax, [ebp - 0xf0]
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0x24]
push eax
push ecx
mov dword [ebp - 0xe8], edx
mov dword [ebp - 0xf0], 0x4008
call ebx
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0xb0]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimVar]
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0xb0]
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
lea ecx, [ebp - 0x6c]
mov bx, ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0x90]
push eax
lea edx, [ebp - 0xa0]
push ecx
lea eax, [ebp - 0x80]
push edx
push eax
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
cmp bx, si
je 0x853cfc
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, eax
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ebx, eax
jmp 0x853807
xor esi, esi
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x6c]
sub bx, 1
push ecx
mov edx, dword [eax]
push eax
jo 0x853ff4
call dword [edx + 0x54]
cmp eax, esi
fnclex
jge 0x853836
mov edx, dword [ebp - 0x50]
push 0x54
push 0x41b010
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea edx, [ebp - 0x70]
mov eax, 8
push edx
mov ecx, dword [ebp - 0x6c]
sub esp, 0x10
mov dword [ebp - 0xe0], eax
mov edx, esp
mov dword [ebp - 0xd8], 0x41eb4c
mov dword [ebp - 0x13c], ecx
mov ecx, dword [ecx]
mov dword [edx], eax
mov eax, dword [ebp - 0xdc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xd8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xd4]
mov dword [edx + 0xc], eax
mov edx, dword [ebp - 0x6c]
push edx
call dword [ecx + 0x28]
cmp eax, esi
fnclex
jge 0x85389e
mov ecx, dword [ebp - 0x13c]
push 0x28
push 0x41b034
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x80]
push ecx
push eax
mov edx, dword [eax]
mov dword [ebp - 0x144], eax
call dword [edx + 0x34]
cmp eax, esi
fnclex
jge 0x8538cc
mov edx, dword [ebp - 0x144]
push 0x34
push 0x41b044
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, 2
lea edx, [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x90], eax
movsx ecx, bx
lea eax, [ebp - 0x90]
push eax
push ecx
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x60]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x64]
call edi
push eax
push 0x418f88
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
mov esi, eax
lea eax, [ebp - 0x64]
neg esi
sbb esi, esi
lea ecx, [ebp - 0x60]
push eax
inc esi
push ecx
push 2
neg esi
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
lea edx, [ebp - 0x70]
lea eax, [ebp - 0x6c]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea ecx, [ebp - 0x90]
lea edx, [ebp - 0x80]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x24
test si, si
je 0x853805
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x853980
mov ecx, dword [ebp - 0x50]
push 0x54
push 0x41b010
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea esi, [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
push esi
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xe0], ecx
mov esi, esp
mov dword [ebp - 0xd8], 0x41eb4c
mov edx, dword [eax]
push eax
mov dword [esi], ecx
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x13c], eax
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0xd8]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [esi + 0xc], ecx
call dword [edx + 0x28]
test eax, eax
fnclex
jge 0x8539e5
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x41b034
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x80]
push edx
push eax
mov ecx, dword [eax]
mov esi, eax
call dword [ecx + 0x34]
test eax, eax
fnclex
jge 0x853a09
push 0x34
push 0x41b044
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
add bx, 2
lea eax, [ebp - 0x90]
jo 0x853ff4
movsx ecx, bx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
push eax
lea edx, [ebp - 0x80]
push ecx
push edx
mov dword [ebp - 0x88], 0x80020004
mov dword [ebp - 0x90], 0xa
call ebx
mov edx, eax
lea ecx, [ebp - 0x60]
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharBstr]
mov edx, eax
lea ecx, [ebp - 0x24]
call edi
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x6c]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea edx, [ebp - 0x90]
lea eax, [ebp - 0x80]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
mov esi, dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
add esp, 0x18
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x24]
push edx
push eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xe0], 0x4008
call esi
mov eax, dword [0x86a404]
test eax, eax
jne 0x853ac6
push 0x86a404
push 0x407114
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x86a404]
mov ecx, dword [eax]
push 0
push 5
push eax
call dword [ecx + 0x32c]
lea edx, [ebp - 0x6c]
push eax
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSet]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaLateIdCallLd]
add esp, 0x10
push eax
call ebx
lea ecx, [ebp - 0xa0]
lea edx, [ebp - 0xb0]
push ecx
push edx
mov dword [ebp - 0x98], eax
mov dword [ebp - 0xa0], 8
call esi
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0xb0]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstNe]
lea ecx, [ebp - 0x6c]
mov bx, ax
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0x80]
push edx
lea ecx, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x90]
push ecx
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x14
test bx, bx
je 0x853cfa
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
test eax, eax
fnclex
jge 0x853b81
mov ecx, dword [ebp - 0x50]
push 0x54
push 0x41b010
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
push ebx
mov edx, 8
sub esp, 0x10
mov dword [ebp - 0xe0], edx
mov ebx, esp
mov ecx, 0x41eb4c
mov dword [ebp - 0xd8], ecx
mov esi, dword [eax]
mov dword [ebx], edx
mov edx, dword [ebp - 0xdc]
push eax
mov edi, eax
mov dword [ebx + 4], edx
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [ebx + 0xc], ecx
call dword [esi + 0x28]
test eax, eax
fnclex
jge 0x853bd7
push 0x28
push 0x41b034
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x80]
push ecx
push eax
mov edx, dword [eax]
mov esi, eax
call dword [edx + 0x34]
test eax, eax
fnclex
jge 0x853bfb
push 0x34
push 0x41b044
push esi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov ecx, 0x80020004
mov eax, 0xa
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xb8], ecx
mov esi, 8
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x108], 0x41b9ec
mov dword [ebp - 0x110], esi
call dword [sym.imp.MSVBVM60.DLL___vbaVarDup]
lea edx, [ebp - 0xd0]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
lea eax, [ebp - 0xc0]
push edx
lea ecx, [ebp - 0xb0]
push eax
push ecx
lea edx, [ebp - 0xf0]
push 0x10
lea eax, [ebp - 0x80]
push edx
lea ecx, [ebp - 0x90]
push eax
push ecx
mov dword [ebp - 0xe8], 0x41eb78
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xf8], 0x41ec04
mov dword [ebp - 0x100], esi
call edi
push eax
lea edx, [ebp - 0x100]
lea eax, [ebp - 0xa0]
push edx
push eax
call edi
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcMsgBox]
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x6c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
lea eax, [ebp - 0xd0]
lea ecx, [ebp - 0xc0]
push eax
lea edx, [ebp - 0xb0]
push ecx
lea eax, [ebp - 0xa0]
push edx
lea ecx, [ebp - 0x90]
push eax
lea edx, [ebp - 0x80]
push ecx
push edx
push 6
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x28
wait
push 0x853fdb
jmp 0x853f98
xor esi, esi
cmp dword [0x86b4f4], esi
jne 0x853d14
push 0x86b4f4
push 0x419864
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x86a404]
mov ebx, dword [0x86b4f4]
cmp eax, esi
mov dword [ebp - 0x138], ebx
jne 0x853d39
push 0x86a404
push 0x407114
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov eax, dword [0x86a404]
mov ebx, dword [ebx]
lea ecx, [ebp - 0x6c]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaObjSetAddref]
mov edx, ebx
mov ebx, dword [ebp - 0x138]
push eax
push ebx
call dword [edx + 0x10]
cmp eax, esi
fnclex
jge 0x853d6d
push 0x10
push 0x419854
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x6c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x54]
cmp eax, esi
fnclex
jge 0x853d9b
mov ecx, dword [ebp - 0x50]
push 0x54
push 0x41b010
push ecx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea ebx, [ebp - 0x70]
mov eax, dword [ebp - 0x6c]
push ebx
mov ecx, 8
sub esp, 0x10
mov dword [ebp - 0xe0], ecx
mov ebx, esp
mov dword [ebp - 0xd8], 0x41ec88
mov edx, dword [eax]
push eax
mov dword [ebx], ecx
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x13c], eax
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0xd8]
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xd4]
mov dword [ebx + 0xc], ecx
call dword [edx + 0x28]
cmp eax, esi
fnclex
jge 0x853e00
mov edx, dword [ebp - 0x13c]
push 0x28
push 0x41b034
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x80]
push edx
push eax
mov ecx, dword [eax]
mov ebx, eax
call dword [ecx + 0x34]
cmp eax, esi
fnclex
jge 0x853e24
push 0x34
push 0x41b044
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, 0x86a01c
call edi
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x6c]
push ecx
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObjList]
add esp, 0xc
lea ecx, [ebp - 0x80]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
cmp eax, esi
fnclex
jge 0x853e7a
mov edx, dword [ebp - 0x50]
push 0x80
push 0x41b010
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push 0x42985c
push eax
call ebx
mov edx, eax
lea ecx, [ebp - 0x60]
call edi
push eax
push 0x42989c
call ebx
mov edx, eax
lea ecx, [ebp - 0x64]
call edi
mov ecx, dword [ebp - 0x58]
push eax
push ecx
call ebx
mov edx, eax
lea ecx, [ebp - 0x68]
call edi
push eax
push 0x41bb7c
call ebx
mov edx, eax
mov ecx, 0x86a2f8
call edi
lea edx, [ebp - 0x68]
lea eax, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x60]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea edx, [ebp - 0x1a4]
push edx
push 0x41af68
call dword [sym.imp.MSVBVM60.DLL___vbaRecDestruct]
mov eax, dword [0x86a2f8]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1a4]
push eax
push ecx
call fcn.00830ce0
cmp word [ebp - 0x180], si
je 0x853f24
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x20], 0xffff
call edi
mov edx, dword [ebp - 0x58]
mov ecx, 0x86a014
call edi
wait
push 0x853fdb
jmp 0x853f98
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaRecDestruct]
lea edx, [ebp - 0x17c]
push edx
push 0x41af30
call esi
lea eax, [ebp - 0x1a4]
push eax
push 0x41af68
call esi
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea ecx, [ebp - 0x24]
call edi
lea ecx, [ebp - 0x54]
push ecx
push 0x41af30
call esi
lea ecx, [ebp - 0x58]
call edi
lea ecx, [ebp - 0x5c]
call edi
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
nop