Function at 0x636ac0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x408f06
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], 0x406908
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 0x45a0d4
call edi
mov edx, dword [ebp + 8]
test eax, eax
mov edx, dword [edx]
jne 0x636e8f
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x3c]
push eax
push 0x45c5e4
call edi
test eax, eax
mov eax, dword [0x67fa30]
jne 0x636cf5
test eax, eax
jne 0x636b6f
push 0x67fa30
push 0x45c064
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x67fa30]
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x636b94
push 0x14
push 0x45c054
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 0x636bb8
push 0x50
push 0x45c074
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 0x465fbc
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 0x465fa0
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 [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x67fa30]
test eax, eax
jne 0x636c28
push 0x67fa30
push 0x45c064
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x67fa30]
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test eax, eax
fnclex
jge 0x636c4d
push 0x14
push 0x45c054
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 0x636c71
push 0x50
push 0x45c074
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x14]
push edx
push 0x465fbc
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 0x465fd4
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 [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov ecx, dword [ebx]
push 0x465fe4
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push eax
push 0x466030
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, eax
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x637259
jmp 0x637241
test eax, eax
jne 0x636d09
push 0x67fa30
push 0x45c064
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x67fa30]
lea eax, [ebp - 0x24]
push eax
push edi
mov edx, dword [edi]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x636d2e
push 0x14
push 0x45c054
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 0x636d52
push 0x50
push 0x45c074
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 0x466054
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 0x465fa0
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 [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x67fa30]
test eax, eax
jne 0x636dc2
push 0x67fa30
push 0x45c064
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x67fa30]
lea ecx, [ebp - 0x24]
push ecx
push ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test eax, eax
fnclex
jge 0x636de7
push 0x14
push 0x45c054
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 0x636e0b
push 0x50
push 0x45c074
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov edx, dword [ebp - 0x14]
push edx
push 0x466054
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 0x465fd4
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 [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov ecx, dword [ebx]
push 0x46606c
push ecx
call edi
mov edx, eax
lea ecx, [ebp - 0x14]
call esi
push eax
push 0x466030
call edi
mov ecx, dword [ebp + 0x1c]
mov edx, eax
call esi
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
push 0x637259
jmp 0x637241
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
mov eax, dword [ebp - 0x40]
push eax
push 0x45c5e4
call edi
test eax, eax
mov eax, dword [0x67fa30]
jne 0x637046
test eax, eax
jne 0x636ec4
push 0x67fa30
push 0x45c064
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x67fa30]
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x636ee9
push 0x14
push 0x45c054
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 0x636f0d
push 0x50
push 0x45c074
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 0x4660b8
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 0x4660cc
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 [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x67fa30]
test eax, eax
jne 0x636f8e
push 0x67fa30
push 0x45c064
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x67fa30]
lea eax, [ebp - 0x24]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x636fb3
push 0x14
push 0x45c054
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 0x636fd7
push 0x50
push 0x45c074
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
push eax
push 0x4660b8
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 0x4660dc
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 [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x465fe4
jmp 0x6371d7
test eax, eax
jne 0x63705a
push 0x67fa30
push 0x45c064
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov edi, dword [0x67fa30]
lea edx, [ebp - 0x24]
push edx
push edi
mov ecx, dword [edi]
call dword [ecx + 0x14]
test eax, eax
fnclex
jge 0x63707f
push 0x14
push 0x45c054
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 0x6370a3
push 0x50
push 0x45c074
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 0x4660ec
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 0x4660cc
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 [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
mov eax, dword [0x67fa30]
test eax, eax
jne 0x637124
push 0x67fa30
push 0x45c064
call dword [sym.imp.MSVBVM60.DLL___vbaNew2]
mov ebx, dword [0x67fa30]
lea eax, [ebp - 0x24]
push eax
push ebx
mov edx, dword [ebx]
call dword [edx + 0x14]
test eax, eax
fnclex
jge 0x637149
push 0x14
push 0x45c054
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 0x63716d
push 0x50
push 0x45c074
push ebx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaHresultCheckObj]
mov eax, dword [ebp - 0x14]
push eax
push 0x4660ec
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 0x4660dc
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 [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeObj]
push 0x46606c
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 0x466030
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 [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0xc
push 0x637259
jmp 0x637241
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x38]
push eax
push ecx
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x10
ret