Function at 0x41634a
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0x4037c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push 0x48
pop eax
call sub.MSVBVM50.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x401800
push 0x40838c
push dword [0x4410d0]
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x406e8c
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x14]
call sub.MSVBVM50.DLL___vbaStrMove
lea ecx, [ebp - 0x18]
call sub.MSVBVM50.DLL___vbaFreeStr
push 2
pop ecx
call sub.MSVBVM50.DLL___vbaI2I4
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4410c4
push 0x4410cc
call fcn.00412b30
push dword [0x4410a8]
push dword [0x4410d0]
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x4083cc
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x4083d8
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x14]
call sub.MSVBVM50.DLL___vbaStrMove
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
call fcn.0041111c
movsx eax, ax
test eax, eax
je 0x4164ea
cmp dword [0x4418a0], 0
jne 0x41645d
push 0x4418a0
push 0x4060ac
call sub.MSVBVM50.DLL___vbaNew2
mov dword [ebp - 0x44], 0x4418a0
jmp 0x416464
mov dword [ebp - 0x44], 0x4418a0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
push dword [ebp - 0x30]
call dword [eax + 0x14]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x41649b
push 0x14
push 0x40609c
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x48], eax
jmp 0x41649f
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push dword [ebp - 0x38]
call dword [eax + 0x134]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x4164d9
push 0x134
push 0x4060bc
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x4c], eax
jmp 0x4164dd
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaFreeObj
jmp 0x416688
push dword [0x4410d0]
call sub.MSVBVM50.DLL_rtcUpperCaseBstr
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x4063c4
call sub.MSVBVM50.DLL_rtcUpperCaseBstr
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL___vbaStrCmp
mov esi, eax
neg esi
sbb esi, esi
neg esi
neg esi
push dword [0x4410d0]
call sub.MSVBVM50.DLL_rtcUpperCaseBstr
mov edx, eax
lea ecx, [ebp - 0x20]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x408380
call sub.MSVBVM50.DLL_rtcUpperCaseBstr
mov edx, eax
lea ecx, [ebp - 0x24]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
call sub.MSVBVM50.DLL___vbaStrCmp
neg eax
sbb eax, eax
neg eax
neg eax
and si, ax
mov word [ebp - 0x30], si
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 4
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0x14
movsx eax, word [ebp - 0x30]
test eax, eax
je 0x416688
push dword [0x4410a8]
push 0x408380
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x18]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x4083cc
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x1c]
call sub.MSVBVM50.DLL___vbaStrMove
push eax
push 0x4083d8
call sub.MSVBVM50.DLL___vbaStrCat
mov edx, eax
lea ecx, [ebp - 0x14]
call sub.MSVBVM50.DLL___vbaStrMove
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
call sub.MSVBVM50.DLL___vbaFreeStrList
add esp, 0xc
cmp dword [0x4418a0], 0
jne 0x416600
push 0x4418a0
push 0x4060ac
call sub.MSVBVM50.DLL___vbaNew2
mov dword [ebp - 0x50], 0x4418a0
jmp 0x416607
mov dword [ebp - 0x50], 0x4418a0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
push dword [ebp - 0x30]
call dword [eax + 0x14]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jge 0x41663e
push 0x14
push 0x40609c
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x54], eax
jmp 0x416642
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push dword [ebp - 0x38]
call dword [eax + 0x134]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jge 0x41667c
push 0x134
push 0x4060bc
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call sub.MSVBVM50.DLL___vbaHresultCheckObj
mov dword [ebp - 0x58], eax
jmp 0x416680
and dword [ebp - 0x58], 0
lea ecx, [ebp - 0x28]
call sub.MSVBVM50.DLL___vbaFreeObj
push 0x4166bb
jmp 0x4166b2
lea ecx, [ebp - 0x14]
call sub.MSVBVM50.DLL___vbaFreeStr
ret