Function at 0x611e00
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x409b26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x405678
mov ebx, dword [ebp + 0x10]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcTrimBstr]
mov esi, dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov edx, eax
lea ecx, [ebp - 0x38]
call esi
mov ecx, dword [ebp - 0x38]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
push ecx
push 0x45bfd0
call edi
mov edx, dword [ebp + 8]
test eax, eax
mov edx, dword [edx]
jne 0x6121cf
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x3c]
push eax
push 0x45e2a8
call edi
test eax, eax
mov eax, dword [0x69bc5c]
jne 0x612035
test eax, eax
jne 0x611eaf
push 0x69bc5c
push 0x45dd50
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x69bc5c]
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x611ed4
push 0x14
push 0x45dd40
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x611ef8
push 0x50
push 0x45dd60
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x4668b8
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [ebp + 0xc]
push eax
mov edx, dword [ecx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
push 0x46689c
call edi
mov ecx, dword [ebp + 0x14]
mov edx, eax
call esi
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 3
call dword [fcn.00401320]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x69bc5c]
test eax, eax
jne 0x611f68
push 0x69bc5c
push 0x45dd50
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x69bc5c]
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test eax, eax
fnclex
jge 0x611f8d
push 0x14
push 0x45dd40
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov edx, dword [eax]
mov ebx, eax
call dword [edx + 0x50]
test eax, eax
fnclex
jge 0x611fb1
push 0x50
push 0x45dd60
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x14]
push edx
push 0x4668b8
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ebx, dword [ebp + 0xc]
push eax
mov eax, dword [ebx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
push 0x4668d0
call edi
mov ecx, dword [ebp + 0x18]
mov edx, eax
call esi
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push edx
push eax
push 3
call dword [fcn.00401320]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov ecx, dword [ebx]
push 0x4668e0
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push eax
push 0x46692c
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, eax
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x612599
jmp 0x612581
test eax, eax
jne 0x612049
push 0x69bc5c
push 0x45dd50
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x69bc5c]
lea eax, [ebp - 0x24]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x61206e
push 0x14
push 0x45dd40
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x612092
push 0x50
push 0x45dd60
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x466950
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [ebp + 0xc]
push eax
mov edx, dword [ecx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
push 0x46689c
call edi
mov ecx, dword [ebp + 0x14]
mov edx, eax
call esi
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push eax
lea edx, [ebp - 0x14]
push ecx
push edx
push 3
call dword [fcn.00401320]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x69bc5c]
test eax, eax
jne 0x612102
push 0x69bc5c
push 0x45dd50
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x69bc5c]
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test eax, eax
fnclex
jge 0x612127
push 0x14
push 0x45dd40
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
push eax
mov edx, dword [eax]
mov ebx, eax
call dword [edx + 0x50]
test eax, eax
fnclex
jge 0x61214b
push 0x50
push 0x45dd60
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x14]
push edx
push 0x466950
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ebx, dword [ebp + 0xc]
push eax
mov eax, dword [ebx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
push 0x4668d0
call edi
mov ecx, dword [ebp + 0x18]
mov edx, eax
call esi
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x14]
push edx
push eax
push 3
call dword [fcn.00401320]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov ecx, dword [ebx]
push 0x4669a4
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push eax
push 0x46692c
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, eax
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x612599
jmp 0x612581
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x40]
push eax
push 0x45e2a8
call edi
test eax, eax
mov eax, dword [0x69bc5c]
jne 0x612386
test eax, eax
jne 0x612204
push 0x69bc5c
push 0x45dd50
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x69bc5c]
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x612229
push 0x14
push 0x45dd40
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x61224d
push 0x50
push 0x45dd60
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x4669f0
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [ebp + 0xc]
push eax
mov edx, dword [ecx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
mov eax, dword [ebx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x466a04
call edi
mov ecx, dword [ebp + 0x14]
mov edx, eax
call esi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
push 4
call dword [fcn.00401320]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x69bc5c]
test eax, eax
jne 0x6122ce
push 0x69bc5c
push 0x45dd50
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x69bc5c]
lea eax, [ebp - 0x24]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x6122f3
push 0x14
push 0x45dd40
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov ebx, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x612317
push 0x50
push 0x45dd60
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
push eax
push 0x4669f0
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ebx, dword [ebp + 0xc]
push eax
mov ecx, dword [ebx]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [edx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x466a14
call edi
mov ecx, dword [ebp + 0x18]
mov edx, eax
call esi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
push 4
call dword [fcn.00401320]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x4668e0
jmp 0x612517
test eax, eax
jne 0x61239a
push 0x69bc5c
push 0x45dd50
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x69bc5c]
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x6123bf
push 0x14
push 0x45dd40
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov edi, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x6123e3
push 0x50
push 0x45dd60
push edi
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVBVM60.DLL___vbaStrCat]
push eax
push 0x466a24
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ecx, dword [ebp + 0xc]
push eax
mov edx, dword [ecx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
push eax
mov eax, dword [ebx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x466a04
call edi
mov ecx, dword [ebp + 0x14]
mov edx, eax
call esi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
push 4
call dword [fcn.00401320]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x69bc5c]
test eax, eax
jne 0x612464
push 0x69bc5c
push 0x45dd50
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x69bc5c]
lea eax, [ebp - 0x24]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x612489
push 0x14
push 0x45dd40
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x14]
push edx
push eax
mov ecx, dword [eax]
mov ebx, eax
call dword [ecx + 0x50]
test eax, eax
fnclex
jge 0x6124ad
push 0x50
push 0x45dd60
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
push eax
push 0x466a24
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
mov ebx, dword [ebp + 0xc]
push eax
mov ecx, dword [ebx]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x1c]
call esi
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [edx]
push eax
call edi
mov edx, eax
lea ecx, [ebp - 0x20]
call esi
push eax
push 0x466a14
call edi
mov ecx, dword [ebp + 0x18]
mov edx, eax
call esi
lea ecx, [ebp - 0x20]
lea edx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
push eax
push ecx
push 4
call dword [fcn.00401320]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x4669a4
mov edx, dword [ebx]
push edx
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x18]
call esi
push eax
push 0x46692c
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, eax
call esi
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x14]
push edx
push eax
push 2
call dword [fcn.00401320]
add esp, 0xc
push 0x612599
jmp 0x612581
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x38]
push eax
push ecx
push 3
call dword [fcn.00401320]
add esp, 0x10
ret